libimage  0.25.4
 All Classes Namespaces Files Functions Variables Enumerations Macros Pages
Public Member Functions | List of all members
LibopenjpegImageFactory Class Reference

#include <LibopenjpegImage.h>

Collaboration diagram for LibopenjpegImageFactory:
Collaboration graph

Public Member Functions

LibopenjpegImagecreateLibopenjpegImageToRead (char *filename, BoundingBox< double > bbox, double resx, double resy)
 Create an LibopenjpegImage object, for reading.

Detailed Description

Institut national de l'information géographique et forestière

Member Function Documentation

LibopenjpegImage * LibopenjpegImageFactory::createLibopenjpegImageToRead ( char *  filename,
BoundingBox< double >  bbox,
double  resx,
double  resy 

Create an LibopenjpegImage object, for reading.

Bbox and resolutions are not present in the JPEG2000 file, so we precise them. All other informations are extracted from JPEG2000 header. We have to check consistency between provided bbox and resolutions and read image's dimensions.

Negative resolutions leads to georeferencement calculation. Both resolutions will be equals to 1 and the bounding box will be (0,0,width,height).

[in]filenamepath to image file
[in]bboxbounding box
[in]resxX wise resolution.
[in]resyY wise resolution.
a LibopenjpegImage object pointer, NULL if error

Here is the call graph for this function:

Here is the caller graph for this function:

The documentation for this class was generated from the following files: