Image processing functions in Image Analyst MKII
Image Analyst MKIIFunctions Glossary
HomeWorkflowImage Processing BasicsFunctions GlossaryPipelines GlossaryProtocolsQuick How ToSearch
2D DFT Filter
2D DFT Filter Butterworth BP
2D DFT Filter Butterworth BP Tiled
2D Kernel Convolution
2D Median
2D Morphological Operator
2D Nonlinear Filter
2D Savitzky-Golay filter
Absolute Value
Affine Transformation
AI Create Training Set
Align Channels
Align Series (Image Stabilizer)
Align Tiled Channels
Align Tiled Series (Image Stabilizer)
Anisotropic Diffusion Filter
Attach Intensity Gating Image
Attach Overlay Image
Automatic ROI drawing
Band Pass filter Optimization
Blind Spectral Unmix with NMF
Brightfield Color Deconvolution with PCA
Calculate Simple Crossbleed
Calculate Spatial Moments
Calibration Wizard Parameters
Clear Segmentation Classifiers (Gating)
Close
Copy
Copy ROIs from Other Image
Correct Intensity Jump
Correct Lens Distortion
Count Division and Cell Death
Count Object Colocalization
Create ROI
Create ROI Grid
Create ROIs from Segments
Create Segments from ROIs
Crop
Crop Image in Place
Crop Image to Segments
Cross-correlation data
Cross-correlation image
Detect Nuclei Convolution
Differential Evolution Optimizer
Distance from Segments
Draw Model Mitochondrion
Draw Random Position Model Mitochondria
EndIf
Erase All ROIs
Excel Window Command
Export
Fill Mask
Fill or Mask Active ROI
Find ROIs and Annotations
Fix Vignetting
FLIPR Calibration with [K+]ec steps and known [K+]ic and known kP
FLIPR Complete Calibration
FLIPR Complete Calibration with known kP
FLIPR Complete Calibration with known kP - Goldman
FLIPR Complete Calibration with known kP - Goldman with Neural Network
FLIPR Complete Iterative Calibration
FLIPR Estimate PN
FLIPR Short Calibration based on known potential during MDC and CDC
FLIPR Short Calibration between known baseline and CDC
FLIPR Short Calibration between known baseline and MDC
FLIPR Short Calibration between known baseline and separately measured fP0
FLIPR Short Calibration from Zero with fx=0
FunctionOptions
Get Image Information
Get Linked Channel
If
If Greater Than Zero
Image Arithmetic (image-image math)
Image Arithmetic In Place
Image Arithmetic Single Frame
Inpaint Mask
Input
Invert
Ion Concentration Calibration Constants
Ion Concentration Calibration Error Propagation
Ion Concentration Calibration Overrides
Ion Concentration Calibration Wizard Parameters
Lens Correction Optimization
Link
Load and Run Pipeline
Load ROIs
Mask Borders
Mask Frames by Plot Values
Mask Images
Measure Object Intensity
Measure Object Morphology
Mirror or Rotate
Mirror or Rotate in Place (clipping)
Model Out of Focus Blur
Multi-Dimensional Open Information
Multi-Dimensional Open Position
Multi-Dimensional Reload Channel
New Image
New Time Scale
Onset Image
Open File
Optical Flow
Options
Peak Bioenergetic Power Analysis
Pipeline
Pipeline Optimization
Pipeline Optimization Parameter
Plot
Plot Correlation (Colocalization)
Plot Intensities Corresponding to Segments
Plot Morphological Parameters of Segments
Plot Ratio
Plot ROI Dimensions
Plot Spectral Parameter with PCA
Plot Spectrum (Periodogram)
Plot Tracking Parameters
Potential calibration constants
Potential calibration error propagation
Potential calibration expert overrides
Projection of Vectors from a Point
Ratio
Ratiometric Ion Concentration with Grynkiewicz Equation - Complete Internal
Ratiometric ROI Classifiers (Gating)
ReCount Division and Cell Death
Reevaluate Segments (Apply Gate)
Remove Blank or Unsharp Frames
Rename
Replace or Modify ROIs
Resample Image
Resize Image
Revvity Harmony Options
ROI Classifiers (Gating)
Run EXE
Run Membrane Potential Calibration
Save ROIs
Scalar Arithmetic (image-value math)
Scalar Arithmetic Multi
Secondary Watershed Segmentation
Select
Select by Number
Sensor Noise Characteristics
Set Reference Image
Set ROI Annotation
Set Scaling/LUT
Set Segmentation Classifiers (Gating)
Set Segmentation Intensity Classifiers (Gating)
Shift Time Scale
Simple 2D Cross-correlation
Simple Segmentation
Skeletonize
Spectral Unmix
Stitch Series
Strip to Well Cell Count
Substitute Poisson Noise
Subtract Background or Normalize
T or Z-project
Template Matching
Temporal Average Filter
Temporal Block Filter
Temporal Median Filter
Temporal Rolling Projection
Temporal Savitzky-Golay Filter
Thinness Ratio Optimization
Threshold
Time Stamp and Scale Bar
TMRM Complete Calibration
TMRM Complete Calibration with known kT
TMRM Complete Calibration with known kT and K-steps
TMRM Short Calibration between known baseline and MDC or CDC
Track Objects
Truncate or Cut
Wait for All Inputs
Watershed Segmentation
Wiener filter
Window Menu Command
Write Back Scaled Values
ΔF/F0

