Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
RGB support, set the PV (P):cam1:colorMode to any RGB mode (NDColorModeRGB1, RGB2 or RGB3), support has also been implemented for both interpolation modes (Nearest and Bilinear). It is important to point out that the colorMode affect the ArrayRate.
In the AutoResize function, just set the PV (P):warp1:AutoResize to true, in this way the plane trigonometry calculation is applied to resize the new image defined by input angle and the center of the image becomes the origin for the rotation matrix calculation. When AutoResize is true, the PV (P):warp1:CenterX and (P):warp1:CenterY do not work, I found it unnecessary for this option to work, since the complete image is being viewed by the user, but that is optional and can be easily changed in code. AutoResize works for monochrome and RGB mode.
If you have any suggestions for improvements and/or changes, I can implement them.
Thanks!