Exclude pixels using the region defined in the image viewer.
Exclude points that lie within the region defined in the image viewer.
Changed in version 4.15.0: The change in the filter is now reported for the dataset.
The region definition is converted into the coordinate system relevant to the data set before it is applied.
Use the region in the image viewer to ignore points from the default data set.
Ignore points in the data set labelled “2”.
Ignore points in data sets “src” and “bg”.
>>> ignore2d_image(["src", "bg"])