Struct visioncortex::Shape
source · [−]pub struct Shape {
pub image: BinaryImage,
}
Expand description
A conceptual object represented by an image
Fields
image: BinaryImage
Implementations
pub fn image_boundary_and_position_length(
image: &BinaryImage
) -> (BinaryImage, Option<PointI32>, u32)
pub fn image_boundary_and_position_length(
image: &BinaryImage
) -> (BinaryImage, Option<PointI32>, u32)
image boundary with position of top-left pixel and path length
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for Shape
impl UnwindSafe for Shape
Blanket Implementations
Mutably borrows from an owned value. Read more