AI Create Training Set ( IAAICreateTrainingSet )

Parameters:
Name Short Name Type Description
Method method string Which algorithm to use
Label export format labelformat string Which label format to use
Image export file format imageformat string Available formats: "AVI", "MOV", "MP4", "JPG", "TIF"...
Image export pixel format pixelformat string Available pixel formats: "RGB24","Gray8","Gray8RAW","Gray16RAW"
Export path or filename (eg. *.yaml) filename string Export path for images and labels. If left empty, the default image export folder will be used. For YOLO yaml+txt format, optionally provide an existing yaml file to add data to existing data set.
Use GUIDs for image and label names guid boolean Globally unique identifiers will be used for each image or label file saved.
Filename prefix (path optional) prefix string No prefix is used if GUID is used as file names.
Annotations for detection (comma-separated list) detectionlabels string ROIs with the indicated annotations will be used for labeling. Comma separated list. Empty field uses all ROIs, except for background labels.
Annotations for background (comma-separated list) backgroundlabels string Cropped images around ROIs with the indicated annotations will be used as background, with no lables. Comma separated list. Empty field uses no background.
Annotations for valid area (comma-separated list) validarealabels string Areas outside of ROIs with the indicated annotations will be masked. Applying these will modify the original image.
Annotations for invalid area (comma-separated list) invalidarealabels string Areas inside of ROIs with the indicated annotations will be masked. Applying these will modify the original image.
Minimum retained area of clipped objects (%) clipareaminimum real Percent of area of detection annotations visible after cropping images. The area of the bounding box is used here.
Rescale to new resolution rescale boolean Based on existing image calibration image will be rescaled before any other action.
New resolution (um/pixel) resolution real Transformation matrix coefficient
Crop width (pixels) cropwidth integer This will be the pixels width of the output image. Must be smaller than that of the input image.
Crop height (pixels) cropheight integer This will be the pixels height of the output image. Must be smaller than that of the input image.
Number of rotations rotationnumber integer Number of rotations to be used, 0 or 1 (with degree>0) for no rotations or 1 (with degree=0) for one random rotation
Rotation degree degree real Amount of incremental rotation in degrees. Use zero for random rotation.
Vary resolution for each rotation (%) resolutionvary real Any additional rotation will be randomly scaled between this % smaller or larger than the straight image.
Mirror mirror boolean Each rotation will be made in additions with mirroring, doubling the number of output images.
Number of translations translationnumber integer Number of rotations to be used, 1 for no rotations
Amount of translation (% of image size) translationamount real Maximal amount of random translation.
Minimize clipping during translations minimizeclipping boolean Random translations will be tried up to 100 times until no surrounding labels are clipped, or the least-clipping translation will be used. Use a sufficiently large amount of traslation above to help finding positions satisfying this.
Limit translations for redundant labels limittranslations boolean Do not make new translations for labels that have been represented in previous cropped frames of the same rotation for "Number of translations" times. This redundancy may happen for close-by labels.
Fill value for empty areas fillvalue real Pixel value for areas that are outside of the original image or of the valid area. Use 0 for black or ~240 for white in RGBimages.
Validation set (MD Open positions) validationset string If the current position in the active Multi-Dimensional open dialog is on this comma-separated list, then the entire resultant cropped image set will be handled as validation images, e.g. saved into the val folder. Validation images are not augemented. Leave this field empty for generation of no validation images.
Interpolation type type string Interpolation used for the transformation. Affects the smoothness of the result.
Simulated microscopy modality augmentationtype string Additional augmentation is random transformations performed after cropping. This parameter controls the following parameters.
Intensity augmentation method augmentintensity string Select method or disable this augmentatation.
Probability (0-1) augmentintensityp real Probability (0-1) of applying this transformation.
Strength (%) augmentintensitys real Amount of variations introduced as percent of original value.
Crossbleed augmentation method augmentcrossbleed string Select method or disable this augmentatation.
Probability (0-1) augmentcrossbleedp real Probability (0-1) of applying this transformation.
Strength (%) augmentcrossbleeds real Amount of variations introduced as percent of original value.
Description:
The AI Create Training Set function is a tool for creating training data sets for ML/AI using cropping from larger images and applying data augmentation. This function supports fluorescence or bright field, color (RGB or fluorescence overlay) and grayscale images, and annotations/ROIs (implemented) or label images (coming soon). Use cases are creation of training sets of object detection, such as with YOLO architectures, or training instance segmentation with Cellpose. The image is cropped around each annotation and exported multiple times with different rotation angles and translations. Rotation and translation are performed before cropping so each crop will result in a complete image, without borders. All detection annotations that are not substantially clipped are transferred to the cropped images. Optional intensity-related data augmentation is applied after cropping, on the cropped image set. For each run, this function creates an image series, that can be further manipulated or automatically exported. Cropped images are exported and accumulated in a folder/structure based on the export format.

