[ VIGRA Homepage |
Function Index |
Class Index |
Namespaces |
File List |
Main Page ]
imageinfo.hxx
|
 |
48 #ifndef VIGRA_IMAGEINFO_HXX
49 #define VIGRA_IMAGEINFO_HXX
57 #include "array_vector.hxx"
58 #include "multi_iterator.hxx"
117 VIGRA_EXPORT
bool isImage(
char const * filename);
164 VIGRA_EXPORT
const char * getFileName()
const;
222 VIGRA_EXPORT
const char * getFileType()
const;
263 VIGRA_EXPORT
const char * getCompression()
const;
302 VIGRA_EXPORT
ImageExportInfo & setForcedRangeMapping(
double fromMin,
double fromMax,
303 double toMin,
double toMax);
304 VIGRA_EXPORT
bool hasForcedRangeMapping()
const;
305 VIGRA_EXPORT
double getFromMin()
const;
306 VIGRA_EXPORT
double getFromMax()
const;
307 VIGRA_EXPORT
double getToMin()
const;
308 VIGRA_EXPORT
double getToMax()
const;
313 VIGRA_EXPORT
float getXResolution()
const;
318 VIGRA_EXPORT
float getYResolution()
const;
365 std::string m_filename, m_filetype, m_pixeltype, m_comp, m_mode;
366 float m_x_res, m_y_res;
370 double fromMin_, fromMax_, toMin_, toMax_;
374 VIGRA_EXPORT VIGRA_UNIQUE_PTR<Encoder> encoder(
const ImageExportInfo & info );
393 enum PixelType { UINT8, INT16, UINT16, INT32, UINT32, FLOAT, DOUBLE };
427 VIGRA_EXPORT
const char * getFileName()
const;
552 std::string m_filename, m_filetype, m_pixeltype;
553 int m_width, m_height, m_num_bands, m_num_extra_bands, m_num_images, m_image_index;
554 float m_x_res, m_y_res;
563 VIGRA_EXPORT VIGRA_UNIQUE_PTR<Decoder> decoder(
const ImageImportInfo & info );
569 #endif // VIGRA_IMAGEINFO_HXX
Two dimensional difference vector.
Definition: diff2d.hxx:186
const char * getPixelType() const
std::string impexListExtensions()
List the file extension VIGRA understands.
int numExtraBands() const
ImageImportInfo(const char *filename, unsigned int page=0)
std::string impexListFormats()
List the image formats VIGRA can read and write.
ImageExportInfo & setFileName(const char *filename)
const char * getPixelType() const
float getYResolution() const
bool isImage(char const *filename)
Test whether a file is an image format known to VIGRA.
float getXResolution() const
ArrayVector< unsigned char > ICCProfile
Definition: imageinfo.hxx:542
ImageExportInfo & setYResolution(float)
Two dimensional size object.
Definition: diff2d.hxx:483
ImageExportInfo & setPixelType(const char *)
const ICCProfile & getICCProfile() const
Size2D getCanvasSize() const
ImageExportInfo & setCompression(const char *type)
int getImageIndex() const
ImageExportInfo & setICCProfile(const ICCProfile &profile)
const char * getMode() const
MultiArrayShape< 2 >::type shape() const
Argument object for the function importImage().
Definition: imageinfo.hxx:391
Argument object for the function exportImage().
Definition: imageinfo.hxx:134
ImageExportInfo & setCanvasSize(const Size2D &size)
Diff2D getPosition() const
PixelType pixelType() const
ArrayVector< unsigned char > ICCProfile
Definition: imageinfo.hxx:352
ImageExportInfo & setFileType(const char *)
Diff2D getPosition() const
Definition: multi_shape.hxx:267
ImageExportInfo(const char *filename, const char *mode="w")
const ICCProfile & getICCProfile() const
Size2D getCanvasSize() const
ImageExportInfo & setXResolution(float)
void setImageIndex(const int)
const char * getFileType() const
ImageExportInfo & setPosition(const Diff2D &pos)