Class OpCreators

java.lang.Object
qupath.ext.biop.cellpose.OpCreators

public class OpCreators extends Object
Helper class for creating new ImageOps based upon other image properties.

This addresses that problem that every ImageOp only knows about the image tile that it 'sees' at runtime. This means that all processing needs to be local.

Often, we want ops to use information from across the entire image - particularly for normalization as a step in preprocessing, such as when normalizing to zero mean and unit variance across the entire image.

Before this class, this was problematic because either the parameters needed to be calculated elsewhere (which was awkward), or else normalization would always treat each image tile independent - which could result in tiles within the same image being normalized in very different ways.

Since:
v0.4.0
  • Constructor Details

    • OpCreators

      public OpCreators()
  • Method Details

    • imageNormalizationBuilder

      public static OpCreators.ImageNormalizationBuilder imageNormalizationBuilder()
      Build a normalization op that can be based upon the entire (2D) image, rather than only local tiles.

      Note that currently this requires downsampling the image to a manageable size.

      Returns: