pub enum BoundaryMethod {
PixelEdge,
MooreNeighbor,
}Expand description
Method for extracting polygon boundaries from labeled regions.
Variants§
PixelEdge
Extract boundaries along pixel edges (rectilinear). Produces exact boundaries aligned to pixel edges, matching GDAL’s approach.
MooreNeighbor
Moore-Neighbor contour tracing through pixel centers. Produces smoother boundaries but may not be pixel-exact.
Trait Implementations§
Source§impl Clone for BoundaryMethod
impl Clone for BoundaryMethod
Source§fn clone(&self) -> BoundaryMethod
fn clone(&self) -> BoundaryMethod
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BoundaryMethod
Source§impl Debug for BoundaryMethod
impl Debug for BoundaryMethod
Source§impl Default for BoundaryMethod
impl Default for BoundaryMethod
impl Eq for BoundaryMethod
Source§impl PartialEq for BoundaryMethod
impl PartialEq for BoundaryMethod
impl StructuralPartialEq for BoundaryMethod
Auto Trait Implementations§
impl Freeze for BoundaryMethod
impl RefUnwindSafe for BoundaryMethod
impl Send for BoundaryMethod
impl Sync for BoundaryMethod
impl Unpin for BoundaryMethod
impl UnsafeUnpin for BoundaryMethod
impl UnwindSafe for BoundaryMethod
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more