Package qupath.ext.biop.cellpose
Class OpCreators.ZeroMeanVarianceTileOpCreator
- java.lang.Object
-
- qupath.ext.biop.cellpose.OpCreators.ZeroMeanVarianceTileOpCreator
-
- All Implemented Interfaces:
OpCreators.TileOpCreator
- Enclosing class:
- OpCreators
public static class OpCreators.ZeroMeanVarianceTileOpCreator extends java.lang.Object
Tile op creator that computes offset and scale values across the full image to normalize to zero mean and unit variance.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.List<qupath.opencv.ops.ImageOp>
compute(org.bytedeco.opencv.opencv_core.Mat mat)
java.util.List<qupath.opencv.ops.ImageOp>
createOps(qupath.opencv.ops.ImageDataOp op, qupath.lib.images.ImageData<java.awt.image.BufferedImage> imageData, qupath.lib.roi.interfaces.ROI mask, qupath.lib.regions.ImagePlane plane)
Compute the (tile-based) ops from the image.
-
-
-
Method Detail
-
compute
protected java.util.List<qupath.opencv.ops.ImageOp> compute(org.bytedeco.opencv.opencv_core.Mat mat)
-
createOps
public java.util.List<qupath.opencv.ops.ImageOp> createOps(qupath.opencv.ops.ImageDataOp op, qupath.lib.images.ImageData<java.awt.image.BufferedImage> imageData, qupath.lib.roi.interfaces.ROI mask, qupath.lib.regions.ImagePlane plane) throws java.io.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:
java.io.IOException
-
-