_AddNewComponent, _AdjustImageForSave, _ChangeColorDepth, _ConvertFloatToPic, _ConvertToRGB, _Extract, AddNewComponent, AdjustImage, AdjustImageForSave, ChangeColorDepth, ChangeColorDepthND, ChangeColorDepthVSL, ConvertFloatToPic, ConvertTo8bitRGBVSL, ConvertToRGB, ConvertToRGBND, ConvertToRGBVSL, CopyChannels, Extract, ExtractComponent
Interactive command to this function: Image > Convert > Add New Component
Description
AddNewComponent( char *DocumentName
, intComponent
, char *ComponentName
, intColor
, intValM
);
This function creates a new channel within an opened document. If the document name is left blank, the channel will be appended to the active image.
Parameters
Color
The RGB color as a 32bit integer. Use the RGB function to get the value.
Description
AdjustImage( intWidth
, intHeight
, intColorDepth
, intComponents
, intStretchMode
, intImType
);
This function adjusts the current image according to the specified parameters.
Parameters
See Also
ImageResize
Description
AdjustImageForSave( char *Filename
, intImType
);
This function adjusts the current image so that it can be saved to the file format specified by the first parameter.
Parameters
See Also
_AdjustImageForSave
Interactive command to this function: Image > Convert > Change Color Depth
Description
ChangeColorDepth( intColorDepth
, intScale
);
This function changes the color bit depth of the current image.
Parameters
See Also
_ChangeColorDepth
Description
ChangeColorDepthND( intColorDepth
, intScale
);
This function changes the color bit depth of the current ND document.
Description
ChangeColorDepthVSL( intColorDepth
, intScaleValues
);
This function changes the color bit depth of the current image. It operates on large VSL images which do not fit into the memory.
Parameters
See Also
ChangeColorDepth
Interactive command to this function: Image > Convert > Convert Floating Point Image to
Description
ConvertFloatToPic(
int ScaleValues
);
This function converts the floating point image to a new document.
Parameters
See Also
_ConvertFloatToPic
Description
ConvertTo8bitRGBVSL();
This function converts the current image opened in the “progressive mode” (large images which exceed available memory) to an 8-bit RGB image.
This function runs the Image > Convert > Convert to RGB command.
Description
ConvertToRGB();
This function converts one component image (e.g. gray) into 3-component RGB image.
See Also
Description
ConvertToRGBND();
This function converts one component image (e.g. gray) into 3-component RGB image.
See Also
_ConvertToRGB
Description
ConvertToRGBVSL();
This function converts the current image to an RGB image. It operates on large VSL images which do not fit into the memory.
See Also
ConvertToRGB
Description
CopyChannels( charDstDoc
, charSrcDoc
, charChannels
);
This function copies the selected channels from one opened document to another.
Interactive command to this function: Image > Convert > Extract Component
Description
Extract(
int Component
);
This function transforms the color image to one of its RGB or HSI components.
Parameters
Note
In the resulting gray image all RGB components are identical and the image is stored in the same way as a “normal” color image.
See Also
_Extract
Description
ExtractComponent( intComponent
, intNDDimension
, char *DocumentName
);
This function takes a channel of the active image and creates a new document out of it.
Parameters
NDDimension
Frame selection of the ND document.
Current frame | |
Time dimension | |
Multipoint dimension | |
Z dimension | |
All frames (the whole ND document). | |
Selection - the frames/dimensions selected by mouse within the ND control bar will be affected. |
Note
Value combination is also possible (e.g.: M+T=3, Z+T=5, M+Z=6).
This function runs the Image > Convert > Add New Component command.
Description
_AddNewComponent();
Description
_AdjustImageForSave( char *Filename
, intImType
);
This function adjusts the current image so that it can be saved to the file format specified by the first parameter. User is informed about any necessary changes before these changes are applied.
Parameters
See Also
AdjustImageForSave
This function runs the Image > Convert > Change Color Depth command.
Description
_ChangeColorDepth();
This function changes the color bit depth of the current image. It displays the Change Color Depth dialog window.
This function runs the Image > Convert > Convert Floating Point Image to command.
Description
_ConvertFloatToPic();
This function opens the Convert Image Bit Depth dialog window. Use this function to convert the floating point image to a new document.
Description
_ConvertToRGB();
This function converts the current image to RGB channels. When it is performed on ND document you will be prompt to select whether to process the current image, selected dimension, or the whole ND document.
See Also
_ColorToGray
This function runs the Image > Convert > Extract Component command.
Description
_Extract();
This function opens the Extract Component dialog window.