Skip to content
Advertisement

Tag: distortion

Pinch/bulge distortion using Python OpenCV

I want to apply a pinch/bulge filter on an image using Python OpenCV. The result should be some kind of this example: https://pixijs.io/pixi-filters/tools/screenshots/dist/bulge-pinch.gif I’ve read the following stackoverflow post that should be the correct formula for the filter: Formulas for Barrel/Pincushion distortion But I’m struggling to implement this in Python OpenCV. I’ve read about maps to apply filter on an

Advertisement