.. py:currentmodule:: astropathdb.experimental.autoannos :py:func:`.get_sam_masks` =================================== .. py:function:: get_sam_masks(prediction_image, gdf_bb, signal_image = None, sam = None, predictor = None) :single-line-parameter-list: Run sam over an image to get predicted masks on bounding box regions. :param prediction_image: the image to predict masks on :param gdf_bb: a geopandas object with an envelope (bounding box) of image regions :param signal_image: the image to get signal points from :param sam: sam model (if one not provided will create one) :param predictor: the sam predictor (if one not provided will create one)