2022-05-13 20:21:13 +02:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2015-07-10 18:06:19 +02:00
< html xmlns = "http://www.w3.org/1999/xhtml" >
< head >
< meta http-equiv = "Content-Type" content = "text/xhtml;charset=UTF-8" / >
< meta http-equiv = "X-UA-Compatible" content = "IE=9" / >
2022-05-13 20:21:13 +02:00
< meta name = "generator" content = "Doxygen 1.8.17" / >
< meta name = "viewport" content = "width=device-width, initial-scale=1" / >
2015-07-10 18:06:19 +02:00
< title > OpenJPEG: image.h File Reference< / title >
< link href = "tabs.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "jquery.js" > < / script >
< script type = "text/javascript" src = "dynsections.js" > < / script >
< link href = "doxygen.css" rel = "stylesheet" type = "text/css" / >
< / head >
< body >
< div id = "top" > <!-- do not remove this div, it is closed by doxygen! -->
< div id = "titlearea" >
< table cellspacing = "0" cellpadding = "0" >
< tbody >
< tr style = "height: 56px;" >
2016-09-29 22:38:29 +02:00
< td id = "projectalign" style = "padding-left: 0.5em;" >
2015-07-10 18:06:19 +02:00
< div id = "projectname" > OpenJPEG
2022-05-13 20:21:13 +02:00
  < span id = "projectnumber" > 2.5.0< / span >
