![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
Python user interface functionalities. More...
Python user interface functionalities.
This group aggregates all PyIPSDK user interface functionalities
The function displayImg allows you to visualize a Python image in a script.
Here are the function parameters :
: Image to display
: Title of the window
: Image to add in overlay
: if True, the script will continue once the window is closedIf the image is 3d, you can change the current plan with a slider, and also change between XY, XZ and YZ plans.
If there is an image in overlay, you can modify the opacity with a slider.
If the image type is Label16 or Label32, each label will have a different color.
If the image type is binary, pixels at True will be display in blue.
In this case we have a 3d image with a labeled image in overlay :
Here is some code examples :
The function interactiveThreshold allows you to choose manualy threshold values during a python script.
Here are the function parameters :
: Image to display
: Title of the window
: Image used to compute the thresholdIf the image is 3d, you can change the current plan with a slider, and also change between XY, XZ and YZ plans.
If thresholdImg is not define, the image used to compute the threshold is inImg.
If the image to threshold is in color, the threshold will be apply on the lightness image.
You can display the mask of the threshold or the contour of this mask.
In this case we have a 2d image :
Here is some code examples :
1.8.14