Do the 'panorama tools' work on the MacPorts version of Digikam?

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Do the 'panorama tools' work on the MacPorts version of Digikam?

Phil Stanford
Hi -
I have Digikam 2.1.1 installed on a MacBook Pro using MacPorts.
However, I find that the 'Tools' menu doesn't include the item 'Stitch images into a panorama'  item as indicated it should do in the instruction.

I did wonder if I needed explicitly to install 'hugin' on the Mac, which I've now done (after some minor glitches with the MacPorts install) and which seems to work.
Also, Digikam gives an error when I try to use the Tools / Blend bracket images    option, telling me it can't find the 'align_image_stack' executable, which it tells me I can install as part of Hugin (which I already have installed).

These may be separate issues I guess.

Digikam 2.2.0 isn't yet available with MacPorts.

It would be useful to know whether or not the Panorama tools should work with MacPorts or not, with Digikam 2.1.1.
Regards
Phil


_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Do the 'panorama tools' work on the MacPorts version of Digikam?

brad-2

On Oct 9, 2011, at 11:24 AM, Phil Stanford wrote:

Hi -
I have Digikam 2.1.1 installed on a MacBook Pro using MacPorts.
However, I find that the 'Tools' menu doesn't include the item 'Stitch images into a panorama'  item as indicated it should do in the instruction.


I'm running digikam (v2.2.0) on OS X. I haven't been able to get the pano tools to run correctly, it crashes during the optimization stage of the pano. However to get as far as i did, i needed to patch the code very slightly, which has been submitted as a patch to the devs. 


Alternatively you could still run higin natively on OS X.

I did wonder if I needed explicitly to install 'hugin' on the Mac, which I've now done (after some minor glitches with the MacPorts install) and which seems to work.
Also, Digikam gives an error when I try to use the Tools / Blend bracket images    option, telling me it can't find the 'align_image_stack' executable, which it tells me I can install as part of Hugin (which I already have installed).


You will need to install Hugin for the mac to get this working, once it actually does work. 

'align_image_stack' is an executable distributed w/ Hugin. If you download and install it, it'll be located in /Applications/Hugin/HuginTools/. This directory will need to be in your path do digikam knows where to find these executables. 

These may be separate issues I guess.

sort of. Digikam, does rely on binaries from the Hugin project, hence your error re: align_image_stack. 

Digikam 2.2.0 isn't yet available with MacPorts.

It would be useful to know whether or not the Panorama tools should work with MacPorts or not, with Digikam 2.1.1.


_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Do the 'panorama tools' work on the MacPorts version of Digikam?

brad
In reply to this post by Phil Stanford
On Oct 9, 2011, at 11:24 AM, Phil Stanford wrote:

Hi - 
I have Digikam 2.1.1 installed on a MacBook Pro using MacPorts. 
However, I find that the 'Tools' menu doesn't include the item 'Stitch images into a panorama'  item as indicated it should do in the instruction.


I'm running digikam (v2.2.0) on OS X. I haven't been able to get the pano tools to run correctly, it crashes during the optimization stage of the pano. However to get as far as i did, i needed to patch the code very slightly, which has been submitted as a patch to the devs. 


Alternatively you could still run higin natively on OS X.

I did wonder if I needed explicitly to install 'hugin' on the Mac, which I've now done (after some minor glitches with the MacPorts install) and which seems to work.
Also, Digikam gives an error when I try to use the Tools / Blend bracket images    option, telling me it can't find the 'align_image_stack' executable, which it tells me I can install as part of Hugin (which I already have installed). 


You will need to install Hugin for the mac to get this working, once it actually does work. 

'align_image_stack' is an executable distributed w/ Hugin. If you download and install it, it'll be located in /Applications/Hugin/HuginTools/. This directory will need to be in your path do digikam knows where to find these executables. 

These may be separate issues I guess. 

sort of. Digikam, does rely on binaries from the Hugin project, hence your error re: align_image_stack. 

Digikam 2.2.0 isn't yet available with MacPorts.

It would be useful to know whether or not the Panorama tools should work with MacPorts or not, with Digikam 2.1.1.


