importroi
Description
Import a ROI into an image which was originally set on another image. The 'roi' input takes either an ROI or an image. If the former, that ROI is imposed on the image passed into the main input. If the latter, all the ROIs from the 'roi' input image are imposed on the image input image.
Connections
Inputs
Index | Name | Type | Desc |
---|---|---|---|
0 | (none) | img | (none) |
1 | roi | any | (none) |
Outputs
Index | Name | Type | Desc |
---|---|---|---|
0 | (none) | img | (none) |
Parameters
importroi | new_name: string (default '') | new name for the ROI if non-empty | |
new_colour | the new colour of the ROI (ordered) | r: int or float (default 1.0) | The red component 0-1 |
g: int or float (default 0.0) | The green component 0-1 | ||
b: int or float (default 0.0) | The blue component 0-1 | ||
recolour: boolean (default False) | change colour to new colour |
Automatically generated by generate_autodocs.py
Date: 2025-06-12T17:28:29.051109