_BackProbeProperties, _DrawBackProbe, _SetBackOffsetLive, _SubtractBackgroundUsingConstant, _SubtractBackgroundUsingProbe, BackProbeKeepUpdate, BackProbeReset, SetBackOffset, ShowBackProbe, SubtractBackgroundUsingConstant, SubtractBackgroundUsingConstantND, SubtractBackgroundUsingProbe, SubtractBackgroundUsingProbeND, SubtractBackgroundUsingReference, ToggleBackProbe
This function runs the Keep Updating Background Offset command.
Description
BackProbeKeepUpdate(
bool BackProbeKeepUpdate
);
Sets the option if the background offset should be kept updated using the values retrieved from the background ROIs on the current image.
Parameters
See Also
SetBackOffset, BackProbeReset
This function runs the Reset Background Offset to Zero command.
Description
BackProbeReset();
Resets the offset calculated by the background probe and switches the background probe off.
This function runs the Fix Background Offset command.
Description
SetBackOffset();
Fixes the background offset to the current value and stops updating it by values retrieved from background ROIs.
See Also
BackProbeKeepUpdate, BackProbeReset
Description
ShowBackProbe(
bool ShowBackProbe
);
This function displays/hides the background probe in the current document window.
Interactive command to this function: Image > Background > Subtract Background Using Constant
Description
SubtractBackgroundUsingConstant(
int *BackgroundConstArray
);
This function subtracts specified value(s) from the image.
Parameters
// suppose we have a multichannel image with 2 brightfiled channels. int pconst[6]; pconst[0] = 50; pconst[1] = 50; pconst[2] = 50; pconst[3] = 100; pconst[4] = 5; pconst[5] = 30; SubtractBackgroundUsingConstant(pconst); // We subtract 50 from the first brightfield channel, // 100 from the blue component of the second brightfield channel, // 5 from the green component of the second brightfield channel, // 30 from the red component of the second brightfield channel.
Note
Array indices correspond to component numbers, not channel numbers. For RGB images, component 0 correspond to blue channel, 1 to green and 2 to red. Brightfield channels have 3 components (RGB).
See Also
SubtractBackgroundUsingConstantND, _SubtractBackgroundUsingConstant, SubtractBackgroundUsingProbe, SubtractBackgroundUsingProbeND, _SubtractBackgroundUsingProbe, SubtractBackgroundUsingReference, _SubtractBackgroundUsingConstant
Description
SubtractBackgroundUsingConstantND( int *BackgroundConstArray
, intNDTLoop
, intNDMPLoop
, intNDZLoop
);
This function subtracts specified value(s) from the image.
Parameters
// suppose we have a multichannel image with 2 brightfiled channels. int pconst[6]; pconst[0] = 50; pconst[1] = 50; pconst[2] = 50; pconst[3] = 100; pconst[4] = 5; pconst[5] = 30; SubtractBackgroundUsingConstantND(pconst, 1, 1, 1); // We subtract 50 from the first brightfield channel, // 100 from the blue component of the second brightfield channel, // 5 from the green component of the second brightfield channel, // 30 from the red component of the second brightfield channel.
Note
Array indices correspond to component numbers, not channel numbers. For RGB images, component 0 correspond to blue channel, 1 to green and 2 to red. Brightfield channels have 3 components (RGB).
See Also
SubtractBackgroundUsingConstant, _SubtractBackgroundUsingConstant, SubtractBackgroundUsingProbe, SubtractBackgroundUsingProbeND, _SubtractBackgroundUsingProbe, SubtractBackgroundUsingReference, _SubtractBackgroundUsingConstant
Interactive command to this function: Image > Background > Subtract Background Using Background ROI
Description
SubtractBackgroundUsingProbe(
int SubtractiveOffset
);
This function subtracts the average value defined by background probe from the whole image. It operates channel by channel and even when the probe is not turned ON.
See Also
SubtractBackgroundUsingProbeND, _SubtractBackgroundUsingProbe, SubtractBackgroundUsingConstant, SubtractBackgroundUsingConstantND, _SubtractBackgroundUsingConstant, SubtractBackgroundUsingReference, _SubtractBackgroundUsingProbe
Description
SubtractBackgroundUsingProbeND( intSubtractiveOffset
, boolProbeEveryFrame
, intNDTLoop
, intNDMPLoop
, intNDZLoop
);
This function subtracts the average value defined by background probe from the whole ND2 document. It operates channel by channel and even when the probe is not turned ON.
Parameters
See Also
SubtractBackgroundUsingProbe, _SubtractBackgroundUsingProbe, SubtractBackgroundUsingConstant, SubtractBackgroundUsingConstantND, _SubtractBackgroundUsingConstant, SubtractBackgroundUsingReference, _SubtractBackgroundUsingProbe
This function runs the Image > Background > Subtract Background Using Reference command.
Description
SubtractBackgroundUsingReference();
This function subtracts pixel values of the reference image from the current image. If there is no reference image, no action is performed.
See Also
ColorToReference, SubtractBackgroundUsingProbe, SubtractBackgroundUsingProbeND, _SubtractBackgroundUsingProbe, SubtractBackgroundUsingConstant, SubtractBackgroundUsingConstantND, _SubtractBackgroundUsingConstant
This function runs the View > Layers > Background ROI command.
Description
ToggleBackProbe();
This function displays/hides the background probe.
This function runs the ROI Properties command.
Description
_BackProbeProperties();
This function displays the Background Probe Properties dialog window. Line color and line width can be set via that window.
This function runs the Draw Background ROI command.
Description
_DrawBackProbe(
int ProbeObjectType
);
This function switches the application to a mode of drawing the background probe.
Description
_SetBackOffsetLive();
Enables you to fix the background offset on the live image. This functions shows the window displaying the values calculated in the background ROIs from the current live image. Press
to fix the background offset.See Also
SetBackOffset, BackProbeKeepUpdate, BackProbeReset
This function runs the Image > Background > Subtract Background Using Constant command.
Description
_SubtractBackgroundUsingConstant();
This function displays the Subtract Background Using Constant dialog window. A value to be subtracted can be defined for each channel of the image.
See Also
SubtractBackgroundUsingConstant, SubtractBackgroundUsingConstantND, SubtractBackgroundUsingProbe, SubtractBackgroundUsingProbeND, SubtractBackgroundUsingReference
This function runs the Image > Background > Subtract Background Using Background ROI command.
Description
_SubtractBackgroundUsingProbe();
This function equals the SubtractBackgroundUsingProbe function except when performed on ND2 document you will be prompt to select whether to process the current image, selected dimension, or the whole ND document. And, a possibility to choose the source data for the background probe is offered (current image or every image one by one).
See Also
SubtractBackgroundUsingProbe, SubtractBackgroundUsingProbeND, SubtractBackgroundUsingConstant, SubtractBackgroundUsingConstantND, _SubtractBackgroundUsingConstant, SubtractBackgroundUsingReference