NAME

Pixel_extra - Union for Pixel type that enables Invalid_pixel and alpha.

SYNOPSIS

#include "i/i_float.h"

Example compile flags (system dependent):
  -DLINUX_X86_64 -DLINUX_X86_64_OPTERON  -DGNU_COMPILER 
   -I/home/kobus/include
   -L/home/kobus/misc/load/linux_x86_64_opteron -L/usr/lib/x86_64-linux-gnu
  -lKJB                               -lfftw3  -lgsl -lgslcblas -ljpeg  -lSVM -lstdc++                    -lpthread -lSLATEC -lg2c    -lacml -lacml_mv -lblas -lg2c      -lncursesw 


typedef_union Pixel_extra
(
	Invalid_pixel invalid,
	float alpha
);

DESCRIPTION

This union is part of the definition of Pixel. For compatability and reduced development effort, we want to keep the original disk layout of 16 bytes, so we have to choose between making use of Invalid_pixel or the alpha channel, hence a union.

DISCLAIMER

This software is not adequatedly tested. It is recomended that results are checked independantly where appropriate.

AUTHOR

Kobus Barnard

DOCUMENTER

Kobus Barnard

SEE ALSO

Invalid_pixel , Pixel , Pixel_info , KJB_image , verify_image