Package qupath.lib.experimental.pixels
Class Parameters<S,T> 
java.lang.Object
qupath.lib.experimental.pixels.Parameters<S,T> 
- Type Parameters:
- S- the image type
- T- the mask type
Parameters for use with a 
PixelProcessor.- Since:
- v0.5.0
- 
Nested Class SummaryNested Classes
- 
Method SummaryModifier and TypeMethodDescriptionstatic <S,T> Parameters.Builder <S, T> builder()Create a new builder for parameters.getImage()Get the image to process.Get the image data.getMask()Get the mask associated with the main ROI or the parent object, or null if no mask is available.Get the mask associated with any ROI, or null if no mask is available.Get the parent object.Get the parent, or a proxy parent if one has been specified.Get the region request.Get the server.Get the tile request, if available.
- 
Method Details- 
getImageDataGet the image data.- Returns:
 
- 
getServerGet the server. This is often the accessed fromgetImageData(), but in some cases it may be different (e.g. if the processing should be applied to a transformed image).- Returns:
 
- 
getRegionRequestGet the region request.- Returns:
 
- 
getTileRequestGet the tile request, if available. This should be used when the region request is derived at a specific tile resolution, because it is able to provide more accurate tile coordinates without rounding errors.- Returns:
 
- 
getImageGet the image to process. This may return a cached value, so it is important that it is not modified by the caller.- Returns:
- Throws:
- IOException
 
- 
getMaskGet the mask associated with the main ROI or the parent object, or null if no mask is available. Note that the mask returned should correspond to the same region asgetImage()- and not the bounds of the ROI.- Returns:
- Throws:
- IOException
 
- 
getMaskGet the mask associated with any ROI, or null if no mask is available. Note that the mask returned should correspond to the same region asgetImage()- and not the bounds of the ROI.- Parameters:
- roi-
- Returns:
- Throws:
- IOException
 
- 
getParentGet the parent object.- Returns:
- See Also:
 
- 
getParentOrProxyGet the parent, or a proxy parent if one has been specified. The proxy parent is used to provide a temporary parent object for tiled processing, when using the parent directly may be problematic (e.g. because the region is too large).- Returns:
- See Also:
 
- 
builderCreate a new builder for parameters.- Type Parameters:
- S-
- T-
- Returns:
 
 
-