_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Do the 'panorama tools' work on the MacPorts version of Digikam?

Gilles Caulier-4
2011/10/9 bkn <[hidden email]>:

> On Oct 9, 2011, at 11:24 AM, Phil Stanford wrote:
>
> Hi -
> I have Digikam 2.1.1 installed on a MacBook Pro using MacPorts.
> However, I find that the 'Tools' menu doesn't include the item 'Stitch
> images into a panorama'  item as indicated it should do in the instruction.
>
>
> I'm running digikam (v2.2.0) on OS X. I haven't been able to get the pano
> tools to run correctly, it crashes during the optimization stage of the
> pano. However to get as far as i did, i needed to patch the code very
> slightly, which has been submitted as a patch to the devs.

and future 2.3.0 is patched now.

Gilles Caulier
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Do the 'panorama tools' work on the MacPorts version of Digikam?

Phil Stanford
In reply to this post by brad

Thanks for your mail -


On 9 October 2011 17:21, bkn <[hidden email]> wrote:


I'm running digikam (v2.2.0) on OS X. I haven't been able to get the pano tools to run correctly, it crashes during the optimization stage of the pano. However to get as far as i did, i needed to patch the code very slightly, which has been submitted as a patch to the devs. 


OK, I guess you're building 2.2.0 from the tarball then?  I've stuck to using MacPorts , more within my comfort zone for the Mac, and generally takes care of all dependencies consistently, although releases lag behind a bit.  Hopefully the package maintainer will pick up on Gilles' forthcoming 2.3.0 release ....
 

Alternatively you could still run higin natively on OS X.

'align_image_stack' is an executable distributed w/ Hugin. If you download and install it, it'll be located in /Applications/Hugin/HuginTools/. This directory will need to be in your path do digikam knows where to find these executables. 


I did install the MacPorts version of Hugin, and I do have the  'align_image_stack' executable, which is located in /opt/local/bin like all the other MacPorts binaries (and this is in my path).  Hugin itself seems to run OK.
These may be separate issues I guess. 

sort of. Digikam, does rely on binaries from the Hugin project, hence your error re: align_image_stack. 


It's odd that MacPorts Digikam can't see MacPorts 'align_image_stack' though (/opt/local/bin is in my path).  I also have the 'panoramagui'  KDE application installed, and similarly that's giving errors about not being able to find the Hugin component 'autooptimiser', so this is probably not a Digikam issue.  I'm not sure if there's any overall KDE path that needs tweaking for MacPorts so applications check /opt/local/bin.

Do you actually get any different functionality using Pano tools through Digikam rather than Hugin then, or is it simply a different front-end?

Thanks
Phil

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Do the 'panorama tools' work on the MacPorts version of Digikam?

Gilles Caulier-4
In reply to this post by Gilles Caulier-4
2011/10/9 Gilles Caulier <[hidden email]>:

> 2011/10/9 bkn <[hidden email]>:
>> On Oct 9, 2011, at 11:24 AM, Phil Stanford wrote:
>>
>> Hi -
>> I have Digikam 2.1.1 installed on a MacBook Pro using MacPorts.
>> However, I find that the 'Tools' menu doesn't include the item 'Stitch
>> images into a panorama'  item as indicated it should do in the instruction.
>>
>>
>> I'm running digikam (v2.2.0) on OS X. I haven't been able to get the pano
>> tools to run correctly, it crashes during the optimization stage of the
>> pano. However to get as far as i did, i needed to patch the code very
>> slightly, which has been submitted as a patch to the devs.
>
> and future 2.3.0 is patched now.

Note : patched to prevent a crash during preview rendering due to
acces to empty string char... A bug report have been created in
bugzilla about. Perhaps it's not your problem...

 https://bugs.kde.org/show_bug.cgi?id=283509

Gilles Caulier
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Do the 'panorama tools' work on the MacPorts version of Digikam?

brad
In reply to this post by Phil Stanford

On Oct 9, 2011, at 1:33 PM, Phil Stanford wrote:


Thanks for your mail -


On 9 October 2011 17:21, bkn <[hidden email]> wrote:


