Ticket #517 (closed defect: fixed)

Opened 9 years ago

Last modified 8 years ago

TypeChanger only supports planar Imgs

Reported by: bdezonia Owned by: bdezonia
Priority: major Milestone: biweekly-2011: Jun-06 to Jun-17
Component: Core Version:
Severity: serious Keywords:
Cc: Blocked By:


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 9 years ago by bdezonia

  • Status changed from new to closed
  • Resolution set to invalid

After investigation I see that TypeCHanger supports user specified factories also.

comment:2 Changed 9 years ago 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 8 years ago by bdezonia

  • Status changed from reopened to closed
  • Resolution set to fixed

fixed in 83b5add3a71e46f916af582e05bb94ae7b61f535

Note: See TracTickets for help on using tickets.