Type Definition opencv::types::PtrOfGrayCodePattern [−][src]
pub type PtrOfGrayCodePattern = Ptr<dyn GrayCodePattern>;
Implementations
Trait Implementations
Stores algorithm parameters in a file storage
simplified API for language bindings Stores algorithm parameters in a file storage Read more
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs). Read more
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
Sets the value for white threshold, needed for decoding. Read more
Get the number of pattern images needed for the graycode pattern. Read more
fn get_images_for_shadow_masks(
&self,
black_image: &mut dyn ToInputOutputArray,
white_image: &mut dyn ToInputOutputArray
) -> Result<()>
fn get_images_for_shadow_masks(
&self,
black_image: &mut dyn ToInputOutputArray,
white_image: &mut dyn ToInputOutputArray
) -> Result<()>
Generates the all-black and all-white images needed for shadowMasks computation. Read more
fn get_proj_pixel(
&self,
pattern_images: &dyn ToInputArray,
x: i32,
y: i32,
proj_pix: &mut Point
) -> Result<bool>
fn get_proj_pixel(
&self,
pattern_images: &dyn ToInputArray,
x: i32,
y: i32,
proj_pix: &mut Point
) -> Result<bool>
For a (x,y) pixel of a camera returns the corresponding projector pixel. Read more
fn decode(
&self,
pattern_images: &Vector<Vector<Mat>>,
disparity_map: &mut dyn ToOutputArray,
black_images: &dyn ToInputArray,
white_images: &dyn ToInputArray,
flags: i32
) -> Result<bool>
fn decode(
&self,
pattern_images: &Vector<Vector<Mat>>,
disparity_map: &mut dyn ToOutputArray,
black_images: &dyn ToInputArray,
white_images: &dyn ToInputArray,
flags: i32
) -> Result<bool>
Decodes the structured light pattern, generating a disparity map Read more