Package qupath.lib.experimental.pixels
Class Parameters.Builder<S,T> 
java.lang.Object
qupath.lib.experimental.pixels.Parameters.Builder<S,T> 
- Type Parameters:
- S- the image type
- T- the mask type
- Enclosing class:
- Parameters<S,- T> 
Builder class for 
Parameters.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionParameters<S, T> build()Build the parameters.imageData(ImageData<BufferedImage> imageData) Set the image data.imageFunction(ImageSupplier<S> function) Function used ot lazily read the image.maskFunction(MaskSupplier<S, T> function) Function used to lazily create a mask corresponding to the image for a specified ROI.parent(PathObject parent) Set the parent object.parentProxy(PathObject parentProxy) Optionally set a temporary object to use as a parent.region(RegionRequest region) Specify the region to use for processing.server(ImageServer<BufferedImage> server) Set the server.tile(TileRequest tile) Specify the tile relevant for processing.
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
imageDataSet the image data.- Parameters:
- imageData-
- Returns:
 
- 
serverSet the server. This is optional, for cases when processing should be applied to a different image from that stored in the image data.- Parameters:
- server-
- Returns:
 
- 
regionSpecify the region to use for processing.- Parameters:
- region-
- Returns:
- See Also:
 
- 
tileSpecify the tile relevant for processing. If the regions are available as tile requests, these should be used instead of region requests - because they enable more accurate contour tracing across tile boundaries.- Parameters:
- tile-
- Returns:
- See Also:
 
- 
imageFunctionFunction used ot lazily read the image.- Parameters:
- function-
- Returns:
 
- 
maskFunctionFunction used to lazily create a mask corresponding to the image for a specified ROI.- Parameters:
- function-
- Returns:
 
- 
parentSet the parent object.- Parameters:
- parent-
- Returns:
 
- 
parentProxyOptionally set a temporary object to use as a parent. This is useful for tiled processing, when the parent object may be too large to process in a single region.- Parameters:
- parentProxy-
- Returns:
 
- 
buildBuild the parameters.- Returns:
 
 
-