


Create a pixel data structure
[PIXEL,ISA] = pixelCreate(pixelType,[attachFlag],[ISA])
The PIXEL structure describes all of the pixel parameters. The pixel
is normally attached to the current ISA (ISA.pixel). If attachFlag = 0
(false), the PIXEL is returned, but it is not attached to the ISA
structure.
We initialize the values for simplicity and ask the user to set the
values from data within their own environment. The photodetector is
initialized to a spectral QE of 1 at all wavelengths. The RGB color
filters are set to the human cone absorption functions.
At present, we create a {'default','aps'} pixel, or a {'humancone'}
pixel.
If the attachFlag is set true (1), then the pixel is attached to the
ISA structure, and that structure is in turn inserted into the
vcSESSION structure.
Examples
PIXEL = pixelCreate('aps')
Copyright ImagEval Consultants, LLC, 2003.