[−][src]Trait opencv::prelude::GridBoardTrait
Planar board with grid arrangement of markers More common type of board. All markers are placed in the same plane in a grid arrangement. The board can be drawn using drawPlanarBoard() function (see also: drawPlanarBoard)
Required methods
pub fn as_raw_GridBoard(&self) -> *const c_void
[src]
pub fn as_raw_mut_GridBoard(&mut self) -> *mut c_void
[src]
Provided methods
pub fn draw(
&mut self,
out_size: Size,
img: &mut dyn ToOutputArray,
margin_size: i32,
border_bits: i32
) -> Result<()>
[src]
&mut self,
out_size: Size,
img: &mut dyn ToOutputArray,
margin_size: i32,
border_bits: i32
) -> Result<()>
Draw a GridBoard
Parameters
- outSize: size of the output image in pixels.
- img: output image with the board. The size of this image will be outSize and the board will be on the center, keeping the board proportions.
- marginSize: minimum margins (in pixels) of the board in the output image
- borderBits: width of the marker borders.
This function return the image of the GridBoard, ready to be printed.
C++ default parameters
- margin_size: 0
- border_bits: 1