getRectSubPix

Functionality

Retrieves a pixel rectangle from an image with sub-pixel accuracy.

Inputs

  • center_in – Floating point coordinates of the center of the extracted rectangle.
  • image_in – Source image.
  • patchSize_in – Size of the extracted patch.
  • patchType_in – Depth of the extracted pixels. By default, they have the same depth as src.

Outputs

  • patch_out – Patch out

Locals

Examples