OpenCV high contrast edge smoothing with Aruco

132 Views Asked by At

I have this image of an Aruco marker: enter image description here

I generally have been performing a noise cleanup and rotation using cv.fastNlMeansDenoisingColored resulting in:

enter image description here

I still have these jagged edges which I assume is from the camera sensor not quite having a single line of the pixel color. How do I process this to reduce the edge noise while still preserving enough detail to keep the marker edges sharp enough for a good calibration?

Edit:

Marker detected position:

7: [[2567.125732421875, 1694.821533203125],
    [2681.59130859375, 1697.886962890625],
    [2690.694091796875, 1740.62255859375],
    [2570.4765625, 1738.4224853515625]]

Source data 150x150px:

enter image description here

0

There are 0 best solutions below