Re: [hugin-ptx] Windows - unable to align images; artefacts and unhandled exceptions

2017-02-23 Thread Matija Kogoj
Wow... I am following your walkthrough and it's... amazing. Going to expert 
mode really changed a lot. And in all my time using the program I never 
even heard of the f3 thing. I'd ask where you learned of it but you'd 
probably say that it's in documentation. Honestly though, I haven't seen 
anything similar. Feels like the mode change switch the algorithm used too. 
It's not perfect but at least this time it has shape.

Thanks!

-- 
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 hugin-ptx+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/cff0746c-4554-463d-9adf-1df4aa4f9c47%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [hugin-ptx] Windows - unable to align images; artefacts and unhandled exceptions

2017-02-23 Thread Matija Kogoj
Link to the files.

https://we.tl/k0QyhoinvG

Wetransfer holds them only for 7 days. The file is 1.2GB .7z at the moment.

-- 
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 hugin-ptx+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/cb6bedad-e82e-4a23-9895-efb8c405ad08%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [hugin-ptx] Windows - unable to align images; artefacts and unhandled exceptions

2017-02-23 Thread Matija Kogoj
Thank you for your in-depth reply, I'll give your walkthrough a go. I'm 
sorry the format is confusing, I am somewhat embarrassed now.

There are no real "requests" as far as features are concerned, but the txt 
file holds a list of things I found could be improved for convenience. As 
far as I know you can do everything in the way it is now (as long as it 
works properly), but context menus are the biggest idea I think.
Then there were things I didn't know what to make of so I just described in 
a general manner, hence the pictures. If there was an error log I would 
have sent that too.

-- 
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 hugin-ptx+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/507f9e14-e831-439b-b529-36a34644c410%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [hugin-ptx] Windows - unable to align images; artefacts and unhandled exceptions

2017-02-23 Thread Stefan Peter
Dear Matija Kogoj

On 23.02.2017 13:20, Matija Kogoj wrote:
> ***Problem 1*:
> There are about 22 tiff photographs taken with a gopro; lot of snow,
> treelines in medium range. The images load normally and camera data is
> read - about 3mm focal length at 5 crop factor.

>From your description I conclude that you have left hugin in its default
mode (Interface -> Simple). I doubt that this mode is sufficient for the
type of panorama you want to achieve.

Please switch to expert mode and create a new project.

Then use the "Add images .." button to add your images to the project.

The next step would be to set the stack size. Right-click into the list
of images and select Stacks -> Set stacks size. Here, you have to set
the "Link positions of each image in Stack", too: If your images were
shot on a sturdy tripod and you are sure that the stacks do not need
additional alignment, you can set this tick mark, otherwise remove it.

Next step is to create control points. However, I assume that Hugin's
CPFind somehow takes the lens type into account, at least I get much
better results for my samyang images when setting the lens type to
Stereogrphich instead of the default Normal (rectilinear). I have no
idea what lens type you used, so you may have to google this or
experiment with the various options. In any case, make sure you select
all the images and then set the lens type properly if it is not set so
already.

Clicking on "Create control points" finishes this step. Now it would be
a good time to save your project.

I normally then move to the Optimize step. First, I do "Positions
(incremental, starting from anchor)", then "Positions and view
(y,p,r,v)". This would be another good point in time to save your
project, by the way.

Afterwards, I do a first rough pruning of the control points. For this,
I press F3, then "Select by distance" and accept whatever Hugin
suggests. Pressing the delete key gets rid of the control points that
lay outside of the value chosen. I may have to repeat the Align and
Delete steps a couple of times until the maximum distance is below 5 or
2, or 10, or .. This really depends on the quality of the shots and the
number of control pints I get. You will need to leave enough control
points so all your images stay connected, but the more outliers you can
eliminate, the better the panorama will turn out.

Afterwards, I set the geometric optimization to "Everything without
translation" and repeat the optimizing and pruning until the maxiumun
distance is below 1.0.

