Comment on page
Image AutoRotator
The
Image AutoRotator
node in AugeLab Studio allows you to automatically rotate an image based on its orientation. It calculates the orientation of the image intensity and rotates the image accordingly.The
Image AutoRotator
node analyzes the input image and determines its orientation by calculating the image moments. It then rotates the image by an angle equal to half of the calculated orientation angle. This node is useful for automatically aligning images that may be rotated or tilted.- Node Title: Image AutoRotator
- Node ID: OP_NODE_IMAGE_AUTOROTATE
The
Image AutoRotator
node has the following input socket:- 1.Input Image: The input image that you want to auto rotate.
The
Image AutoRotator
node has the following output socket:- 1.Output Image: The output image after auto rotation.
- 1.Drag and drop the
Image AutoRotator
node from the node library onto the canvas in AugeLab Studio. - 2.Connect the input image to the Input Image input socket of the
Image AutoRotator
node. - 3.Run the pipeline.
- 4.The
Image AutoRotator
node will output the auto-rotated image through the Output Image output socket. - 5.Use the output image for further analysis or display it in the console.
- The
Image AutoRotator
node calculates the orientation of the image intensity using image moments. It determines the centroid (center of mass) of the image and the orientation of the image intensity axis. - The output image will be rotated by an angle equal to half of the calculated orientation angle. This rotation aligns the image with its predominant orientation.
- The
Image AutoRotator
node is useful for correcting the orientation of images that may be tilted or rotated. - The output image will have the same dimensions and data type as the input image.
That concludes the documentation for the
Image AutoRotator
node in AugeLab Studio. This node allows you to automatically rotate an image based on its orientation, ensuring that the image is correctly aligned for further analysis or visualization.