Frage

I would like to transform an image like below

input Image: http://1drv.ms/1hMYbjF

output Image: http://1drv.ms/1mVXSEr

Any help or hint regarding this filter would be highly appreciated.

PS: Sorry i do not know the exact name of this filter/transformation

War es hilfreich?

Lösung

Take a look at OpenCV's remap function. You are looking to do a geometric transform. You'll have to design the X,Y maps such that the pixels map in the way you have shown in your example.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top