2015-07-10 18:06:19 +02:00
< / div >
< / td >
< / tr >
< / tbody >
< / table >
< / div >
<!-- end header part -->
2022-05-13 20:21:13 +02:00
<!-- Generated by Doxygen 1.8.17 -->
< script type = "text/javascript" src = "menudata.js" > < / script >
< script type = "text/javascript" src = "menu.js" > < / script >
< script type = "text/javascript" >
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3& dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',false,false,'search.php','Search');
});
/* @license-end */< / script >
< div id = "main-nav" > < / div >
2015-07-10 18:06:19 +02:00
< div id = "nav-path" class = "navpath" >
< ul >
2020-12-28 22:12:25 +01:00
< li class = "navelem" > < a class = "el" href = "dir_43e0a1f539e00dcfa1a6bc4d4fee4fc2.html" > home< / a > < / li > < li class = "navelem" > < a class = "el" href = "dir_cb9b2b419d92b64f7cee83d8faf7a4ab.html" > even< / a > < / li > < li class = "navelem" > < a class = "el" href = "dir_f75d9a0165d6564a1e04793ef847d41d.html" > openjpeg< / a > < / li > < li class = "navelem" > < a class = "el" href = "dir_5f588d7ea139c1aae751d03c13a16064.html" > openjpeg< / a > < / li > < li class = "navelem" > < a class = "el" href = "dir_378f732e812ef6cbaaae22e96a4fa79f.html" > src< / a > < / li > < li class = "navelem" > < a class = "el" href = "dir_19dcb5713315405a27e1bde75a489a4c.html" > lib< / a > < / li > < li class = "navelem" > < a class = "el" href = "dir_54e5bc4f0640fea590afaf04f4d9c88d.html" > openjp2< / a > < / li > < / ul >
2015-07-10 18:06:19 +02:00
< / div >
< / div > <!-- top -->
< div class = "header" >
< div class = "summary" >
< a href = "#func-members" > Functions< / a > < / div >
< div class = "headertitle" >
< div class = "title" > image.h File Reference< / div > < / div >
< / div > <!-- header -->
< div class = "contents" >
< p > Implementation of operations on images (IMAGE)
< a href = "#details" > More...< / a > < / p >
< p > < a href = "image_8h_source.html" > Go to the source code of this file.< / a > < / p >
< table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "func-members" > < / a >
Functions< / h2 > < / td > < / tr >
2022-05-13 20:21:13 +02:00
< tr class = "memitem:a83035109ca4e81f9d90451adf6d975b4" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "openjpeg_8h.html#a938748004a587b25d8a5b8d3b344bad4" > opj_image_t< / a > *  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "image_8h.html#a83035109ca4e81f9d90451adf6d975b4" > opj_image_create0< / a > (void)< / td > < / tr >
< tr class = "memdesc:a83035109ca4e81f9d90451adf6d975b4" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Create an empty image. < a href = "image_8h.html#a83035109ca4e81f9d90451adf6d975b4" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a83035109ca4e81f9d90451adf6d975b4" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:aa7b8e2985cd630021497528669063b7c" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "image_8h.html#aa7b8e2985cd630021497528669063b7c" > opj_image_comp_header_update< / a > (< a class = "el" href = "openjpeg_8h.html#a938748004a587b25d8a5b8d3b344bad4" > opj_image_t< / a > *p_image, const struct < a class = "el" href = "structopj__cp.html" > opj_cp< / a > *p_cp)< / td > < / tr >
< tr class = "memdesc:aa7b8e2985cd630021497528669063b7c" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Updates the components characteristics of the image from the coding parameters. < a href = "image_8h.html#aa7b8e2985cd630021497528669063b7c" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:aa7b8e2985cd630021497528669063b7c" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a3802de36855e5331f4d6c04bc1b732a3" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "image_8h.html#a3802de36855e5331f4d6c04bc1b732a3" > opj_copy_image_header< / a > (const < a class = "el" href = "openjpeg_8h.html#a938748004a587b25d8a5b8d3b344bad4" > opj_image_t< / a > *p_image_src, < a class = "el" href = "openjpeg_8h.html#a938748004a587b25d8a5b8d3b344bad4" > opj_image_t< / a > *p_image_dest)< / td > < / tr >
< tr class = "memdesc:a3802de36855e5331f4d6c04bc1b732a3" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Copy only header of image and its component header (no data are copied) if dest image have data, they will be freed. < a href = "image_8h.html#a3802de36855e5331f4d6c04bc1b732a3" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a3802de36855e5331f4d6c04bc1b732a3" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2015-07-10 18:06:19 +02:00
< / table >
< a name = "details" id = "details" > < / a > < h2 class = "groupheader" > Detailed Description< / h2 >
< div class = "textblock" > < p > Implementation of operations on images (IMAGE) < / p >
2022-05-13 20:21:13 +02:00
< p > The functions in < a class = "el" href = "image_8c.html" > IMAGE.C< / a > have for goal to realize operations on images. < / p >
< / div > < h2 class = "groupheader" > Function Documentation< / h2 >
< a id = "a3802de36855e5331f4d6c04bc1b732a3" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a3802de36855e5331f4d6c04bc1b732a3" > ◆ < / a > < / span > opj_copy_image_header()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void opj_copy_image_header < / td >
< td > (< / td >
< td class = "paramtype" > const < a class = "el" href = "openjpeg_8h.html#a938748004a587b25d8a5b8d3b344bad4" > opj_image_t< / a > *  < / td >
< td class = "paramname" > < em > p_image_src< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > < a class = "el" href = "openjpeg_8h.html#a938748004a587b25d8a5b8d3b344bad4" > opj_image_t< / a > *  < / td >
< td class = "paramname" > < em > p_image_dest< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Copy only header of image and its component header (no data are copied) if dest image have data, they will be freed. < / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > p_image_src< / td > < td > the src image < / td > < / tr >
< tr > < td class = "paramname" > p_image_dest< / td > < td > the dest image < / td > < / tr >
< / table >
< / dd >
< / dl >
< p class = "reference" > References < a class = "el" href = "structopj__image.html#a0a905c725270c4a7085fbe1edea994c2" > opj_image::color_space< / a > , < a class = "el" href = "structopj__image.html#a6b52b100c934697a29446af5c3e0fa00" > opj_image::comps< / a > , < a class = "el" href = "structopj__image__comp.html#ad676bf364b0c8fc889e97cc684ce95d0" > opj_image_comp::data< / a > , < a class = "el" href = "structopj__image.html#a1b62a25bd7603c6747aa3edd036401c1" > opj_image::icc_profile_buf< / a > , < a class = "el" href = "structopj__image.html#a0412d0a6696e7b6ace224c5111cf6be2" > opj_image::icc_profile_len< / a > , < a class = "el" href = "structopj__image.html#ac63093741ed0c70b9c0a8ee3070cbce6" > opj_image::numcomps< / a > , < a class = "el" href = "opj__malloc_8c.html#a9d7d909f8dc1a2c23313c48645341e81" > opj_free()< / a > , < a class = "el" href = "openjpeg_8c.html#a53a2908ba063e90755b9449001194f88" > opj_image_data_free()< / a > , < a class = "el" href = "opj__malloc_8c.html#a49c70931cbed786f6eef5f095bcb2917" > opj_malloc()< / a > , < a class = "el" href = "structopj__image.html#a0d01041cfbba0d40ab38836a35544e09" > opj_image::x0< / a > , < a class = "el" href = "structopj__image.html#a7a27deb6bf174dd57ee473d1d514f8ef" > opj_image::x1< / a > , < a class = "el" href = "structopj__image.html#a9813bacf1939346629c07262c61c8e74" > opj_image::y0< / a > , and < a class = "el" href = "structopj__image.html#a80fd916819080f959a601b0089c4c69a" > opj_image::y1< / a > .< / p >
< p class = "reference" > Referenced by < a class = "el" href = "j2k_8h.html#a09f2c6c83d8066e1db9ab66fed58d9c8" > opj_j2k_decode()< / a > , < a class = "el" href = "j2k_8h.html#a60371d3609364bf033e8c244599abf6f" > opj_j2k_get_tile()< / a > , < a class = "el" href = "j2k_8h.html#a34c49b256edcdbf036492dfa635284d7" > opj_j2k_read_header()< / a > , and < a class = "el" href = "j2k_8h.html#accea6429e4f466250b095ee3fb94805c" > opj_j2k_start_compress()< / a > .< / p >
< / div >
< / div >
< a id = "aa7b8e2985cd630021497528669063b7c" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#aa7b8e2985cd630021497528669063b7c" > ◆ < / a > < / span > opj_image_comp_header_update()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void opj_image_comp_header_update < / td >
< td > (< / td >
< td class = "paramtype" > < a class = "el" href = "openjpeg_8h.html#a938748004a587b25d8a5b8d3b344bad4" > opj_image_t< / a > *  < / td >
< td class = "paramname" > < em > p_image_header< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > const struct < a class = "el" href = "structopj__cp.html" > opj_cp< / a > *  < / td >
< td class = "paramname" > < em > p_cp< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Updates the components characteristics of the image from the coding parameters. < / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > p_image_header< / td > < td > the image header to update. < / td > < / tr >
< tr > < td class = "paramname" > p_cp< / td > < td > the coding parameters from which to update the image. < / td > < / tr >
< / table >
< / dd >
< / dl >
< p class = "reference" > References < a class = "el" href = "structopj__image.html#a6b52b100c934697a29446af5c3e0fa00" > opj_image::comps< / a > , < a class = "el" href = "structopj__image__comp.html#a0805d2f69bb770ff022c164aeda22685" > opj_image_comp::dx< / a > , < a class = "el" href = "structopj__image__comp.html#af9d6fd62a2b8bdd9fd162ce403eb0f10" > opj_image_comp::dy< / a > , < a class = "el" href = "structopj__image__comp.html#ab0353b06d4f8e707fc0fb85237537e82" > opj_image_comp::factor< / a > , < a class = "el" href = "structopj__image__comp.html#a11ecb361a0c49b482c90573a868cc8dc" > opj_image_comp::h< / a > , < a class = "el" href = "structopj__image.html#ac63093741ed0c70b9c0a8ee3070cbce6" > opj_image::numcomps< / a > , < a class = "el" href = "opj__intmath_8h.html#ab9aad885f5c9bc9e39420003b2b32fe5" > opj_uint_adds()< / a > , < a class = "el" href = "opj__intmath_8h.html#ae4b2e5a7c8b8f09faacc4a895f866ea1" > opj_uint_ceildiv()< / a > , < a class = "el" href = "opj__intmath_8h.html#ae592eb75f221decddec51834b6c4177d" > opj_uint_ceildivpow2()< / a > , < a class = "el" href = "opj__intmath_8h.html#a2c3eb35fddab83fef25256485b926fc0" > opj_uint_max()< / a > , < a class = "el" href = "opj__intmath_8h.html#a06c1c4470f9765a3ed04963b0daa111a" > opj_uint_min()< / a > , < a class = "el" href = "structopj__cp.html#aae555943d0b5aeb0c6b9a5d1e25f448b" > opj_cp::tdx< / a > , < a class = "el" href = "structopj__cp.html#a0fd9a036bf63787fe10a26f9d51a9da2" > opj_cp::tdy< / a > , < a class = "el" href = "structopj__cp.html#a30a7cf50ba11fe5524888d3b38bd4a09" > opj_cp::th< / a > , < a class = "el" href = "structopj__cp.html#abacc172096044123cfa0a7b027cd457f" > opj_cp::tw< / a > , < a class = "el" href = "structopj__cp.html#aeed9ee798ec24aaa27baa3088b3b3f14" > opj_cp::tx0< / a > , < a class = "el" href = "structopj__cp.html#a59415df77f13078e76678123415f403e" > opj_cp::ty0< / a > , < a class = "el" href = "structopj__image__comp.html#a59225121158d5bc911838e5b05779cdb" > opj_image_comp::w< / a > , < a class = "el" href = "structopj__image__comp.html#a1f897a8932374ca64cd4d7a256008ea3" > opj_image_comp::x0< / a > , < a class = "el" href = "structopj__image.html#a0d01041cfbba0d40ab38836a35544e09" > opj_image::x0< / a > , < a class = "el" href = "structopj__image.html#a7a27deb6bf174dd57ee473d1d514f8ef" > opj_image::x1< / a > , < a class = "el" href = "structopj__image__comp.html#aa8dff1eb1f11e9f21b0ddefe14ad3fc6" > opj_image_comp::y0< / a > , < a class = "el" href = "structopj__image.html#a9813bacf1939346629c07262c61c8e74" > opj_image::y0< / a > , and < a class = "el" href = "structopj__image.html#a80fd916819080f959a601b0089c4c69a" > opj_image::y1< / a > .< / p >
< p class = "reference" > Referenced by < a class = "el" href = "j2k_8c.html#aa91c21b73fc17028a77ba44d3987f17a" > opj_j2k_read_siz()< / a > .< / p >
< / div >
< / div >
< a id = "a83035109ca4e81f9d90451adf6d975b4" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a83035109ca4e81f9d90451adf6d975b4" > ◆ < / a > < / span > opj_image_create0()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > < a class = "el" href = "openjpeg_8h.html#a938748004a587b25d8a5b8d3b344bad4" > opj_image_t< / a > * opj_image_create0 < / td >
< td > (< / td >
< td class = "paramtype" > void  < / td >
< td class = "paramname" > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Create an empty image. < / p >
< dl class = "section return" > < dt > Returns< / dt > < dd > returns an empty image if successful, returns NULL otherwise < / dd > < / dl >
< p class = "reference" > References < a class = "el" href = "opj__malloc_8c.html#a3fe08bb7876e393dd04332d049a4d53e" > opj_calloc()< / a > .< / p >
< p class = "reference" > Referenced by < a class = "el" href = "j2k_8h.html#a09f2c6c83d8066e1db9ab66fed58d9c8" > opj_j2k_decode()< / a > , < a class = "el" href = "j2k_8h.html#a60371d3609364bf033e8c244599abf6f" > opj_j2k_get_tile()< / a > , < a class = "el" href = "j2k_8h.html#a34c49b256edcdbf036492dfa635284d7" > opj_j2k_read_header()< / a > , and < a class = "el" href = "j2k_8h.html#accea6429e4f466250b095ee3fb94805c" > opj_j2k_start_compress()< / a > .< / p >
< / div >
< / div >
< / div > <!-- contents -->
2015-07-10 18:06:19 +02:00
<!-- start footer part -->
< hr class = "footer" / > < address class = "footer" > < small >
Generated by   < a href = "http://www.doxygen.org/index.html" >
< img class = "footer" src = "doxygen.png" alt = "doxygen" / >
2022-05-13 20:21:13 +02:00
< / a > 1.8.17
2015-07-10 18:06:19 +02:00
< / small > < / address >
< / body >
< / html >