_LUTs_CreateCustom, _LUTs_SetBrightfieldOpacity, _LUTsLoadSettings, _LUTsSaveSettings, ConvertSpectralGroupsToChannels, EnableLUTs, LUTs_AutoScale, LUTs_AutoScaleOneComp, LUTs_Copy, LUTs_GetGradient, LUTs_GetLowHighGamma, LUTs_GetLowHighGammaEx, LUTs_GetOverSaturationColor, LUTs_GetPercentil, LUTs_GetSpectCustomColor, LUTs_GetSpectGainOffsetGamma, LUTs_GetSpectGroupColor, LUTs_GetUnderSaturationColor, LUTs_KeepAutoScale, LUTs_Paste, LUTs_Reset, LUTs_ResetOneComp, LUTs_SetGradient, LUTs_SetLowHighGamma, LUTs_SetLowHighGammaEx, LUTs_SetOverSaturationColor, LUTs_SetPercentil, LUTs_SetSaveOversaturationState, LUTs_SetSpectCustomColor, LUTs_SetSpectGainOffsetGamma, LUTs_SetSpectGroupColor, LUTs_SetSpectGroups, LUTs_SetUnderSaturationColor, LUTsLoadSettings, LUTsSaveSettings, ProcessLUTs, ProcessLUTsND, ShowLUTsWindow, ToggleKeepAutoScaleLUTs, ToggleLUTs, ToggleLUTsWnd, TogglePixelSaturationIndication
Description
ConvertSpectralGroupsToChannels();
When a spectral image is displayed in Custom color view and the channels are grouped, this function converts each group into one channel. This results in a multichannel image with the corresponding number of channels.
Description
EnableLUTs(
int Enable
);
This function enables/disables LUTs-using view of a picture.
See Also
ToggleLUTs
Description
LUTsLoadSettings(
char *LUTsFileName
);
This function loads the current LUTs settings from a specified file.
See Also
LUTsSaveSettings, _LUTsSaveSettings, _LUTsLoadSettings
Description
LUTsSaveSettings(
char *LUTsFileName
);
This function saves the current LUTs settings into a file.
See Also
_LUTsSaveSettings, LUTsLoadSettings, _LUTsLoadSettings
This function runs the View > Image > LUTs > Auto Scale LUTs command.
Description
LUTs_AutoScale();
This function performs the Auto Scale LUTs command on the current picture.
This function runs the Autoscale LUTs for channel command.
Description
LUTs_AutoScaleOneComp(
int Channel
);
This function applies the LUTs settings to the current channel.
Description
LUTs_Copy();
This function copies the current LUTs settings to internal memory. The settings can be inserted to another document.
See Also
LUTs_Paste
Description
LUTs_GetGradient(
char *GradientName
);
This function retrieves the name of the gradient currently used to colorize monochromatic images.
Description
LUTs_GetLowHighGamma( intChannel
, int *pLow
, int *pHigh
, double *pGamma
);
This function gets low intensity, high intensity and gamma of the active document's LUT settings.
Parameters
Note
For spectral images use this function to get TD channel only, otherwise use the LUTs_GetSpectGainOffsetGamma function.
See Also
LUTs_SetLowHighGamma, LUTs_SetSpectGainOffsetGamma, LUTs_GetSpectGainOffsetGamma
Description
LUTs_GetLowHighGammaEx( intChannel
, double *pLowFloat
, double *pHighFloat
, double *pGamma
);
This function gets low intensity, high intensity and gamma of the active document's LUT settings.
Parameters
Note
For spectral images use this function to get TD channel only, otherwise use the LUTs_GetSpectGainOffsetGamma function.
See Also
LUTs_SetLowHighGamma, LUTs_SetSpectGainOffsetGamma, LUTs_GetSpectGainOffsetGamma
Description
LUTs_GetOverSaturationColor( int *pLutsColorMode
, int *pColorOver
);
This function retrieves information about the color set to highlight over-saturated pixels within the image.
Parameters
Description
LUTs_GetPercentil( double *pPercentilBlack
, double *pPercentilWhite
);
This function returns percentile settings of the LUTs Auto Scale function.
Description
LUTs_GetSpectCustomColor( intGroup
, int *pSpectColor
);
This function gets color of the active document's spectral LUT settings for custom color mode.
Parameters
See Also
LUTs_SetSpectCustomColor, LUTs_SetSpectGroupColor, LUTs_GetSpectGroupColor, LUTs_SetSpectGainOffsetGamma, LUTs_GetSpectGainOffsetGamma, LUTs_SetSpectGroups, LUTs_SetSpectGroups
Description
LUTs_GetSpectGainOffsetGamma( intGroup
, double *pGain
, double *pOffset
, double *pGamma
);
This function gets gain, offset and gamma of the active document's spectral LUT settings.
Parameters
Note
To set TD channel use the LUTs_GetLowHighGamma function.
Description
LUTs_GetSpectGroupColor( intGroup
, int *pSpectColor
);
This function gets color of the active document's spectral LUT settings for grouped color mode.
Parameters
See Also
LUTs_SetSpectGroupColor, LUTs_GetSpectCustomColor, LUTs_SetSpectCustomColor, LUTs_SetSpectGainOffsetGamma, LUTs_GetSpectGainOffsetGamma, LUTs_SetSpectGroups
Description
LUTs_GetUnderSaturationColor( int *pLutsColorMode
, int *pColorUnder
);
This function retrieves information about the color set to highlight under-saturated pixels within the image.
Parameters
Description
LUTs_KeepAutoScale(
int KeepAutoScaleLUTs
);
This function turns the Keep Auto Scale LUTs ON/OFF.
Description
LUTs_Paste();
This function applies the LUTs settings copied to internal memory to the current image.
See Also
LUTs_Copy
This function runs the View > Image > LUTs > Reset LUTs command.
Description
LUTs_Reset();
This function removes LUTs settings of the current document.
This function runs the Reset LUTs for channel command.
Description
LUTs_ResetOneComp(
int Channel
);
This function removes LUTs settings of the current channel.
Description
LUTs_SetGradient(
char *GradientName
);
This function selects one of the pre-defined gradients to be used to colorize monochromatic images.
Description
LUTs_SetLowHighGamma( intChannel
, intLow
, intHigh
, doubleGamma
);
This function sets low intensity, high intensity and gamma of the active document's LUTs settings.
Parameters
Note
For spectral images use this function to set TD channel only, otherwise use the LUTs_SetSpectGainOffsetGamma function.
See Also
LUTs_GetLowHighGamma, LUTs_SetSpectGainOffsetGamma, LUTs_GetSpectGainOffsetGamma
Description
LUTs_SetLowHighGammaEx( intChannel
, doubleLowFloat
, doubleHighFloat
, doubleGamma
);
This function sets low intensity, high intensity and gamma of the active document LUTs settings.
Parameters
Note
For spectral images use this function to set TD channel only, otherwise use the LUTs_SetSpectGainOffsetGamma function.
See Also
LUTs_GetLowHighGamma, LUTs_SetSpectGainOffsetGamma, LUTs_GetSpectGainOffsetGamma
This function runs the Oversaturated Pixels command.
Description
LUTs_SetOverSaturationColor( intLutsColorMode
, intColorOver
);
This function sets color used to highlight over-saturated pixels within the image.
Parameters
Description
LUTs_SetPercentil( doublePercentilBlack
, doublePercentilWhite
);
This function adjusts percentile settings of the LUTs Auto Scale function.
Description
LUTs_SetSaveOversaturationState(
int Save
);
This function shows the status of Pixel Saturation Indication.
See Also
_GeneralOptions
Description
LUTs_SetSpectCustomColor( intGroup
, intSpectColor
);
This function sets color of the active document's spectral LUTs settings for custom color mode. Set the SpectColor parameter as the color of the group for custom color spectral images in 0xRRGGBB format.
See Also
LUTs_GetSpectCustomColor, LUTs_SetSpectGroupColor, LUTs_GetSpectGroupColor, LUTs_SetSpectGainOffsetGamma, LUTs_GetSpectGainOffsetGamma, LUTs_SetSpectGroups
Description
LUTs_SetSpectGainOffsetGamma( intGroup
, doubleGain
, doubleOffset
, doubleGamma
);
This function sets gain, offset and gamma of the active document's spectral LUTs settings.
Parameters
Note
To set TD channel use the LUTs_SetLowHighGamma function.
See Also
LUTs_GetLowHighGamma, LUTs_GetSpectGainOffsetGamma, LUTs_SetSpectCustomColor, LUTs_SetSpectGroupColor
Description
LUTs_SetSpectGroupColor( intGroup
, intSpectColor
);
This function sets color of the active document's spectral LUTs settings for grouped color mode. Set the SpectColor parameter as the color of the group for grouped spectral images in 0xAARRGGBB format. If the most significant byte is nonzero this function also disables the current group.
See Also
LUTs_GetSpectGroupColor, LUTs_GetSpectCustomColor, LUTs_SetSpectCustomColor, LUTs_SetSpectGainOffsetGamma, LUTs_GetSpectGainOffsetGamma, LUTs_SetSpectGroups
Description
LUTs_SetSpectGroups( intGroupCount
, dword *pGroups
);
This function sets the number of groups and their size of the spectral image.
Parameters
pGroups
Pointer to an array which specifies which group the channel belongs to. Each element is the index of the channel's group (indices start from 0). The size of the array must equal channel count at least. if this parameter is NULL, additional channels are inserted or removed from the end.
See Also
LUTs_SetSpectGroupColor, LUTs_GetSpectGroupColor, LUTs_GetSpectCustomColor, LUTs_SetSpectCustomColor, LUTs_SetSpectGainOffsetGamma, LUTs_GetSpectGainOffsetGamma
This function runs the Undersaturated Pixels command.
Description
LUTs_SetUnderSaturationColor( intLutsColorMode
, intColorUnder
);
This function sets color used to highlight under-saturated pixels within the image.
Parameters
Description
ProcessLUTs();
This function recalculates look-up tables and redisplays the current image according to the new LUTs setting.
Note
This function is typically called from the LUTs window after pressing the
button.See Also
ProcessLUTsND, EnableLUTs
Description
ProcessLUTsND( intNDTLoop
, intNDMPLoop
, intNDZLoop
);
This function recalculates look-up tables and redisplays the current ND image according to the new LUTs setting.
Note
This function is typically called from the LUTs window after pressing the
button.Parameters
See Also
ProcessLUTs, EnableLUTs
Description
ShowLUTsWindow(
int ShowLUTsWnd
);
This function shows/hides the LUTs dialog window.
Parameters
See Also
ToggleLUTsWnd
This function runs the View > Image > LUTs > Keep Auto Scale LUTs command.
Description
ToggleKeepAutoScaleLUTs();
This function switches on/off the Keep Autoscale option.
This function runs the View > Image > LUTs > Luts On/Off command.
Description
ToggleLUTs();
This function calls the EnableLUTs function and switches its parameter (0 or 1).
See Also
EnableLUTs, ToggleLUTsWnd
Description
ToggleLUTsWnd();
This function shows/hides the LUTs dialog window. It calls the ShowLUTsWindow function and switches its parameter (0 or 1).
See Also
ShowLUTsWindow, ShowLUTsWindow
Description
TogglePixelSaturationIndication();
This function switches on/off indication of oversaturated pixels in the image.
Description
_LUTsLoadSettings();
This function loads the current LUTs settings from a file. The function displays the Load LUTs Settings window.
See Also
LUTsSaveSettings, LUTsLoadSettings, _LUTsSaveSettings
Description
_LUTsSaveSettings();
This function saves the current LUTs settings to a file. The function displays the Save LUTs Settings window.
See Also
LUTsSaveSettings, LUTsLoadSettings, _LUTsLoadSettings
This function runs the View > Image > LUTs > Create Custom LUTs command.
Description
_LUTs_CreateCustom();
This function opens the Define Custom LUTs dialog window. Define custom LUTs color gradient for monochromatic images.