GetRectSubPix
OpenLvVision_OpenCv.lvlib:GetRectSubPix.vim
Retrieves a pixel rectangle from an image with sub-pixel accuracy.
The function getRectSubPix extracts pixels from src:
Pixel values at non-integer coordinates are retrieved using bilinear interpolation. Each channel of a multi-channel image is processed independently.
The input image must be either single-channel or three-channel. The center of the rectangle must lie inside the image, although parts of the rectangle may extend outside.
For detailed information, please refer to the OpenCV documentation

| error in error in can accept error information wired from VIs previously called. Use this information to decide if any functionality should be bypassed in the event of errors from other VIs. Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error. |
| status status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred. Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error. |
| code |
| source source describes the origin of the error or warning. Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error. |
| Src Source image. |
| Patch Extracted patch that has the size patchSize and the same number of channels as src . |
| PatchSize Extracted patch that has the size patchSize and the same number of channels as src . |
| X |
| Y |
| center Floating point coordinates of the center of the extracted rectangle within the source image. The center must be inside the image. |
| X |
| Y |
| error out error in can accept error information wired from VIs previously called. Use this information to decide if any functionality should be bypassed in the event of errors from other VIs. Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error. |
| status status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred. Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error. |
| code |
| source source describes the origin of the error or warning. Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error. |
| Patch output image that has the size dsize and the same type as src . |











