Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.
Announcements
The Intel sign-in experience has changed to support enhanced security controls. If you sign in, click here for more information.
6670 Discussions

Encoding Signed pixel images JPEG2000 UIC

Aris_Basic
New Contributor I
136 Views
Is there any reason why uic jpeg2000 encoder doesnt support signed images ?
0 Kudos
2 Replies
Aris_Basic
New Contributor I
136 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
136 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