Barrel distortion correction algorithm to correct FishEye lens - failing to implement with Java

前端 未结 4 1453
无人及你
无人及你 2021-01-12 17:32

I have a large bulk of photographs taken with a fisheye lens. As I want to do some image-processing (e.g. edge detection) on the photos I want to remove the barrel distortio

4条回答
  •  感动是毒
    2021-01-12 18:17

    I think your circles are caused by this line:

    double srcYd = centerY + (diffX * factor);
    

    which I'm guessing should be:

    double srcYd = centerY + (diffY * factor);
    

提交回复
热议问题