Display resolution

14 views
Skip to first unread message

Raquib

unread,
May 29, 2012, 5:11:30 AM5/29/12
to OpenJPEG, ma...@quark.com
Hi All,

I am using openJPEG for decoding .JP2 images. I was looking for the
image resolution but did not able to locate the same.

There is some thing in the structure "opj_image_comp_t"
/** number of decoded resolution */
int resno_decoded;

What is the meaning of this value?
and some related information from the structure "opj_tile_info_t"
/** precinct number for each resolution level (width) */
int pw[33];
/** precinct number for each resolution level (height) */
int ph[33];
/** precinct size (in power of 2), in X for each resolution level */
int pdx[33];
/** precinct size (in power of 2), in Y for each resolution level int
r[33];


I need help. Please help me to calculate the resolution of the image.

Thanks & Regards
M
Reply all
Reply to author
Forward
0 new messages