Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Aris_Basic
New Contributor I
38 Views

Encoding Signed pixel images JPEG2000 UIC

Is there any reason why uic jpeg2000 encoder doesnt support signed images ?
0 Kudos
2 Replies
Aris_Basic
New Contributor I
38 Views

what i mean with it is :)
if(dataRange.IsSigned())
returnExcStatusFail;

in AttachImage() of OwnJ2KEncoder (uic_jp2_end.cpp)

also in jpeg2k.cpp it is ignored if image.Format() == IF_SIGNED  and i guess IF_UNSIGNED is assumed.
Jeffrey_M_Intel1
Employee
38 Views

In general, UIC covers more of the image codec specs with decode than with encode. This check implies that encoding with signedpixel data is a known limitation that is not fully implemented. UIC's jpeg2000 encode is minimalist in other ways too, such as thatoutput imagesare limited to a single tile. As a sample, it is intended to be a starting point for your development and not a product-ready jpeg2000 implementation. At this point we have not scoped out how much effort it would take to add this capability.

I couldfile thisasa feature request if you like. It would be helpful to knowa bit more abouthow you're hoping to use UIC,and specifically why you need signed encode support.

Best regards,

Jeff
Reply