i3dlib

Documentation

i3d::ImageFileHeader Struct Reference
[Image input/output methods]

#include <imgfiles.h>

List of all members.


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 description

Compression types for diferrent image files formats. It depends on the image format:


Member Data Documentation

file name

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: