Hi all, just to give some feedback:
the script is working quite well IMHO. It tries to find CPs in specific parts of the image and almost always (or something like 9/10 times) works standalone. When it really fails it gives me the file to add a specific CP between a specific image pair, so I do that and save so it can continue. I really liked the result. It is a shell script (sh) and surely has many more things to be improved. I can share it but it is maybe a little specific for a tokina 10-17 at 13mm, as I've used templates well stitched to create the PTO file used to find CPs, so much probably everyone would need to adapt it. It solved my main requirement, to find CPs in the bottom of the fish eye image so the nadir gets well stitched. I've already thought about doing the same to te upper part, but didn't do it yet as only in a few situations it has been necessary and I did by hand. >From this and from my previous experience I could suggest that cpfind could have a way to find CPs in specific parts of the image, maybe using masks. PTGui has this possibility of choosing a small part of two images and it tries to find CPs only on it. Tks for everyone! Carlos E G Carvalho (Cartola) http://cartola.org/360 http://www.panoforum.com.br/ 2014-02-20 13:57 GMT-03:00 T. Modes <[email protected]>: > Why is nobody reading the help? > > > 2) What is the option --link? >> >> I haven't used this, but think it is used to create stacks. >> > > It links image variables, like hfov, image distortion a, b, c,.. - as one > the Photos tab (or the old lens tab). > See http://wiki.panotools.org/Pto_var > For creating stacks there is pto_lensstack > http://wiki.panotools.org/Pto_lensstack > > > > I am specifying a FOV of 95 as this was the value after a good manual >> stitching and I've put f3 as a fisheye lens. Don't know how to specify it >> on pto_gen >> > > Switch --projection? http://wiki.panotools.org/Pto_gen > > >> 3) I am also trying to find a way to spread the control points. Usually >> cpfind is not finding points in the bottom of the images. They are wide >> fish-eye lens, don't know if this is the reason, but I've always had this >> result in the GUI too. Usually I use manual CPs. Is it possible to split >> the image (thought about imagemagick) to use cpfind on them and then remap >> the CPs in a script? >> >> The splitting can be problematic. When supplying cropped images the > remapping to stereographic goes wrong, if the wrong/not correctly chosen > lens parameters are given. This happens in your example: the first pto file > supplies a hfov of 77 deg (or a focal length of 31 mm; and this for a 10-17 > mm lens) and does not account for the cropping with d/e parameters. So > cpfind is not able for correctly remap the images to stereographic and > therefore the cp finding goes wrong. This is clearly a case of garbage in - > garbage out. > When using better lens parameters (like in your second pto file, correct > hfov and take cropping into account), cpfind is able to detect 5 cp (ok, if > finds 8 cp, 3 cp are disregarded by the RANSAC step, so 5 remains) > > So the log output for default parameters: > --- Find matches --- > i0 <> i1 : Find Matches... > i0 <> i1 : Found 8 matches. > i0 <> i1 : RANSAC Filtering with Panorama model... > i0 <> i1 : Removed 3 matches. 5 remaining. > i0 <> i1 : Too few matches ... removing all of them. > i0 <> i1 : Clustering matches... > > If you want to keep these five cp, add --minmatches=3 to the command line > and cpfind will add 5 cp to your project. > > Thomas > > -- > A list of frequently asked questions is available at: > http://wiki.panotools.org/Hugin_FAQ > --- > You received this message because you are subscribed to the Google Groups > "hugin and other free panoramic software" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/hugin-ptx/257fe6e8-7e84-4389-a8fd-327f514fc0d0%40googlegroups.com > . > > For more options, visit https://groups.google.com/groups/opt_out. > -- A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ --- You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/hugin-ptx/CALW1f7hYxkpGtdrYYVm%3DNDRrkqLN46tsjQkpwQ4aqarJ8XKjXA%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
