fibsem.segmentation package

Submodules

fibsem.segmentation.manual_segmentation module

fibsem.segmentation.manual_segmentation.manual_segmentation(image)[source]

Interactively let the user select the region for ion milling.

Parameters:image (Ion beam image of sample) –
Returns:milling_region
Return type:2D boolean numpy array, True where milling should occur.
fibsem.segmentation.manual_segmentation.select_point(image)[source]

Return location of interactive user click on image.

Parameters:image (AdornedImage or 2D numpy array.) –
Returns:Coordinates of last point clicked in the image. Coordinates are in row, column format. Units are the same as the matplotlib figure axes.
Return type:coords

Module contents