Struct vlfeat_sys::_VlMserReg
[−]
[src]
#[repr(C)]pub struct _VlMserReg { pub parent: vl_uint, pub shortcut: vl_uint, pub height: vl_uint, pub area: vl_uint, }
@internal ** @brief MSER: basic region (declaration) ** ** Extremal regions and maximally stable extremal regions are ** instances of image regions. ** ** There is an image region for each pixel of the image. Each region ** is represented by an instance of this structure. Regions are ** stored into an array in pixel order. ** ** Regions are arranged into a forest. VlMserReg::parent points to ** the parent node, or to the node itself if the node is a root. ** VlMserReg::parent is the index of the node in the node array ** (which therefore is also the index of the corresponding ** pixel). VlMserReg::height is the distance of the fartest leaf. If ** the node itself is a leaf, then VlMserReg::height is zero. ** ** VlMserReg::area is the area of the image region corresponding to ** this node. ** ** VlMserReg::region is the extremal region identifier. Not all ** regions are extremal regions however; if the region is NOT ** extremal, this field is set to ....
Fields
parent: vl_uint
< points to the parent region.
shortcut: vl_uint
< points to a region closer to a root.
height: vl_uint
< region height in the forest.
area: vl_uint
< area of the region.
Trait Implementations
impl Debug for _VlMserReg
[src]
impl Copy for _VlMserReg
[src]
impl Clone for _VlMserReg
[src]
fn clone(&self) -> Self
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more