cmlibs / zinc

Source code repository for OpenCMISS-Zinc
Mozilla Public License 2.0
15 stars 18 forks source link

Segmented data image types #285

Open mathiasroesler opened 2 months ago

mathiasroesler commented 2 months ago

I have been using the mapping tools to create segmented data from my masked images and fitting the data to an organ scaffold. However, my masks created with png images do not work but my masks created with jpg images do. It would be great if png images worked the same as jpg images.

hsorby commented 1 week ago

It appears that this problem is due to the PNGs having either 1, 2, 4, 8, or 16 pixel depths. Whereas the Zinc library currently only deals with 8 or 16 pixel depth images.