Ticket #517 (closed defect: fixed)
Opened 2011-05-17T11:48:49-05:00
Last modified 2011-06-13T13:28:28-05:00
TypeChanger only supports planar Imgs
Reported by: | bdezonia | Owned by: | bdezonia |
---|---|---|---|
Priority: | major | Milestone: |
|
Component: | Core | Version: | |
Severity: | serious | Keywords: | |
Cc: | Blocked By: | ||
Blocking: |
Description
Looking at TypeChanger it is apparent that it creates a new Img of planar type. So choosing a type change via selecting a menu entry in the Image :: Type menu would set a Dataset's imgPlus to a new planar Img. This will probably not be what users want when they are working with nonplanar Datasets. Need to hatch new imgPlus from existing imgPlus' factory.
Change History
comment:1 Changed 2011-05-17T12:41:02-05:00 by bdezonia
- Status changed from new to closed
- Resolution set to invalid
comment:2 Changed 2011-05-17T12:45:47-05:00 by bdezonia
- Status changed from closed to reopened
- Resolution invalid deleted
Actually this is the case as it is written for changeType(). Make changeType() use the existing ImgFactory if possible. (If the type is changing is the ImgFactory too strongly typed to reuse?)
comment:3 Changed 2011-06-13T13:28:28-05:00 by bdezonia
- Status changed from reopened to closed
- Resolution set to fixed
fixed in 83b5add3a71e46f916af582e05bb94ae7b61f535
After investigation I see that TypeCHanger supports user specified factories also.