• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

making a plugin to run hugin - a couple of questions

Explorer ,
Aug 02, 2011 Aug 02, 2011

Copy link to clipboard

Copied

I've started writing a plugin to pass a bunch of photos to hugin (panorama stitcher to start with)  (I have looked around for something to do this, and found opendirectly, but it

I'm just wondering how I arrange to bring back the resultant image (or perhaps images) so they are associated with the originals.

Also it would be useful to be able to keep the hugin project file as well.

So far I assume I can

  1. pick up the currently selected photos using getMultipleSelectedOrAllPhotos
  2. use an internal export service to get the selected photos out as tiff files (which would also allow rescaling before passing to hugin)
  3. prepare a basic hugin project file
  4. invoke hugin through a lightroom task and wait till it finishes
  5. bring back the resultant file (somehow....??)
  6. also save the project file (somehow... ??) so hugin can be re-run starting from the settints previously used.

Does this make sense?

Any comments advice?

TOPICS
SDK

Views

2.1K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Aug 02, 2011 Aug 02, 2011

Copy link to clipboard

Copied

LATEST

You can import the resulting image into the catalog using catalog:addPhoto (path, stackWithPhoto, position).  This will let you stack the new image with an existing image.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines