| synopsis || prev || next |

jpx_layer_source::get_layer_size

Java: Jpx_layer_source::Get_layer_size

kdu_coords get_layer_size( )

Java: Kdu_coords Get_layer_size( )

[Declared in "../apps/compressed_io/jpx.h"]

Go to class description.


Synopsis

Returns the dimensions of this compositing layer, as they appear on its registration grid. In the absence of any codestream registration (creg) box, there is only one code-stream in each compositing layer and the dimensions of the layer are those of the image region occupied by that code-stream on its high resolution canvas. Where a codestream registration box exists, there may be multiple code-streams, each of which has its high resolution grid adjusted by the sampling factors and offsets returned via get_codestream_registration. In this case, the layer size is determined to be the intersection of the resampled regions associated with each codestream, rounded outwards to a whole number of resampled pixels, as described by the JPX standard (accounting for corrigenda).


| top || synopsis || prev || next |