FishEyeUnwarping
FishEyeUnwarping copied to clipboard
bad result
I tried to defish the fisheye image with 130° or 160° fisheye len. But I didn't get the good result like you.
org image:
corrected result:
Is there any parameters can use to get better result?
Hi,
Did you use option '0' or '1' for correction method.
Note that option '0' will only work with full circle images and does not require any further input. The circle shot should fit nicely with the top and bottom edge though. This is not the case in your input.
I hope you are using option '1' ? It will require marking few points on the circle edge. Can you provide me a screen shot of the points you have marked ?
Anyways, I will try running your input image on the code when I get some time. Will update on what I find. I wrote the code nearly 4 years ago so I'm a bit rusty on the innards, may take some time to fix.
Thank you for your reply!
I have two kinds images.
One kind image below, with 130° len:
Result with method 0:
Result with method 1, drawed circle with green line:
Another type image with 160° len:
Result with method 0, lost some edge image:
Result with method 1:
You can find some examples in google drive. Thank you for your reply again!
@junedgar Hey, could you please tell where you have modifiy the code part in which you added path of your images ? In which line and what to modify. Your help would be great to help me. Thanks
@Shivani1796 you can comment the parameters check in line 99 to 104, and change the line 107-108 to your local input filename and local output filename. https://github.com/sumandeepb/FishEyeUnwarping/blob/3531235cbb400120b3d4f626e34f697477ea56f1/ImageWarping.cpp#L107-L108
@junedgar Hey, thanks for reply but I didn't understand what are you trying to explain can please elaborate ? Well I tried your given solution still I can only see
Its not reading images and only display "cout" message.
Answered here: https://github.com/sumandeepb/FishEyeUnwarping/issues/2#issuecomment-541611646