Package qupath.ext.biop.cellpose
Class OpCreators.PercentileTileOpCreator
java.lang.Object
qupath.ext.biop.cellpose.OpCreators.PercentileTileOpCreator
- All Implemented Interfaces:
OpCreators.TileOpCreator
- Enclosing class:
- OpCreators
Tile op creator that computes offset and scale values across the full image
to normalize using min and max percentiles.
-
Method Summary
Modifier and TypeMethodDescriptionprotected List<qupath.opencv.ops.ImageOp>
compute
(org.bytedeco.opencv.opencv_core.Mat mat) List<qupath.opencv.ops.ImageOp>
createOps
(qupath.opencv.ops.ImageDataOp op, qupath.lib.images.ImageData<BufferedImage> imageData, qupath.lib.roi.interfaces.ROI mask, qupath.lib.regions.ImagePlane plane) Compute the (tile-based) ops from the image.
-
Method Details
-
compute
-
createOps
public List<qupath.opencv.ops.ImageOp> createOps(qupath.opencv.ops.ImageDataOp op, qupath.lib.images.ImageData<BufferedImage> imageData, qupath.lib.roi.interfaces.ROI mask, qupath.lib.regions.ImagePlane plane) throws IOException Description copied from interface:OpCreators.TileOpCreator
Compute the (tile-based) ops from the image.- Specified by:
createOps
in interfaceOpCreators.TileOpCreator
- Parameters:
op
- the data op, which determines how to extract channels from the image dataimageData
- the image data to processmask
- ROI mask that may be used to restrict the region being considered (optional)plane
- the 2D image plane to use; if not provided, the plane from any ROI will be used, or otherwise the default plane- Returns:
- Throws:
IOException
-