Hi,
Thank you all so much for the help.

I've managed to generate two separate files that have the same size, using 
the "remapped images" option as you suggested. But when I'm layering them 
one on top of another and fixing the alignment, the distortions are still 
there :-(
At first I thought my control points might be off, and so I checked and 
they indeed were - the automatic control points finder did a really poor 
job, probably because of the noise one of the images have. So I removed all 
control points and added 20 new ones (is this enough?), which are as 
accurate as I could find.

Still, generating the images doesn't fix the distortion I get when trying 
to align them afterwards.
Is it possible that Hugin is ignoring my control points for some reason? 
Maybe I forgot to tick something?

As for align_image_stack, I've tried it but I think it can't find any 
control points. That's the output I'm getting:
---
$ align_image_stack -p debug.pto -a stacked 14560002.JPG 14560014.JPG       
                                                                            
                                        ⏎
No Feature Points
Bad params
No Feature Points
Bad params
An error occured during optimization.
Try adding "-p debug.pto" and checking output.
Exiting...
---

debug.pto doesn't seem to contain anything useful.

Any ideas for why my control points doesn't seem to fix the distortion? I 
believe Hugin is giving them a really bad score (I had to take the 
threshold to 0.3 in the preferences panel) but I think it's because of the 
noise and the size difference. Do I need to add more maybe?

I'm using Hugin 2014.0.0.5da69bc383dd on Arch Linux for what it matters...

Thanks again.
Yo'av

On Thursday, 2 April 2015 07:55:53 UTC+3, Tduell wrote:
>
> On Wed, 01 Apr 2015 01:47:59 +1100, Yo'av Moshe <[email protected] 
> <javascript:>> wrote: 
>
> > Hi, 
> > Knowing that Hugin is made specifically for creating panorama images, I 
>   
> > was wondering if I can use it for the following task: 
> > 
> > I have two scanned images (scanned from a roll film). Image A is larger 
> > than image B, but image B has better colours and saturation. What I was 
> > thinking to do is to put image B on top of image A, and then to apply   
> > only the hue and saturation properties of it onto image A. 
> > To do this, I need to have both images aligned perfectly on top of   
> > another. 
> > Problem is that as as expected with any scanned image, the cropping is 
> > slightly different, there are minor distortions etc'. 
> > 
> > I wanted to use Hugin to create a file based on image B, that is aligned 
> > according to image A (meaning: it's the same size as image A and all 
> > elements in it are aligned correctly). 
> > 
>
> Have you had any success with this? 
> If not, try following the "stitching flat scanned images" tutorial 
> <http://hugin.sourceforge.net/tutorials/scans/en.shtml>, 
> and instead of selecting a panorama output in the Stitcher tab, select one 
> of the Remapped images outputs, which will save a set of aligned images. 
> You could also try exposure fusion in the Stitcher tab, as has been   
> suggested. 
> In both cases, you may need to manually add/edit control points to ensure 
>   
> a very accurate alignment. 
> Let's know how you get on so others can learn from your experience. 
>
> Cheers, 
> -- 
> Regards, 
> Terry Duell 
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/69f18351-f50a-4605-9f5c-3ca8e40f1953%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to