|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
How can I convert Fish Eye images taken from my Nikon Digital camera to panoramic form and to analyse the height of surrounding landscape?
Anyone? |
|
#2
|
|||
|
|||
|
Is there some VB in this question?
__________________
====== Doug G ====== I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain |
|
#3
|
|||
|
|||
|
hi..
i'm attempting to use VB to achieve this transformation and then also to analyse the panoramic image. help anyone? |
|
#4
|
||||
|
||||
|
Hmm, wow, you really don't like to make things easy do you? You might be able to find an ActiveX plugin that would help you with this.. otherwise frankly VB is probably not the best language for this. You'll probably want something more low level, like C++.
When you do find the language your looking for.. you should look up the spec for the file format, but this step can be skipped if you find a library that will tell you the colour at pixel x etc. Now here is the hard part... you need to extrapolate the curvature of the picture... very, very hard. I'd infact suggest that you maybe use a slider and a sample image and let the slider change the value of the angle and forget about trying to figure it out using edge detection and offsets. There is also a section of the picture that normally looks normal right? well that could be cornered off using a selection tool, that you would have to create. As you might guess the angle that you are give will tell you how many pixels to copy over for each that must be copied up. If your imagining that you can just magically get extra picture data because you used a different lens, that just isn't the case, you will need to do some best guess work in code and it still won't look as good as a proper panaramic would. Anyway if this is your first coding project... GIVE UP. I'm 6 months away from my Computer system technologist diploma, and I think it would take me a couple of weeks of solid work just to get anything half-way decent done. Check for existing software packages that will do this for you... another, slightly easier way yo get the form control stuff done for you would be to use python or perl with the gimp Good luck, -mwalts |
|
#5
|
||||
|
||||
|
by the way, python, perl and the gimp are all free
|
|
#6
|
|||
|
|||
|
Hi,
hey..thank you for your suggestions. I agree its really tough for an amateur like me. I have been studying an existing VB coding for this..but the process of figuring out the logic and algorithm of it is too slow... The problem with the exisiting program is that it needs alot of fine tunning..which is why..i thought it would be faster to rewrite a new code. Thanx again... will try to adopt one of your suggestions!! ; ) Cheers, Wesley |
![]() |
| Viewing: ASP Free Forums > Programming > Visual Basic Programming > Converting fish eye images to panoramic form |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|