[hugin-ptx] Re: Automating creation of HDR pano

2009-12-11 Thread hdrpano
Panomatic is impressive.  Thanks for the tip!  I had to increase
sieve1 from 10 to 20, but then it found 28 controls points and all of
them appear to be good.

I'm not sure my hdr problem is about tonemapping.  The remapped images
produced by nona really don't look like hdr.  When I look at the
original hdr and vary the exposure, the sun grows from a tiny bright
point to washing out the entire sky.  When I remap the hdr using nona
and do the same, the sun is washing out the entire sky and varying the
exposure dims/brightens the whole image.  It seems my problem may be
with nona.

I notice that nona produces 2 files for every remapped image, ".exr"
and ".gray.pgm".  For the record, I'm looking at the .exr.  I don't
know how to use the .gray.ppm.

On Dec 4, 4:24 am, Nicolas Pelletier 
wrote:
> 2 small details to add.
>
> Finding control points can be 100% done command line. Look for the software
> panomatic (not part of hugin). It can do the job extremely well.
>
> Second, a HDR will always look washed out until you process it back to an
> LDR. That process is called tonemapping. You can use some other software for
> that, or you can use exposure blending with enfuse (part of the hugin
> package).
>
> Hope this helps.On Fri, Dec 4, 2009 at 2:29 AM, hdrpano  
> wrote:
>
> > Thanks for the replies!  It would be nice to be able to do everything on
> > the
> > command line, including finding control points.  But for now, I'm choosing
> > control points by hand and writing out a PTStitcher file, replacing the
> > filenames to stitch each exposure.  For example, to create 5 panos for 5
> > exposures:
>
> > nona -r ldr -m TIFF_m -o exp1 PTStitcher1.txt
> > enblend -w -f8000x4000 -o exp1.tif exp1.tif exp10001.tif exp10002.tif
> > ...
> > nona -r ldr -m TIFF_m -o exp5 PTStitcher5.txt
> > enblend -w -f8000x4000 -o exp5.tif exp5.tif exp50001.tif exp50002.tif
>
> > This works.  Then I create another PTStitcher to merge the 5 panos into
> > hdr:
>
> > nona -r hdr -m EXR_m -o PTStitcher6.txt
> > hugin_hdrmerge -m avg -c -o pano.exr pano_.exr pano_0001.exr
> > pano_0002.exr pano_0003.exr pano_0004.exr
>
> > This doesn't work.  I'm not sure what's wrong yet but the pano.exr doesn't
> > seem to be hdr.  It looks like a very bright and washed out ldr.  Will
> > investigate more tomorrow.
>
> > Can all (or any) of the above be done with pfstools?  How does that compare
> > with hugin?
>
> > Bruno Postle-4 wrote:
>
> > > On Dec 3, 12:58 pm, Nicolas Pelletier 
> > > wrote:
> > >> Following the original posters request, is there a way (i.e. command
> > line
> > >> tool) to add the crop to the pto automatically? I'd guess that the
> > values
> > >> are consistent from one picture to another with the same fisheye...
>
> > > You can set any value in a project file with Panotools::Script,
> > > something like this (untested):
>
> > >   #!/usr/bin/perl
> > >   use Panotools::Script;
> > >   my $pto = new Panotools::Script;
> > >   $pto->Read ($ARGV[0]);
> > >   $_->{S} = '-459,2459,-57,2861' for @{$pto->Image};
> > >   $pto->Write ($ARGV[0]);
>
> > >> On Thu, Dec 3, 2009 at 7:40 AM, bruno.postle
> > >> wrote:
>
> > >> > On Dec 3, 9:42 am, Oskar Sander  wrote:
> > >> > > How does hugin handle all this black void in the image, is this
> > >> ignored in
> > >> > > blend & fusing?
>
> > >> > Only if you are lucky with seam placement, for circular fisheye photos
> > >> > you really need to mask out the black areas using the Hugin Crop tab.
>
> > > --
> > > 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 hugin-ptx@googlegroups.com
> > > To unsubscribe from this group, send email to
> > > hugin-ptx+unsubscr...@googlegroups.com
> > > For more options, visit this group at
> > >http://groups.google.com/group/hugin-ptx
>
> > --
> > View this message in context:
> >http://old.nabble.com/Automating-creation-of-HDR-pano-tp26621718p2663...
> > Sent from the hugin ptx mailing list archive at Nabble.com.
>
> > --
> > 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 hugin-ptx@googlegroups.com
> > To unsubscribe from this group, send email to
> > hugin-ptx+unsubscr...@googlegroups.com
> > For more options, visit this group at
> >http://groups.google.com/group/hugin-ptx

-- 
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 hugin-ptx@googlegroups.com
To unsubscribe from this group, send email to 
hugin-ptx+unsub

[hugin-ptx] Re: Automating creation of HDR pano

2009-12-03 Thread bruno.postle
On Dec 3, 12:58 pm, Nicolas Pelletier 
wrote:
> Following the original posters request, is there a way (i.e. command line
> tool) to add the crop to the pto automatically? I'd guess that the values
> are consistent from one picture to another with the same fisheye...

You can set any value in a project file with Panotools::Script,
something like this (untested):

  #!/usr/bin/perl
  use Panotools::Script;
  my $pto = new Panotools::Script;
  $pto->Read ($ARGV[0]);
  $_->{S} = '-459,2459,-57,2861' for @{$pto->Image};
  $pto->Write ($ARGV[0]);

> On Thu, Dec 3, 2009 at 7:40 AM, bruno.postle 
> wrote:
>
> > On Dec 3, 9:42 am, Oskar Sander  wrote:
> > > How does hugin handle all this black void in the image, is this ignored in
> > > blend & fusing?
>
> > Only if you are lucky with seam placement, for circular fisheye photos
> > you really need to mask out the black areas using the Hugin Crop tab.

-- 
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 hugin-ptx@googlegroups.com
To unsubscribe from this group, send email to 
hugin-ptx+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/hugin-ptx


Re: [hugin-ptx] Re: Automating creation of HDR pano

2009-12-03 Thread Nicolas Pelletier
Following the original posters request, is there a way (i.e. command line
tool) to add the crop to the pto automatically? I'd guess that the values
are consistent from one picture to another with the same fisheye...

nick

On Thu, Dec 3, 2009 at 7:40 AM, bruno.postle wrote:

> On Dec 3, 9:42 am, Oskar Sander  wrote:
> > Isn't the circular fisheye projecting a circle on the sensor with the
> rest
> > of the sensore rectangle black?   The HFOV is the sensor long-side field
> of
> > view, so it could be correct if you would imagine the lens would be
> > projecting outside the circle too.
> >
> > How does hugin handle all this black void in the image, is this ignored
> in
> > blend & fusing?
>
> Only if you are lucky with seam placement, for circular fisheye photos
> you really need to mask out the black areas using the Hugin Crop tab.
>
> --
> 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 hugin-ptx@googlegroups.com
> To unsubscribe from this group, send email to
> hugin-ptx+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/hugin-ptx
>

-- 
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 hugin-ptx@googlegroups.com
To unsubscribe from this group, send email to 
hugin-ptx+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/hugin-ptx

[hugin-ptx] Re: Automating creation of HDR pano

2009-12-03 Thread bruno.postle
On Dec 3, 9:42 am, Oskar Sander  wrote:
> Isn't the circular fisheye projecting a circle on the sensor with the rest
> of the sensore rectangle black?   The HFOV is the sensor long-side field of
> view, so it could be correct if you would imagine the lens would be
> projecting outside the circle too.
>
> How does hugin handle all this black void in the image, is this ignored in
> blend & fusing?

Only if you are lucky with seam placement, for circular fisheye photos
you really need to mask out the black areas using the Hugin Crop tab.

-- 
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 hugin-ptx@googlegroups.com
To unsubscribe from this group, send email to 
hugin-ptx+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/hugin-ptx