I'm running digikam (v2.2.0) on OS X. I haven't been able to get the pano tools to run correctly, it crashes during the optimization stage of the pano. However to get as far as i did, i needed to patch the code very slightly, which has been submitted as a patch to the devs. 


OK, I guess you're building 2.2.0 from the tarball then?  I've stuck to using MacPorts , more within my comfort zone for the Mac, and generally takes care of all dependencies consistently, although releases lag behind a bit.  Hopefully the package maintainer will pick up on Gilles' forthcoming 2.3.0 release ....
 
I build from the git repo. macports is far easier, and i would recommend sticking to that. 

 

Alternatively you could still run higin natively on OS X.

'align_image_stack' is an executable distributed w/ Hugin. If you download and install it, it'll be located in /Applications/Hugin/HuginTools/. This directory will need to be in your path do digikam knows where to find these executables. 


I did install the MacPorts version of Hugin, and I do have the  'align_image_stack' executable, which is located in /opt/local/bin like all the other MacPorts binaries (and this is in my path).  Hugin itself seems to run OK.

Ha. I had no idea hugin was in macports. They also have a standalone application, which is how i've used it in the passed. I'm sure the macports version is the same. 

These may be separate issues I guess. 

sort of. Digikam, does rely on binaries from the Hugin project, hence your error re: align_image_stack. 


It's odd that MacPorts Digikam can't see MacPorts 'align_image_stack' though (/opt/local/bin is in my path).  I also have the 'panoramagui'  KDE application installed, and similarly that's giving errors about not being able to find the Hugin component 'autooptimiser', so this is probably not a Digikam issue. 

How are you launching digikam, though command line, or through finder? 

If you launch it through finder, i don't believe any shell modifications to your path are passed to the application. If you launch it through the command line, 
 $ /Applications/MacPorts/KDE4/digikam.app/Contents/MacOS/digikam

then your shell environment modifications will be passed to digikam, and it *should* find those executables. Just to be sure, before you launch digikam through the command line, simply try executing 'align_image_stack -h' to see if your shell can see that executable. 

I'm not sure if there's any overall KDE path that needs tweaking for MacPorts so applications check /opt/local/bin.

I don't think anything needs tweeking on your end, I believe its a matter of how you lunch digika (see above) -- at least for the time being, perhaps in the future a more cross-plartform method of finding these executables will be put in place). 

Do you actually get any different functionality using Pano tools through Digikam rather than Hugin then, or is it simply a different front-end?

i assume they are similar, but since i haven't got digikam's pano tool working, i can't really say. 



_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Do the 'panorama tools' work on the MacPorts version of Digikam?

Phil Stanford


On 9 October 2011 19:20, bkn <[hidden email]> wrote:

 
I build from the git repo. macports is far easier, and i would recommend sticking to that. 

Yes I intend doing that - good to know alternatives for the Mac exist though.
 
Ha. I had no idea hugin was in macports. They also have a standalone application, which is how i've used it in the passed. I'm sure the macports version is the same. 

The MacPorts version is one release behind the dmg file;  I went for the MacPorts one as I assumed  it would be more likely to work with Digikam .... 

 
How are you launching digikam, though command line, or through finder? 

If you launch it through finder, i don't believe any shell modifications to your path are passed to the application. If you launch it through the command line, 
 $ /Applications/MacPorts/KDE4/digikam.app/Contents/MacOS/digikam

then your shell environment modifications will be passed to digikam, and it *should* find those executables. Just to be sure, before you launch digikam through the command line, simply try executing 'align_image_stack -h' to see if your shell can see that executable. 



That's a very good tip, and works - thanks!
I was running Digikam from the 'dock'; I've now put the full command in a shell script and can run that from the Applications folder and it then does indeed pass the full path info through to Digikam so the 'blend bracketed images' tool does load.

I also can run the 'panorama tools' application stand-alone by using the same method, ie running

/Applications/MacPorts/KDE4/panoramagui.app/Contents/MacOS/panoramagui

I'm still not sure why I don't get the 'Stitch images'  Tools item displayed, since that's supposed to be in 2.1.1 though.

Cheers
Phil

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users