Next step would be to run the Photometric optimizer. When doing HDR, one
of the "High dynamic range" settings is recommended.


If this is not a full sphere panorama, some fiddling with output
projection type, centring, fitting, straightening and cropping is
required next.

Then, we switch to the stitcher tab and define the output image type we
would lie to get. Press Stitch! and enjoy!



 Clicking align always
> leaves out at least one image.

I can not comment on this as I never use simple mode. However, the last
image just may not get any control points, so it is being ignored by hugin.

 After I assign control points and click
> align again something weird happens every time. Links will be active for
> about 6 months.
> 
> http://pasteall.org/pic/index.php?id=112887

According to the statistical values displayed in the upper right corner,
this pano either was not optimized properly or the control point
generator was thrown off by the snow. Can you provide a link to the
tiffs and the pto somewhere so we can have a look?


> http://pasteall.org/pic/index.php?id=112888

This I can not diagnose, I suppose a developer with windows development
tools may be able to do so, Again, if the pto and the images would
available, this would be helpful.


> 
> I noticed that I can drag images by clicking on the sphere. If I try to
> do that in this case an unhandled, unknown exception message pops up. I
> can ignore, abort or retry, though no change happens.

Dragging images around in a botched pto can lead to severe geometrical
problems that may not be handled properly because nobody tested this
specific situation. And I have never been able to get a proper panorama
when trying to move images around.

> 
> 
> ***Problem 2:*
> Alignment doesn't work. Project is the same - 22 tiff files, 3 layers of
> exposure, 6-7 stacks.
> Stacks don't align automatically, and after putting them into groups
> manually they still often form 0 new control points (CPFind nor
> align_image_stack)

Please see above.


> After assigning a few of my own control points the software still finds
> no others by itself.

If the lens type in your project does not match the physical lens type,
things like this can happen. Additionally, for an algorithm, it is very
hard to find control points in images mostly containing snow. But
without being able to have a vclose look at the images and the ptos,
this is ll speculation.


> If project watered down to 6 images in cylindri

Re: [hugin-ptx] Windows - unable to align images; artefacts and unhandled exceptions

2017-02-23 Thread Stefan Peter
Dear Matija Kogoj

