FishEyeUnwarping icon indicating copy to clipboard operation
FishEyeUnwarping copied to clipboard

bad result

Open junedgar opened this issue 6 years ago • 7 comments

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: image corrected result: image Is there any parameters can use to get better result?

junedgar avatar May 31 '18 06:05 junedgar

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.

sumandeepb avatar May 31 '18 06:05 sumandeepb

Thank you for your reply! I have two kinds images. One kind image below, with 130° len: 2018-05-3016 49 43

Result with method 0: 0_out_result

Result with method 1, drawed circle with green line: points 1_out_result

Another type image with 160° len: 2018-05-3017 25 00

Result with method 0, lost some edge image: out_result

Result with method 1: f_1_points f_1_out_result

junedgar avatar Jun 01 '18 02:06 junedgar

You can find some examples in google drive. Thank you for your reply again!

junedgar avatar Jun 01 '18 02:06 junedgar

@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 avatar Oct 12 '19 10:10 Shivani1796

@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 avatar Oct 14 '19 03:10 junedgar

@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 imagewrap

Its not reading images and only display "cout" message.

Shivani1796 avatar Oct 14 '19 03:10 Shivani1796

Answered here: https://github.com/sumandeepb/FishEyeUnwarping/issues/2#issuecomment-541611646

sumandeepb avatar Oct 14 '19 10:10 sumandeepb