_BlindUnmixing, _ChangeChannelColor, _ChangeChannelDescription, _ChannelProperties, _CustomChannelProperties, _ManageStoredSpectra, _MergeImagePlanes, _ReorderChannels, _UnMix, _UnMixND, BlindUnmixing, ChangeChannelColor, ChangeChannelDescription, ExtractComponents, ExtractSelectedComponents, ExtractSelectedComponentsAsFloat, GetChannelName, GetChannelPropertiesEx, GetViewComponents, KeepSelectedChannels, MergeImagePlanes, PasteIntoChannel, PasteIntoSelectedChannel, ProcessBlue, ProcessGreen, ProcessRed, ProcessRGB, ProcessViewComponent, RemoveChannel, ReorderChannels, SetChannelProperties, SetChannelPropertiesEx, SetSelectedChannelsAsCustom, SpectralImageRepresentation, ToggleChannelInColor, ToggleSpectralImageRepresentation, UnMix, UnMixND, VAASImageRepresentation, ViewAllComponents, ViewBlue, ViewChannel, ViewChannelInColor, ViewComponents, ViewComponentText, ViewCustomChannel, ViewGreen, ViewHDR, ViewRed, ViewRGB, XViewComponent
Description
BlindUnmixing( intComponents
, doubleBkgIntensity
);
This function performs the blind unmixing image modification.
Parameters
See Also
_BlindUnmixing
Description
ChangeChannelColor( intChannel
, intColor
);
This function sets a new color to the selected channel.
Set the Color parameter as an RGB color - 32bit integer (hexadecimal form: 0xffRRGGBB) or 0 for transparent.
Parameters
Color
The RGB color as a 32bit integer. Use the RGB function to get the value.
See Also
_ChangeChannelColor, ChangeChannelDescription, _ChangeChannelDescription, _ChannelProperties
Description
ChangeChannelDescription( intChannel
, char *Name
);
This function sets a new name of a channel of the current image.
See Also
_ChangeChannelDescription, ChangeChannelColor, _ChangeChannelColor, _ChannelProperties
Description
ExtractComponents(
char *ComponentNames
);
This function extracts selected one or more channels of the current document and creates a new document out of them.
This function runs the Extract Selected Channels command.
Description
ExtractSelectedComponents();
This function creates a new image document by copying the currently selected components (channels). Components which were not selected are cropped.
Description
ExtractSelectedComponentsAsFloat();
This function extracts all currently selected image components (channels) to a new - floating point - image. Intensity values within floating point images are not restricted to a certain bit depth. Using this function makes sense for example when the Ratio View is enabled.
Description
GetChannelName( intChannel
, char *LpChannelName
, intChannelNameMaxLength
);
The function retrieves a name of a color channel from current document.
Description
GetChannelPropertiesEx( intChannel
, intMeaning
, double *LpDoubleValue
, char *StringValue
);
The function retrieves properties of the specified channel.
Parameters
Description
GetViewComponents(
char *ViewComponents
);
This function retrieves which image channels are currently displayed.
This function runs the Keep Only Selected Channels command.
Description
KeepSelectedChannels();
Takes the current image and deletes all channels except the selected one.
Interactive command to this function: File > Merge Channels
Description
MergeImagePlanes( char *RedCompImage
, char *GreenCompImage
, char *BlueCompImage
, char *BrightFieldImage
);
This function combines the color components from different images.
Parameters
Note
This function is called from the File > Merge Channels command. The interactive equivalent is the _MergeImagePlanes function.
See Also
_MergeImagePlanes
Description
PasteIntoChannel(
int Component
);
This function inserts a previously copied channel into the selected channel of the current image. The channel of the specified index must exist.
Description
PasteIntoSelectedChannel();
This function inserts a previously copied channel(s) content into the currently selected channel. If no channel is selected, no action is performed.
See Also
PasteIntoChannel
Description
ProcessBlue();
This function sets up the flag that enables processing only on the blue component of an image.
See Also
ProcessRed, ProcessGreen, ProcessRGB
Description
ProcessGreen();
This function sets up the flag that enables processing only on the green component of an image.
See Also
ProcessRed, ProcessBlue, ProcessRGB
Description
ProcessRGB();
This function sets up the flag that enables processing on all components (Red, Green, Blue) of an image.
See Also
ProcessRed, ProcessGreen, ProcessBlue
Description
ProcessRed();
This function sets up the flag that enables processing only on the red component of an image.
See Also
ProcessGreen, ProcessBlue, ProcessRGB
Description
ProcessViewComponent( intProcessComponent
, intXViewComponent
);
This function can be used to process and view the specified color component of an image.
Parameters
ProcessComponent
Selection of color components.
The first component (Blue in RGB image, binary 1) | |
The second component (Green in RGB image, binary 10) | |
The third component (Red in RGB image, binary 100) | |
The first three components (All RGB, binary 111) |
Note
The “Brightfield” channel consists of 3 components.
XViewComponent
Selection of color components.
The first component (Blue in RGB image, binary 1) | |
The second component (Green in RGB image, binary 10) | |
The third component (Red in RGB image, binary 100) | |
The first three components (All RGB, binary 111) |
Note
The “Brightfield” channel consists of 3 components.
See Also
ProcessRed, ProcessGreen, ProcessBlue, ProcessRGB, XViewComponent, ViewComponentText
This function runs the Remove channel command.
Description
RemoveChannel(
int Component
);
This function removes the specified channel (component) from the current image.
Interactive command to this function: Reorder Channels
Description
ReorderChannels(
char *ComponentNames
);
This function can be used to change the order of the channels in the currently selected image.
Description
SetChannelProperties( intChannel
, char *Name
, intModality
, intWavelength
, intColor
, boolColorFromWavelength
);
This function sets the channel name, modality, wavelength and color of the specified channel (component).
Parameters
Description
SetChannelPropertiesEx( intChannel
, intMeaning
, doubleDoubleValue
, char *StringValue
, intUpdateGUI
);
This function can adjust some channel properties of the captured ND2 document. The document must contain the multi-channel dimension.
Parameters
See Also
SetChannelProperties
This function runs the Set selected channels as Custom command.
Description
SetSelectedChannelsAsCustom();
All channels currently selected for viewing will be set to the Custom tab. The previous settings of the Custom channel will be overwritten.
Description
SpectralImageRepresentation(
int SpectralRepresentation
);
This function can be used to convert multichannel images into spectral images. The function enables/disables the Treat as spectral checkbox in the spectral display settings.
Description
ToggleChannelInColor();
This function sets the channels to be displayed gray/colored.
Description
ToggleSpectralImageRepresentation();
This function turns the Treat as spectral mode on/off.
Note
Spectral images which are saved in a format that does not contain the spectral metadata can be treated as spectral using this mode.
Description
UnMix(
char *Filename
);
This function performs spectral decomposition of the current image with the specified setting.
The specified XML file contains description of all individual spectral components that will be used for decomposition. If the file name is not specified, spectral unmixing will be performed with the last settings used.
Description
UnMixND( char *Filename
, intNDTLoop
, intNDMPLoop
, intNDZLoop
);
This function performs spectral decomposition of the current N-dimensional image with the specified setting.
The specified XML file contains description of all individual spectral components that will be used for decomposition. If the file name is not specified, spectral unmixing will be performed with the last settings used.
Parameters
Description
VAASImageRepresentation(
int VAASRepresentation
);
This function can be used to convert an image into a VAAS image.
This function runs the View > View/Process Component > RGB/All command.
Description
ViewAllComponents();
This function switches the view of the current image so that all color components are displayed.
Description
ViewChannel(
int ViewChannel
);
This function displays one channel of an image.
This function runs the View Channel in Color command.
Description
ViewChannelInColor(
int ChannelInColor
);
A single channel of an image can be observed as gray or colored. This function toggles between these two ways. The setting is applied to the current document only.
Description
ViewComponentText(
char ViewComponentText
);
This function activates the image component(s) whose name(s) is taken for the parameter.
This function runs the View > View/Process Component > [Component Name] command.
Description
ViewComponents(
char *ViewComponents
);
This function displays the given image components.
Parameters
See Also
XViewComponent
Description
ViewCustomChannel();
This function displays the Custom channel (tab) of the current multichannel image.
Description
ViewHDR();
This function shall be used when an HDR multi-exposure image is opened. If for example a single channel (exposure frame) has been selected and modified, this function re-calculates and displays the whole HDR image.
Description
XViewComponent(
int XViewComponent
);
This function displays the given image components.
Parameters
XViewComponent
Selection of color components.
The first component (Blue in RGB image, binary 1) | |
The second component (Green in RGB image, binary 10) | |
The third component (Red in RGB image, binary 100) | |
The first three components (All RGB, binary 111) |
Note
The “Brightfield” channel consists of 3 components.
Note
This function is used for backward compatibility and it is limited to 32 components. For images with more than 32 components use ViewComponents function instead.
See Also
ViewComponents, ViewComponentText
Description
_BlindUnmixing();
This function displays the Blind Unmixing window.
See Also
BlindUnmixing
Description
_ChangeChannelColor(
int Channel
);
This function shows a dialog where the color of a specified channel can be changed.
See Also
ChangeChannelColor, ChangeChannelDescription, _ChangeChannelDescription, _ChannelProperties
Description
_ChangeChannelDescription(
int Channel
);
This function shows the dialog where a description text of a specified channel can be changed.
See Also
ChangeChannelDescription, ChangeChannelColor, _ChangeChannelColor, _ChannelProperties
This function runs the Properties command.
Description
_ChannelProperties(
int Channel
);
This function shows a dialog where the properties (name, modality, wavelength and color) of a specified channel can be changed.
See Also
ChangeChannelColor, _ChangeChannelColor, ChangeChannelDescription, _ChangeChannelDescription
This function runs the Properties command.
Description
_CustomChannelProperties();
This function displays a Custom dialog window where the included channels can be selected and the custom channel properties can be adjusted.
This function runs the File > Merge Channels command.
Description
_MergeImagePlanes();
Opens the Merge Channels dialog window used for merging images with the same scene into one image.
This function runs the Reorder Channels command.
Description
_ReorderChannels();
Opens the Reorder Channels dialog window enabling to change the order of the channels in the currently selected image.
Description
_UnMix();
This function performs spectral decomposition of the current image. The function displays the Spectral Unmixing Setting window.
Description
_UnMixND(
char *Filename
);
This function has the same functionality as the UnMix function, but furthermore – if applied on ND document – it enables the user to select dimension on which the unmixing will be performed interactively.
The specified XML file contains description of all individual spectral components that will be used for decomposition. If the file name is not specified, spectral unmixing will be performed with the last settings used.