Hi John, 2012/8/22 JohnPW <[email protected]>
> I've been messing around with tying to use some of the "HuginTools" on my > Mac. does anyone know of a link to information on doing this? > I have seen this: > http://wiki.panotools.org/Panorama_scripting_in_a_nutshell > and it is interesting. But I need some more basic information. (Like the > basics on how to do it!) > > Specifically, I don't know how to make it so I can call the tools up from > anywhere (sorry I don't know how else to say it. Not enough of a geek.) > Somewhere I found a file that Harry van der Wolf had written (I can't find > it now, and have no idea where I found it. Possibly it was in the header of > one of the tools I opened with textedit?) which gave a instructions on > navigating to the HuginTools Folder (for me its at > root/Applications/hugin-mac-2012.0.0_beta1/HuginTools/) and then entering > some command (it had to do with something like setting environment . . .) > Anyway, it didn't seem to work. I still had to always include a path to the > tool every time I wanted to call it. > Perhaps someone can explain this to me? > > Yes, I can explain it. I abandoned the "old" hugin tools way of working like you describe above somewhere afer 2011.0 (or so). If you want to use the hugin tools in the HuginTools folder, you simply need to give the exact path to that folder and binary. So if you want to use tca_correct for example and you have it in /Applications/hugin-mac-2012.0.0_beta1/HuginTools/, then you need to give the command /Applications/hugin-mac-2012.0.0_beta1/HuginTools/tca_correct in the terminal. The binaries in the HuginTools folder are actually symlinks to the binaries inside the Hugin.app. You could also add the /Applications/hugin-mac-2012.0.0_beta1/HuginTools/ folder to the PATH environment variable. In that case you simply call tca_correct. > Second, > I assume this is something I want to do, not so much to always use the > command line, but so I can make my own tools or scripts that will allow me > to process images more easily and quickly (e.g. run every photo I take > through a script that will automatically remove lens distortion, TCA, etc. > Possibly it might extract a few different exposures from a RAW file and > then enfuse them into a tiff, etc. ) > Is this a valid assumption? Is this something other people do? Is it > something I should consider doing? Do scripts like this already exist > somewhere? Is doing this sort of thing redundant with Hugin? (Seems like an > automated script or tool would be a pretty darn fast way to do things.) > > You can create shell scripts (or Perl or Python for that matter) calling the hugin tools like I described above. In that case you can make your automated script. Harry -- You received this message because you are subscribed to the Google Groups "Hugin and other free panoramic software" group. A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/hugin-ptx
