i3d::ImageFileHeader Struct Reference
[Image input/output methods]
#include <imgfiles.h>
Public Member Functions | |
ImageFileHeader (const char *s="", Vector3d< size_t > sz=Vector3d< size_t >(0, 0, 1), ImgVoxelType it=UnknownVoxel, bool comp=true, bool top=true, bool left=true) | |
constructor | |
Public Attributes | |
string | name |
Vector3d< size_t > | size |
ImgVoxelType | itype |
bool | compression |
bool | zero_at_the_top |
int | bpp |
bool | color_inversion |
Offset | offset |
Vector3d< float > * | resolution |
Detailed Description
General image file header structure descriptionCompression types for diferrent image files formats. It depends on the image format:
- Targa ... RLE
- JPG ... JPEG
- TIFF (8bpp, 24bpp) ... LZW
- TIFF (1bpp) ... CCITT Group 4
- MetaIO ... raw data - no compression
- ICS ... gzziped raw data
Member Data Documentation
string i3d::ImageFileHeader::name |
file name
Vector3d<size_t> i3d::ImageFileHeader::size |
size of the image
type of voxel (Gray8, Binary, RGB, ...)
compression scheme of image data
orientation of the image
bits per pixel (1b, 8b, 16b, 24b, 48b)
BLACK may be '0' or '1'. Default is '0'. color_inversion == false <=> BLACK is '0'
Image offset - in microns
Image resolution
The documentation for this struct was generated from the following file:
- imgfiles.h