Camera Image Mask (circular) #651
Replies: 3 comments 10 replies
-
Just yesterday I merged the ability to add a "Logo Overlay". You can take a PNG with the same dimensions as your image and a alpha transparency layer can be layered on top of the image. Here is an exaggerated example: |
Beta Was this translation helpful? Give feedback.
-
If user provided a circle radius or diameter value which is masked by the rectangular image size along with an x and y offset you could do it programmatically. So you would just need 3 values and should be easily able to update values, verify fit, update values, etc.. until it fits properly. Just an idea. |
Beta Was this translation helpful? Give feedback.
-
I got the 'basic' idea working. But its not feathered and its not exact .. but the best I could do wit the online tools I found... |
Beta Was this translation helpful? Give feedback.
-
There is a way to crop the image (x1, x2, y1, y2), but it would be nice if there was a way to select a circular region from the image (the fisheye lens area) and then mask out the rest of the image to reduce artifacts and bleed effects (bright lights at the edges).
I have attached an image that shows the bleed and you can clearly see where the mask should be.
The final image is still rectangular, with all the metadata, but the ROI is just the non masked portion. I've done this in my own software (C#) but have no idea how it would be done in python.
Roy
Beta Was this translation helpful? Give feedback.
All reactions