Mir 1.0
Mir application programming interface
mirkl_image_t_ Struct Reference

#include <mirkl_image.h>

Data Fields

mirkl_uint8_t ** data8_gray
 
mirkl_uint16_t ** data16_gray
 
int type
 
int length
 
int width
 
int samples_per_pixel
 
int bits_per_sample [4]
 
int photo_intrp
 
double x_resolution
 
double y_resolution
 
char * software_str
 
int tiff_compression
 
int tiff_planar_config
 
mirkl_uint32_t * tiff_strip_offsets
 
int tiff_strip_offsets_num
 
mirkl_uint32_t * tiff_strip_byte_counts
 
int tiff_strip_byte_counts_num
 
int tiff_resolution_unit
 

Detailed Description

Image structure.

Field Documentation

◆ bits_per_sample

int mirkl_image_t_::bits_per_sample[4]

bits per sample 8,16,...

◆ data16_gray

mirkl_uint16_t** mirkl_image_t_::data16_gray

Grayscale data for 16bit images.

◆ data8_gray

mirkl_uint8_t** mirkl_image_t_::data8_gray

Grayscale data for 8bit images.

◆ length

int mirkl_image_t_::length

Length in pixels

◆ photo_intrp

int mirkl_image_t_::photo_intrp

Photometric interpretation: 0 – WhiteIsZero, 1 – BlackIsZero

◆ samples_per_pixel

int mirkl_image_t_::samples_per_pixel

1 for Grayscale, 3 for RGB, 4 for RGBA, etc...

◆ software_str

char* mirkl_image_t_::software_str

Software used for creation of tiff file.

◆ tiff_compression

int mirkl_image_t_::tiff_compression

Compression flag for TIFF images, see below.

◆ tiff_planar_config

int mirkl_image_t_::tiff_planar_config

Planar configuration.

◆ type

int mirkl_image_t_::type

Image type MIRKL_IMG_...

◆ width

int mirkl_image_t_::width

Width in pixels

◆ x_resolution

double mirkl_image_t_::x_resolution

X-resolution in DPI

◆ y_resolution

double mirkl_image_t_::y_resolution

Y-resolution in DPI


The documentation for this struct was generated from the following file: