Yah, probably would be, especially for complex image sets. Maybe could make it a manual option user could specify on starting a stitch; maybe even select which image to start with for each thread. Then if it blows up, user can try it again without it. But, yah, be just faster to run seaming in a single thread!

On 04/30/2012 02:54 AM, Monkey wrote:
I suspect that any code required to work out if and how a particular
image layout could be broken down into parallelisable chunks would be
far more complicated and far slower than seaming itself!

David

On Monday, April 30, 2012 10:09:17 AM UTC+1, GnomeNomad wrote:

    Could you multi-thread seaming by working from opposite sides of the
    panorama simultaneously? For example, a strip panorama - do the seaming
    for the first 2 images while also doing the seaming for the last 2
    images (assuming there's enough images in the pano for that to work).
    Maybe use opposite corners for multi-row/multi-column panos.

    On 04/29/2012 09:13 PM, Monkey wrote:
     > I did try multi-threading it in a couple of places, but maybe it was
     > doing it wrong because it didn't make it any quicker. That was with
     > native Windows multithreading - unfortunately Microsoft don't
    want you
     > to use OpenMP with Visual C++ Express, which is the only option now
     > multiblend is multi-platform. Besides which, the seaming
    algorithm can't
     > be multithreaded (at least not easily), and that and image
    loading are
     > usually the two slowest parts.
     >
     > David
     >
     > On Monday, April 30, 2012 7:24:32 AM UTC+1, GnomeNomad wrote:
     >
     > Thanks, I thought it was multi-threaded.
     >
     > On 04/28/2012 11:41 PM, Monkey wrote:
     > > The same benefit it has on any system - it's quicker (but not
     > better)
     > > than Enblend :). The "multi" in multiblend doesn't have anything
     > to do
     > > with multicore processing - it's (currently) single-threaded.
     > >
     > > On Sunday, April 29, 2012 1:26:16 AM UTC+1, GnomeNomad wrote:
     > >
     > > What benefit does multiblend have on uniprocessor systems?


    --
    Gnome Nomad
    gnomeno...@gmail.com <mailto:gnomeno...@gmail.com>
    wandering the landscape of god
    http://www.clanjones.org/david/ <http://www.clanjones.org/david/>
    http://dancing-treefrog.deviantart.com/
    <http://dancing-treefrog.deviantart.com/>
    http://www.cafepress.com/otherend/ <http://www.cafepress.com/otherend/>


--
Gnome Nomad
gnomeno...@gmail.com
wandering the landscape of god
http://www.clanjones.org/david/
http://dancing-treefrog.deviantart.com/
http://www.cafepress.com/otherend/

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

Reply via email to