pub trait OnSlide {
// Required methods
fn slide_bounding_box(&self) -> BoundingBox<f64>;
fn to_slide_transform(&self) -> AffineTransform<f64>;
}
Expand description
Represents an image which is acquired on a slide
Required Methods§
Sourcefn slide_bounding_box(&self) -> BoundingBox<f64>
fn slide_bounding_box(&self) -> BoundingBox<f64>
Returns the bounding box encompasing the image area on the slide (in μm)
Sourcefn to_slide_transform(&self) -> AffineTransform<f64>
fn to_slide_transform(&self) -> AffineTransform<f64>
Returns the affine transformation from pixel coordinates within the image to to the slide coordinates (μm)