phenotypic.util.GridApply#
- class phenotypic.util.GridApply(image_op: ImageOperation | ImagePipeline, reset_enh_matrix: bool = True)[source]#
Bases:
objectAccepts a PhenoTypic operation as a parameter and applies it to the individual grid sectionss of an image.
- Parameters:
image_op (ImageOperation) – A PhenoTypic operation to be applied to each grid section.
reset_enh_matrix (bool) – Whether to reset the enh_gray attribute of the image before applying the operation.
Methods
__init__