MIL image processing those things: transformation between rectangular coordinates and polar coordinates MimPolarTransform


Polar & Cartesian Coordinates

Polar coordinate conversion can convert circular text into horizontal, so as to facilitate subsequent image processing, such as OCR text recognition. For example, the characters in the picture below are flattened

insert image description here

become:

insert image description here

In a Cartesian coordinate system, curved features or information can be difficult to read, interpret, or analyze. Converting these features to a polar coordinate system, where the vertical and horizontal axes represent radii and angles, respectively, can make it more intuitive or easier to read. Using MIL, MimPolarTransform()functions can be used to perform Cartesian to polar or polar to Cartesian transformations.

For example, the text on the disk image below is easier to read after a Cartesian-to-polar transformation. Defines the boundaries of the region of interest by specifying the center, start and end radii, and start and end angles in the source buffer. The function goes from the start angle to the end angle

Guess you like

Origin blog.csdn.net/mr_wei_/article/details/127430795