The MontiVision Rotation filter is used to rotate the current frame to be processed around a specified point. The operation supports three different interpolation methods.
This MontiVision DirectShow Filter is used in combination with theMontiVision Smart Control in the VBARotation Sample Application.
| File: | Rotation.ax |
| CLSID: | CLSID_MVRotation |
Supported Interfaces
Supported COM Events
The filter supports following events through the IMVFilterEvents interface. Look at the filter events page for more information.
| Event |
Value |
Description |
| MV_ALGORITHM_START_EVENT |
0 |
A filter starts processing a video frame or sample. |
| MV_ALGORITHM_END_EVENT |
1 |
A filter finishes processing a video frame or sample. |
Supported I/O Pins
| I/O Pin | Corresponding method | Discription |
| Angle In | IMVRotation::put_RotationAngle | Sets the rotation angle in degrees. |
Attention:
I/O Pins are dominat, what means that they have a higher
priority than the corresponding method of the filters
interface!
MV Rotation Property Page
Implements the IMVRotation configuration interface.
| Angle | The rotation angle in degrees |
| Interpolation | Nearest neighborhood, linear or cubic interpolation. |
| Manual Center | The rotation center is set manually using the Center X and Center Y sliders. |
| Image center | The rotation center is set to the image center. |
| Input ROI center | The rotation center is set to the center of the input ROI. |
| Output ROI center | The rotation center is set to the center of the output ROI. |