Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.

JPEG lossless DeCoding problem

senmeganath
Beginner
402 Views
Hello,

I'm currently running into problems while decoding some 16/12 bit jpg lossless grayscale pictures to bmp using code from the UIC example

My code is working for fine for all 8 bit images. but its failing for 12/16 bit JPEG lossless images.

Picture information:
witdh = 990
height = 24950
bits per pixel = 16 bit
number of planes = 1

Do you have any idea what is happening here? I think that every value should be valid as source pixel when decoding JPEG lossless.

I've attached the Compressed & decompressed imageData. please do the needful.

Thanks
Senthil.
0 Kudos
5 Replies
Chao_Y_Intel
Moderator
402 Views

Hi Senthil,

Have you tried uic_transcoder_con application in the UIC sample?This sample application may provide you some example on using the UIC.

Thanks,
Chao


0 Kudos
senmeganath
Beginner
402 Views
Quoting - Chao Yu (Intel)

Hi Senthil,

Have you tried uic_transcoder_con application in the UIC sample?This sample application may provide you some example on using the UIC.

Thanks,
Chao



Hi Chao Yu,

Yes, I am using uic_transcoder_con application sample code. but its working fine for 8 precision images but its failing 12/16 precision images.

0 Kudos
senmeganath
Beginner
402 Views
Quoting - senmeganath

Hi Chao Yu,

Yes, I am using uic_transcoder_con application sample code. but its working fine for 8 precision images but its failing 12/16 precision images.


Hi Chao Yu,

Either i reduced bits from 16/12 to 8, and then will use JPEGDecoder. or any other way to Decode. please guide me.
0 Kudos
senmeganath
Beginner
402 Views
Quoting - senmeganath

Hi Chao Yu,

Either i reduced bits from 16/12 to 8, and then will use JPEGDecoder. or any other way to Decode. please guide me.

Hi Chao Yu,

My problem getting solved using the "reducedBits" method.

once decode a 16/12 bit image, we need to reduce the bits to 8. thanks for ur help.
0 Kudos
Chao_Y_Intel
Moderator
402 Views

thanks for sharing in forum, senmeganath.
0 Kudos
Reply