cpfind - no control points on large images

93 views
Skip to first unread message

dgjohnston

unread,
Aug 30, 2017, 3:27:25 PM8/30/17
to Hugin Pano
Hi, I running hugin as follows:
  • 2017.0.0.eac5e8cc546e built by Niklas Mischkulnig
  • MacBook Pro, macOS Sierra 10.12.6 with 8GB memory
When I load in large images cpfind doesn’t generate any control points and I get an error message about “Warning 2 unconnected image groups found:[0], [1]”
This depends on the size of the two images I’m using in this pano. The breaking points seems to be at about 6043x4033 pixels (each of the two images at about 24.5MB jpegs). I say “about” because most of the time 6043x4033 works but that size has failed at times; and … 6044x4034 fails most of the time but has worked.

Am I missing an image size limitation? I tried searching for this but can’t find anything.


Here is the log:

Searching for control points...
Hugin's cpfind 2017.0.0.eac5e8cc546e built by Niklas Mischkulnig
based on Pan-o-matic by Anael Orlinski

The available memory does not allow running 8 threads parallel.
Running cpfind with 6 threads.

Project contains the following images:
Image 0
  Imagefile: /Users/donaldjohnston/Pictures/2017-06  Yukon/2017-06-13/053_Yukon_DSC2046DonCamDxO.jpg
  Remapped : yes
Image 1
  Imagefile: /Users/donaldjohnston/Pictures/2017-06  Yukon/2017-06-13/054_Yukon_DSC2047DonCamDxO.jpg
  Remapped : yes

--- Analyze Images ---
i0 : Analyzing image...
i1 : Analyzing image...

--- Find matches ---
i0 <> i1 : Found 0 matches

--- Find matches in images groups ---

--- Find pair-wise matches ---

--- Write Project output ---
Written output to /var/folders/__/vfghr3d56md75j262qvbhrgw0000gn/T/ap_resBX6CCx

Detection took 14.557 seconds.

Greg 'groggy' Lehey

unread,
Aug 30, 2017, 8:15:54 PM8/30/17
to hugi...@googlegroups.com
On Wednesday, 30 August 2017 at 13:27:20 -0600, dgjohnston wrote:
> Hi, I running hugin as follows:
> 2017.0.0.eac5e8cc546e built by Niklas Mischkulnig
> MacBook Pro, macOS Sierra 10.12.6 with 8GB memory
>
> When I load in large images cpfind doesn???t generate any control
> points and I get an error message about ???Warning 2 unconnected
> image groups found:[0], [1]???
>
> This depends on the size of the two images I???m using in this
> pano. The breaking points seems to be at about 6043x4033 pixels
> (each of the two images at about 24.5MB jpegs). I say ???about???
> because most of the time 6043x4033 works but that size has failed at
> times; and ??? 6044x4034 fails most of the time but has worked.
>
> Am I missing an image size limitation? I tried searching for this
> but can???t find anything.

It's difficult to tell without seeing the images. Can you post them
somewhere (thanks for not including them in your mail message).

Greg
--
Sent from my desktop computer.
Finger groo...@gmail.com for PGP public key.
See complete headers for address and phone numbers.
This message is digitally signed. If your Microsoft mail program
reports problems, please read http://lemis.com/broken-MUA
signature.asc

dgjohnston

unread,
Aug 30, 2017, 9:18:03 PM8/30/17
to Hugin Pano
On Aug 30, 2017, at 6:15 PM, Greg 'groggy' Lehey <groo...@gmail.com> wrote:

On Wednesday, 30 August 2017 at 13:27:20 -0600, dgjohnston wrote:
Hi, I running hugin as follows:
2017.0.0.eac5e8cc546e built by Niklas Mischkulnig
MacBook Pro, macOS Sierra 10.12.6 with 8GB memory

When I load in large images cpfind doesn???t generate any control
points and I get an error message about ???Warning 2 unconnected
image groups found:[0], [1]???

This depends on the size of the two images I???m using in this
pano. The breaking points seems to be at about 6043x4033 pixels
(each of the two images at about 24.5MB jpegs). I say ???about???
because most of the time 6043x4033 works but that size has failed at
times; and ??? 6044x4034 fails most of the time but has worked.

Am I missing an image size limitation? I tried searching for this
but can???t find anything.

It's difficult to tell without seeing the images.  Can you post them
somewhere (thanks for not including them in your mail message).

I didn’t want to put images up at first in case I was missing something obvious. Here is a link to the images on dropbox. They are the same two images but one set (5000 wide) works and the other (7000 wide) doesn’t work.

Don


Greg
--
Sent from my desktop computer.
Finger groo...@gmail.com for PGP public key.
See complete headers for address and phone numbers.
This message is digitally signed.  If your Microsoft mail program
reports problems, please read http://lemis.com/broken-MUA

--
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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hugin-ptx/20170831001548.GM15380%40eureka.lemis.com.
For more options, visit https://groups.google.com/d/optout.

Greg 'groggy' Lehey

unread,
Aug 31, 2017, 2:27:10 AM8/31/17
to hugi...@googlegroups.com
On Wednesday, 30 August 2017 at 19:17:57 -0600, dgjohnston wrote:
>
>> On Aug 30, 2017, at 6:15 PM, Greg 'groggy' Lehey <groo...@gmail.com> wrote:
>>
>> On Wednesday, 30 August 2017 at 13:27:20 -0600, dgjohnston wrote:
>>> Hi, I running hugin as follows:
>>> 2017.0.0.eac5e8cc546e built by Niklas Mischkulnig
>>> MacBook Pro, macOS Sierra 10.12.6 with 8GB memory
>>>
>>> When I load in large images cpfind doesn???t generate any control
>>> points and I get an error message about ???Warning 2 unconnected
>>> image groups found:[0], [1]???
>>
>> It's difficult to tell without seeing the images. Can you post them
>> somewhere (thanks for not including them in your mail message).
>
> I didn???t want to put images up at first in case I was missing
> something obvious. Here is a link to the images on dropbox. They are
> the same two images but one set (5000 wide) works and the other
> (7000 wide) doesn???t work.
> https://www.dropbox.com/sh/9o35ps53i5r8cvj/AADg-9bdH8BoKOhKDZmLKgjUa?dl=0
> <https://www.dropbox.com/sh/9o35ps53i5r8cvj/AADg-9bdH8BoKOhKDZmLKgjUa?dl=0>

OK, I've taken a look at the two "Fails" images, and yes, cpfind fails
silently for me too. I tried it with panomatic, and that works. I've
stitched an 81 MP panorama from them, which you can find at
http://www.lemis.com/grog/tmp/Fails.jpeg

So yes, it looks as if this is a bug with cpfind. For the time being
you can work around it by using panomatic.
signature.asc

T. Modes

unread,
Aug 31, 2017, 1:37:41 PM8/31/17
to hugin and other free panoramic software


Am Mittwoch, 30. August 2017 21:27:25 UTC+2 schrieb Donald Johnston:
Am I missing an image size limitation? I tried searching for this but can’t find anything.

It was a bug. It should be fixed now in repository.
As a workaround for the time being increase the ransac threshold distance to e.g. 100 pixel for bigger images (add --ransacdist=100 to cpfind command line parameters).

dgjohnston

unread,
Aug 31, 2017, 9:57:09 PM8/31/17
to Hugin Pano
I added in the ransacdist parameter and put in the two images at full resolution (7360x4912 - 36.3 MB) and it worked great!

Thanks Thomas.
Don J.



--
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+...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages