Type Definition opencv::types::PtrOfGeneralizedHoughGuil
source · [−]pub type PtrOfGeneralizedHoughGuil = Ptr<dyn GeneralizedHoughGuil>;
Implementations
sourceimpl PtrOfGeneralizedHoughGuil
impl PtrOfGeneralizedHoughGuil
pub fn as_raw_PtrOfGeneralizedHoughGuil(&self) -> *const c_void
pub fn as_raw_mut_PtrOfGeneralizedHoughGuil(&mut self) -> *mut c_void
Trait Implementations
sourceimpl AlgorithmTraitConst for PtrOfGeneralizedHoughGuil
impl AlgorithmTraitConst for PtrOfGeneralizedHoughGuil
fn as_raw_Algorithm(&self) -> *const c_void
sourcefn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
sourcefn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings Stores algorithm parameters in a file storage Read more
sourcefn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
sourcefn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs). Read more
sourcefn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string. Read more
sourceimpl GeneralizedHough for PtrOfGeneralizedHoughGuil
impl GeneralizedHough for PtrOfGeneralizedHoughGuil
fn as_raw_mut_GeneralizedHough(&mut self) -> *mut c_void
sourcefn set_template(
&mut self,
templ: &dyn ToInputArray,
templ_center: Point
) -> Result<()>
fn set_template(
&mut self,
templ: &dyn ToInputArray,
templ_center: Point
) -> Result<()>
set template to search Read more
sourcefn set_template_1(
&mut self,
edges: &dyn ToInputArray,
dx: &dyn ToInputArray,
dy: &dyn ToInputArray,
templ_center: Point
) -> Result<()>
fn set_template_1(
&mut self,
edges: &dyn ToInputArray,
dx: &dyn ToInputArray,
dy: &dyn ToInputArray,
templ_center: Point
) -> Result<()>
C++ default parameters Read more
sourcefn detect(
&mut self,
image: &dyn ToInputArray,
positions: &mut dyn ToOutputArray,
votes: &mut dyn ToOutputArray
) -> Result<()>
fn detect(
&mut self,
image: &dyn ToInputArray,
positions: &mut dyn ToOutputArray,
votes: &mut dyn ToOutputArray
) -> Result<()>
find template on image Read more
sourcefn detect_with_edges(
&mut self,
edges: &dyn ToInputArray,
dx: &dyn ToInputArray,
dy: &dyn ToInputArray,
positions: &mut dyn ToOutputArray,
votes: &mut dyn ToOutputArray
) -> Result<()>
fn detect_with_edges(
&mut self,
edges: &dyn ToInputArray,
dx: &dyn ToInputArray,
dy: &dyn ToInputArray,
positions: &mut dyn ToOutputArray,
votes: &mut dyn ToOutputArray
) -> Result<()>
C++ default parameters Read more
sourcefn set_canny_low_thresh(&mut self, canny_low_thresh: i32) -> Result<()>
fn set_canny_low_thresh(&mut self, canny_low_thresh: i32) -> Result<()>
Canny low threshold.
sourcefn set_canny_high_thresh(&mut self, canny_high_thresh: i32) -> Result<()>
fn set_canny_high_thresh(&mut self, canny_high_thresh: i32) -> Result<()>
Canny high threshold.
sourcefn set_min_dist(&mut self, min_dist: f64) -> Result<()>
fn set_min_dist(&mut self, min_dist: f64) -> Result<()>
Minimum distance between the centers of the detected objects.
sourcefn set_dp(&mut self, dp: f64) -> Result<()>
fn set_dp(&mut self, dp: f64) -> Result<()>
Inverse ratio of the accumulator resolution to the image resolution.
sourcefn set_max_buffer_size(&mut self, max_buffer_size: i32) -> Result<()>
fn set_max_buffer_size(&mut self, max_buffer_size: i32) -> Result<()>
Maximal size of inner buffers.
sourceimpl GeneralizedHoughConst for PtrOfGeneralizedHoughGuil
impl GeneralizedHoughConst for PtrOfGeneralizedHoughGuil
fn as_raw_GeneralizedHough(&self) -> *const c_void
fn get_canny_low_thresh(&self) -> Result<i32>
fn get_canny_high_thresh(&self) -> Result<i32>
fn get_min_dist(&self) -> Result<f64>
fn get_dp(&self) -> Result<f64>
fn get_max_buffer_size(&self) -> Result<i32>
sourceimpl GeneralizedHoughGuil for PtrOfGeneralizedHoughGuil
impl GeneralizedHoughGuil for PtrOfGeneralizedHoughGuil
fn as_raw_mut_GeneralizedHoughGuil(&mut self) -> *mut c_void
sourcefn set_xi(&mut self, xi: f64) -> Result<()>
fn set_xi(&mut self, xi: f64) -> Result<()>
Angle difference in degrees between two points in feature.
sourcefn set_levels(&mut self, levels: i32) -> Result<()>
fn set_levels(&mut self, levels: i32) -> Result<()>
Feature table levels.
sourcefn set_angle_epsilon(&mut self, angle_epsilon: f64) -> Result<()>
fn set_angle_epsilon(&mut self, angle_epsilon: f64) -> Result<()>
Maximal difference between angles that treated as equal.
sourcefn set_min_angle(&mut self, min_angle: f64) -> Result<()>
fn set_min_angle(&mut self, min_angle: f64) -> Result<()>
Minimal rotation angle to detect in degrees.
sourcefn set_max_angle(&mut self, max_angle: f64) -> Result<()>
fn set_max_angle(&mut self, max_angle: f64) -> Result<()>
Maximal rotation angle to detect in degrees.
sourcefn set_angle_step(&mut self, angle_step: f64) -> Result<()>
fn set_angle_step(&mut self, angle_step: f64) -> Result<()>
Angle step in degrees.
sourcefn set_angle_thresh(&mut self, angle_thresh: i32) -> Result<()>
fn set_angle_thresh(&mut self, angle_thresh: i32) -> Result<()>
Angle votes threshold.
sourcefn set_min_scale(&mut self, min_scale: f64) -> Result<()>
fn set_min_scale(&mut self, min_scale: f64) -> Result<()>
Minimal scale to detect.
sourcefn set_max_scale(&mut self, max_scale: f64) -> Result<()>
fn set_max_scale(&mut self, max_scale: f64) -> Result<()>
Maximal scale to detect.
sourcefn set_scale_step(&mut self, scale_step: f64) -> Result<()>
fn set_scale_step(&mut self, scale_step: f64) -> Result<()>
Scale step.
sourcefn set_scale_thresh(&mut self, scale_thresh: i32) -> Result<()>
fn set_scale_thresh(&mut self, scale_thresh: i32) -> Result<()>
Scale votes threshold.
sourcefn set_pos_thresh(&mut self, pos_thresh: i32) -> Result<()>
fn set_pos_thresh(&mut self, pos_thresh: i32) -> Result<()>
Position votes threshold.