tufuse
Forum » Users / Contribute » tufuse
Started by: DrSlonyDrSlony
On: 1205376252|%e %b %Y, %H:%M %Z|agohover
Number of posts: 15
rss icon RSS: New posts
Summary:
Integration of tufuse into phatch
tufuse
DrSlonyDrSlony 1205376252|%e %b %Y, %H:%M %Z|agohover

TuFuse is a free program similar to Enfuse but expanded to provide better functionality. It is used for explosure blending (ie. extending the dynamic range of a scene WITHOUT having to go into HDR) and for focus blending.
I wrote about it, and Max Lyons, the author, answered some questions, here: http://www.autopano.net/forum/viewtopic.php?id=3319
This is the official website: http://www.tawbaware.com/tufuse.htm

Currently tufuse is only available for windows as an .exe, but it works under wine. It is a command-line program relying on external GUIs. Windows users can use PTgui or EnfuseGUI (pointing EnfuseGUI to tufuse.exe in options), however they dont work in wine.

Would it be possible to integrate tufuse into phatch? Users would point phatch to tufuse.exe, which would be called through wine.
The most important parameters to pass are:
output bit depth -a n
blending across the 180 degree boundary for panoramic images -w
sigma and beta (these could be sliders) -s n and -B n

Phatch would need to be able to read a directory containing many bracketed photos, and split those photos up into groups. If I shoot a scene using bracketing of -2EV, 0EV and +2EV then phatch would need to split the photos in the dir into groups of 3. This is what EnfuseGUI does.

Please check out tufuse - which I think works great, there are no ugly halos typical of hdr, the output is realistic - and tell me if you think this is a good idea!

unfold tufuse by DrSlonyDrSlony, 1205376252|%e %b %Y, %H:%M %Z|agohover
Re: tufuse
stanistani 1205463736|%e %b %Y, %H:%M %Z|agohover

I am considering to allow non-python plugins or external programs (such as imagemagick and why not tufuse, or…) in the next version of Phatch. I have to study this more, so don't count on it yet. However the more you help, the more chance?

"Phatch would need to be able to read a directory containing many bracketed photos, and split those photos up into groups. If I shoot a scene using bracketing of -2EV, 0EV and +2EV then phatch would need to split the photos in the dir into groups of 3. This is what EnfuseGUI does."

Can you explain me how Phatch could split up these photos? How does Phatch knows which photos belong together? By filename or exif tags (datetime, aperture, …)? If you don't know, please try to find out how EnfuseGUI does this.

unfold Re: tufuse by stanistani, 1205463736|%e %b %Y, %H:%M %Z|agohover
Re: tufuse
DrSlonyDrSlony 1205708250|%e %b %Y, %H:%M %Z|agohover

We cannot rely on EXIF tags as sometimes they get lost before being tufused. EnfuseGUI does this the same way Photomatix does - the user selects how many images per pair (typically 3 or 5), and then it splits them up alphabetically/numerically, so:
group 1: img0001.jpg, img0002.jpg, img0003.jpg
group 2: img0004.jpg, img0005.jpg, img0006.jpg
etc…
Phatch would then successively send out a group of images to tufuse, and when tufuse finishes grinding that group (3 10megapixel images take about 30 seconds to tufuse on my Core 2 Duo 2400MHz), send the next one, etc.

So the needed GUI options would be:
1- input box for number of images per group (no camera I know of brackets more than 9 so if you use a slider max should be 9)
2- output bit depth - 8 or 16
3- blend across 180 degree boundary yes/no
4- sigma (slider)
5- beta (slider)

last edited on 1205708527|%e %b %Y, %H:%M %Z|agohover by DrSlony + show more
unfold Re: tufuse by DrSlonyDrSlony, 1205708250|%e %b %Y, %H:%M %Z|agohover
Re: tufuse
stanistani 1205710280|%e %b %Y, %H:%M %Z|agohover

Ok, this is more clear. Are you willing to support this feature by writing the documentation and a tutorial with screenshots (and maybe screencast?) for it on the wiki? In case you don't, I have for sure no interest in implementing this. In case you do, I might consider it, but I really count on you for documentation and send me your email by private message. However I do not promise to implement it. Time will tell, but now it is up to you to take the first step.

unfold Re: tufuse by stanistani, 1205710280|%e %b %Y, %H:%M %Z|agohover
Re: tufuse
stanistani 1205750451|%e %b %Y, %H:%M %Z|agohover

If you want tufuse integration, vote for "external actions" here:
http://ubuntuforums.org/showthread.php?t=726547

unfold Re: tufuse by stanistani, 1205750451|%e %b %Y, %H:%M %Z|agohover
Re: tufuse
DrSlonyDrSlony 1205768409|%e %b %Y, %H:%M %Z|agohover

Sure I can document this feature and write a tutorial! Screencast no problem.

unfold Re: tufuse by DrSlonyDrSlony, 1205768409|%e %b %Y, %H:%M %Z|agohover
Re: tufuse
DrSlonyDrSlony 1205427256|%e %b %Y, %H:%M %Z|agohover

