Trait OnSlide

Source
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§

Source

fn slide_bounding_box(&self) -> BoundingBox<f64>

Returns the bounding box encompasing the image area on the slide (in μm)

Source

fn to_slide_transform(&self) -> AffineTransform<f64>

Returns the affine transformation from pixel coordinates within the image to to the slide coordinates (μm)

Implementors§