Struct vlfeat_sys::_VlMserExtrReg
[−]
[src]
#[repr(C)]pub struct _VlMserExtrReg { pub parent: c_int, pub index: c_int, pub value: vl_mser_pix, pub shortcut: vl_uint, pub area: vl_uint, pub variation: f32, pub max_stable: vl_uint, }
@internal ** @brief MSER: extremal region (declaration) ** ** Extremal regions (ER) are extracted from the region forest. Each ** region is represented by an instance of this structure. The ** structures are stored into an array, in arbitrary order. ** ** ER are arranged into a tree. @a parent points to the parent ER, or ** to itself if the ER is the root. ** ** An instance of the structure represents the extremal region of the ** level set of intensity VlMserExtrReg::value and containing the ** pixel VlMserExtReg::index. ** ** VlMserExtrReg::area is the area of the extremal region and ** VlMserExtrReg::area_top is the area of the extremal region ** containing this region in the level set of intensity ** VlMserExtrReg::area + @c delta. ** ** VlMserExtrReg::variation is the relative area variation @c ** (area_top-area)/area. ** ** VlMserExtrReg::max_stable is a flag signaling whether this extremal ** region is also maximally stable.
Fields
parent: c_int
< index of the parent region
index: c_int
< index of pivot pixel
value: vl_mser_pix
< value of pivot pixel
shortcut: vl_uint
< shortcut used when building a tree
area: vl_uint
< area of the region
variation: f32
< rel. area variation
max_stable: vl_uint
< max stable number (=0 if not maxstable)
Trait Implementations
impl Debug for _VlMserExtrReg
[src]
impl Copy for _VlMserExtrReg
[src]
impl Clone for _VlMserExtrReg
[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