I just got wind that a cross-platform version of tufuse might be coming out very very soon! So would integrating it into Phatch using the photo-grouping functionality and sliders mentioned above be tough?

unfold Re: tufuse by DrSlonyDrSlony, 1205427256|%e %b %Y, %H:%M %Z|agohover
Re: tufuse
kwhitefootkwhitefoot 1205529928|%e %b %Y, %H:%M %Z|agohover

While Stani is working on a fully integrated method of executing external actions you might like to try either writing a simple action yourself or trying out the proof of concept code I made to do just this sort of thing. See this post: http://photobatch.wikidot.com/forum/t-44277#post-123948

If you have some programming skill you might be able to hack together a prototype that would show what you want. In my generic action class the external action can be any command line. You might be able to execute the command directly but you can also wrap an arbitrarily complex program in a shell script (or Python, or Perl, etc.) and have the script executed by Phatch.

You can create fields in the Phatch action and have those values passed to your script. Your script can then do the actual grouping and so on and then call the tufuse executable. Figuring out how to do this might be useful for Stani.

unfold Re: tufuse by kwhitefootkwhitefoot, 1205529928|%e %b %Y, %H:%M %Z|agohover
Re: tufuse
DrSlonyDrSlony 1205708790|%e %b %Y, %H:%M %Z|agohover

Unfortunately I know nothing of python programming yet.

unfold Re: tufuse by DrSlonyDrSlony, 1205708790|%e %b %Y, %H:%M %Z|agohover
Re: tufuse
stanistani 1205710583|%e %b %Y, %H:%M %Z|agohover

Don't worry. There are plenty of ways to contribute to Phatch:
- writing documentation
- writing tutorials
- providing/updating screenshots on the wiki (in the standard human theme)
With the above you really build up your 'phatch karma' (everything you do on the wiki does not get unnoticed ;-) ) and listen more seriously to your requests.

The following is also welcome, but won't impress me that much:
- translating
- promoting phatch on blogs, forums, digg, … spread the word
- donations

last edited on 1205710737|%e %b %Y, %H:%M %Z|agohover by stani + show more
unfold Re: tufuse by stanistani, 1205710583|%e %b %Y, %H:%M %Z|agohover
Re: tufuse
DrSlonyDrSlony 1206661195|%e %b %Y, %H:%M %Z|agohover

No cross platform version is planned, the author confirmed this himself.

But in other news!

Frederic Mantegazza wrote a bash script to read photos and split them into groups and send those to tufuse.exe through wine, and I just fixed it up to support spaces in file names, dirs and to support parameters. Maybe this will somehow guide you!

I will link to this script tomorrow as Im still working on one small bug in the script, after it runs all the groups it wants to run an extra group that doesnt exist.

unfold Re: tufuse by DrSlonyDrSlony, 1206661195|%e %b %Y, %H:%M %Z|agohover
Re: tufuse
DrSlonyDrSlony 1206803586|%e %b %Y, %H:%M %Z|agohover

You can now batch tufuse photos in linux!

See this wiki article:
http://www.autopano.net/wiki/action/view/Bashfuse

Don't know what tufuse is?
http://www.tawbaware.com/tufuse.htm

I also added functionality to the script to support non-tiff input files!

Of course if Phatch did this in a nice gui it would be much better, this script is a make-do solution!

last edited on 1206803632|%e %b %Y, %H:%M %Z|agohover by DrSlony + show more
unfold Re: tufuse by DrSlonyDrSlony, 1206803586|%e %b %Y, %H:%M %Z|agohover
Re: tufuse
stanistani 1206879448|%e %b %Y, %H:%M %Z|agohover

Thanks for the information. Right now the development of Phatch is frozen as it will be included in Ubuntu Hardy. This gives me time to think what and how to implement next. As Phatch will be available in the repositories I expect a lot of new users soon. I'd like to get their feedback as well when I restart developing.

unfold Re: tufuse by stanistani, 1206879448|%e %b %Y, %H:%M %Z|agohover
Re: tufuse
DrSlonyDrSlony 1246299805|%e %b %Y, %H:%M %Z|agohover

Update:
I now use enfuse, since it does the same job as tufuse but is free.

I use this script (note that as of today, the script on my PC is newer, I need to update it on the website, but here it is anyway):
BASHENFUSE
http://www.panopixel.org/bashenfuse.php

unfold Re: tufuse by DrSlonyDrSlony, 1246299805|%e %b %Y, %H:%M %Z|agohover
Re: tufuse
stanistani 1246363465|%e %b %Y, %H:%M %Z|agohover

Please file a blueprint for enfuse:
https://blueprints.launchpad.net/phatch

unfold Re: tufuse by stanistani, 1246363465|%e %b %Y, %H:%M %Z|agohover
New post
© 2007-2008 www.stani.be
(It is not allowed to copy, distribute or transmit any part of the wiki without written permission.
Only contribute to this wiki if you agree with this term.)