[−][src]Module signed_distance_field::binary_image
Structs
BinaryByteSliceImage | An image which is described by a row major slice of bytes, with one byte per pixel. To determine if a byte is inside or outside, it is compared to a threshold. The default threshold is 127. |
Traits
BinaryImage | Represents an image with each pixel being either true or false,
corresponding to inside-the-shape and outside-of-the-shape respectively.
BinaryImages can be created from byte slices
or piston images if the feature |
Functions
of_byte_slice | Create a binary image from a row major byte slice with each byte brighter than 127 being "inside-the-shape" |
of_byte_slice_with_threshold | Create a binary image from a row major byte slice with each byte brighter than the threshold being "inside-the-shape" |