Bugbear,
That's cool. Very fast and exiting.
Unfortunately I get a warning with each execution. But it does produce the 
output files:

watkins-mbp-admins-macbook-pro:Testy jpwmacbookpro$ convert o1.tif 
-sigmoidal-contrast 5x100% c100.tif 
*convert: o1.tif: wrong data type 3 for "GainControl"; tag ignored. 
`TIFFReadCustomDirectory' @ warning/tiff.c/TIFFWarnings/824.*

Then when it gets to the enfuse command, it can't find enfuse:

watkins-mbp-admins-macbook-pro:Testy jpwmacbookpro$ enfuse --output=o2.tif 
 c000.tif c020.tif c040.tif c060.tif c080.tif c100.tif
*-bash: enfuse: command not found*

I assume this is because there is a problem with my .profile. It looks like 
a mess to me (fricking MacPorts, I guess.)
And yes, I have no real idea of what I'm doing or how to doit and  have 
been unable to get usable help on what I'm doing  wrong. I suspect the path 
to Hugin/Hugintools/ is incorrect.
Help from any kind soul would be greatly appreciated.  :-)
John

.profile (which is in ~) contains this text (my additions are in bold):

# MacPorts Installer addition on 2012-08-12_at_18:57:16: adding an 
appropriate PATH variable for use with MacPorts.
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
# Finished adapting your PATH environment variable for use with MacPorts.


##
# Your previous /Users/jpwmacbookpro/.profile file was backed up as 
/Users/jpwmacbookpro/.profile.macports-saved_2012-10-11_at_23:28:46
##

# MacPorts Installer addition on 2012-10-11_at_23:28:46: adding an 
appropriate PATH variable for use with MacPorts.
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
# Finished adapting your PATH environment variable for use with MacPorts.


##
# Your previous /Users/jpwmacbookpro/.profile file was backed up as 
/Users/jpwmacbookpro/.profile.macports-saved_2012-10-15_at_13:53:25
##

# MacPorts Installer addition on 2012-10-15_at_13:53:25: adding an 
appropriate PATH variable for use with MacPorts.
*export 
PATH=/opt/local/bin:/opt/local/sbin:$PATH:/Applications/Hugin/Hugintools*
# Finished adapting your PATH environment variable for use with MacPorts.


##
# Your previous /Users/jpwmacbookpro/.profile file was backed up as 
/Users/jpwmacbookpro/.profile.macports-saved_2012-10-15_at_14:33:27
##

# MacPorts Installer addition on 2012-10-15_at_14:33:27: adding an 
appropriate PATH variable for use with MacPorts.
*export 
PATH=/opt/local/bin:/opt/local/sbin:/Applications/Hugin/HuginTools/:$PATH*
# Finished adapting your PATH environment variable for use with MacPorts.


On Wednesday, December 12, 2012 3:55:33 AM UTC-6, bugbear wrote:
>
> JohnPW wrote: 
> > What are you folks doing to "faux-bracket" your images? 
> > With RAW files, obviously you can do all sorts of non-destructive 
> things, but I assume you aren't using RAW files though, or it wouldn't 
> really be all that "faux." 
> > If you are using conventional files, I assume you are adjusting the 
> curves? 
> > 
> > Sorry BugBear, I'm not smart enough to be able to read your perl script 
> (other than that you are using something to adjust something and then 
> enfusing the resulting images!) 
> > 
> > I really need to lear scripting! 
>
> OK - ignoring the script, here are the external commands issued by the 
> script for a run: 
>
> proc.pl o1.tif o2.tif 
>
> convert o1.tif -sigmoidal-contrast 5x0% c000.tif 
> convert o1.tif -sigmoidal-contrast 5x20% c020.tif 
> convert o1.tif -sigmoidal-contrast 5x40% c040.tif 
> convert o1.tif -sigmoidal-contrast 5x60% c060.tif 
> convert o1.tif -sigmoidal-contrast 5x80% c080.tif 
> convert o1.tif -sigmoidal-contrast 5x100% c100.tif 
> enfuse --output=o2.tif  c000.tif c020.tif c040.tif c060.tif c080.tif 
> c100.tif 
>
> I'm assuming people on this list know what enfuse does. 
>
> I'm using ImageMagick ("convert") to make derived files from the original 
> image, with (severaly) skewed image curves, all the way from skewed 
> to the dark (so most of the dynamic range in the output file is expanded 
> from the shadows of the source) to skewed to the dark (ditto, sort of). 
>
>
> http://www.imagemagick.org/script/command-line-options.php#sigmoidal-contrast 
> http://en.wikipedia.org/wiki/Sigmoid_function 
>
> The upshot is a range of image with enhanced contrast in the 
> various intensity ranges of the original image. 
>
> Enfuse then "just" picks and merges the best pixels in 
> the usual way. 
>
>   BugBear 
>

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

Reply via email to