On 23.02.2017 13:20, Matija Kogoj wrote:
> Good afternoon everyone. I'm glad I finally found a group for my
> hugin... questions. For I have many.
> 
> Win7, 64b
> NVidia graphics card (didn't make a difference yet but maybe relevant)
> 
> First, let me express my appreciation for the software - I have been
> using Hugin on and off for years now. Around 2011 I even did more
> panoramic work in it than in Photoshop, but recently I've been
> struggling with the software:
> Note: I need TIFF to create an HDRI for equirectangular high-bit 3D
> environment map.
> 
> ***Quick enquiry:*
> TIFFDecode also keeps throwing "no datatype, sampletype, guessing
> uit16". Any way I can fix that?*

Not directly. The Tiff library used in hugin happens to be very vocal
when encountering files that do not specify all the parameters that
define the type of image inside the tiff. However, some of the programs
creating those tiff files use other libraries, and those libraries seem
to be a little bit sloppy in this regard. Here, you program that created
the tiff files felt it to be obvious that the sampletype tag should be
unsigned 16 bit integer and therefore refrained from explicitly
specifying this. libtiff, however, expected this tag to be specified and
complains that id wasn't. Because it probably guessed correctly, the
images are displayed by hugin without strange colors, so no harm caused
here.

If you really want to get rid of this error message, you have several
options:
o complain to the producer of hte program you created the tiff files
that the sampletype tag is missing the the tiffs produced by hi software.
o convert the tiffs in a program that properly rewrites them.

Because these messages are irritating at the most, I'd recommend to
simply ignore them.

With kind regards

Stefan Peter

-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
(See https://en.wikipedia.org/wiki/Posting_style for details)

-- 
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 hugin-ptx+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/282dccc9-a3bc-1cf2-4863-34680c2c14f6%40swissonline.ch.
For more options, visit https://groups.google.com/d/optout.


[hugin-ptx] Windows - unable to align images; artefacts and unhandled exceptions

2017-02-23 Thread Matija Kogoj
Good afternoon everyone. I'm glad I finally found a group for my hugin... 
questions. For I have many.

Win7, 64b
NVidia graphics card (didn't make a difference yet but maybe relevant)

First, let me express my appreciation for the software - I have been using 
Hugin on and off for years now. Around 2011 I even did more panoramic work 
in it than in Photoshop, but recently I've been struggling with the 
software:
Note: I need TIFF to create an HDRI for equirectangular high-bit 3D 
environment map.

***Quick enquiry:*
TIFFDecode also keeps throwing "no datatype, sampletype, guessing uit16". 
Any way I can fix that?

***Problem 1*:
There are about 22 tiff photographs taken with a gopro; lot of snow, 
treelines in medium range. The images load normally and camera data is read 
- about 3mm focal length at 5 crop factor. Clicking align always leaves out 
at least one image. After I assign control points and click align again 
something weird happens every time. Links will be active for about 6 months.

http://pasteall.org/pic/index.php?id=112887
http://pasteall.org/pic/index.php?id=112888

I noticed that I can drag images by clicking on the sphere. If I try to do 
that in this case an unhandled, unknown exception message pops up. I can 
ignore, abort or retry, though no change happens.


***Problem 2:*
Alignment doesn't work. Project is the same - 22 tiff files, 3 layers of 
exposure, 6-7 stacks.
Stacks don't align automatically, and after putting them into groups 
manually they still often form 0 new control points (CPFind nor 
align_image_stack)
After assigning a few of my own control points the software still finds no 
others by itself.
If project watered down to 6 images in cylindrical projection with no 
stacks still no effect.
Does drag/move tab have any relevance for finding control points?


***Feature requests:*First let me say that I know how much work goes into 
implementing new features.  wish I could code them myself but I'm not good 
at it. Regardless, most of these are things I grew frustrated with after 
doing the same thing for the seventh time, and I believe that it could make 
use of Hugin much easier, potentially expanding the audience. At the very 
least I have not met many who know about it even though, as I said, it used 
to be better than Photoshop.


*--*Wow, what an introduction.

-- 
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 hugin-ptx+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/6dc6bfe2-81d8-4789-9010-46e3da1cef9a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Either broken or use completely counterintuitive.

control point interface awkward:

everything needs RIGHT-CLICK CONTEXT MENU

lines in CP tab always set as vertical if automatic
needs system to reclassify multiple lines at same time, because often automatic 
horizontal understood as vertical. Either that or system unclear on use of 
horiz/vertic

zooming in/out requires too much clicking - specific mouse pointing; should be 
scroll, +/-, wsad or something.
needs hotkeys to add point, vertical line, horizontal line

vert/hor lines too often break into inverted circle
TIFF input very often problematic (not guessing uint16...)
workflow unclear - everything ok when 1. 2. 3. works ok; when two-step problem 
occurs everything breaks:
what does what, what influences what else (layout/move drag make difference? 
manual CP no effect on automatic CPFind)
Add/remove

needs mask automatically added on click on picture in masks tab, default to 
exclude, right click menu -> include if otherwise

Control point menu: left click add point, right click add line or drag image

==
Important things that I know nothing about so I don't like to point them out:

CPFind often finds nothing even after user set some basic control points. Roll
Errors when aligning - stacks adding 0 CP for shots with good coverage

Program loops, freezes, buggs out or crashes when you misalign the 
simple/advanced/expert interfaces too much. Meaning you click from simple to 
advanced, then in advanced you area already at simple, you work in simple but 
then you try to reset advanced to simple but it doesn't work and when you try 
to put simple to advanced again it crashes. Or something along these lines, 
basically two windows kind of make a problem.