* Input Image A:
Image to be cropped. All overlaid images will be used. For RGB color images use the red channel with the overlaid other channels only. For annotation/ROI operation, these images must contain ROIs with ROI annotations defining one or few object classes. Use the Image Window context menu, Image Properties window or the Appearance/Set ROI Annotation function to enter class names.

* Input Image B (coming soon)
Segmented label image

* Method= Rotate large images, then crop around ROIs
The operation is performed for annotations in the “Annotations for detection” and “Annotations for background” lists. Labels are saved only for detections annotations, but not for background ones. Large images are first rotated, and then the following operations repeat “Number of rotations” times, each time with “Rotation degree” more rotation. Zero value sets optional random rotation. For each rotation, the image is cropped off centered around each annotation “Number of translations” times, using different offsets. If “Limit translations for redundant labels”=yes, no new translations are made for annotations that are already exported while cropping around nearby annotations. With “Mirror”=yes, each rotation will be performed on a mirrored-images in addition, doubling the number of crops.

* Label export format:
“YOLO yaml+txt in folders”: Cropped images are saved \images\train or \images\val (depending on if the current position in the MD Open dialog is on this list: “Validation set (MD Open positions)”) in “Image export format”. Labels are saved in the corresponding \labels\ path as a list of normalized XYWH data. The “Export path or filename” is a *.yaml file, that can exist, listing the available annotation labels, or will be created automatically. If the *.yaml file exists, repeated runs of this function will result in consistent assignment of annotation labels to classes. Call this function by running a pipeline by the Run Pipeline… on All Stage Positions command, and specify in the “Validation set (MD Open positions)” which positions will end up in the validation set. In this way the same image or augmentations of the same image do not get into both training and validations sets.

* Simulated microscopy modality:
Data augmentation allows here varying intensities and fluorescence cross bleed similarly to normal microscopic image formation. The augmentation is performed on the cropped image series before export, in a random manner.