Interacting with large images?

87 views
Skip to first unread message

paul womack

unread,
Sep 9, 2016, 8:42:29 AM9/9/16
to hugi...@googlegroups.com
I don't mind my laptop
taking a few hours to crunch to large mosaic-panoramas
(AKA gigapixel photograph).

However, for viewing and using such images,
I would like it to be decently interactive.

What software tools are people using
to scroll/zoom very large images?

in my case very large is 33054x17293 on a machine with 8Gb.

Most desktop image viewers aren't happy...

I found this:
http://iipimage.sourceforge.net/
which appears to be the sort of thing galleries
and archives might use.

Pyramidal image formats would seem to be part
of any practical solution.

But setting it up for "local" use looks feasible,
but more work than I really want.

Any suggestions (I'm on Ubuntu 14.04) ?

BugBear

Lukas Jirkovsky

unread,
Sep 9, 2016, 3:28:00 PM9/9/16
to hugi...@googlegroups.com
On 9 September 2016 at 14:42, paul womack <pwo...@papermule.co.uk> wrote:
> I don't mind my laptop
> taking a few hours to crunch to large mosaic-panoramas
> (AKA gigapixel photograph).
>
> However, for viewing and using such images,
> I would like it to be decently interactive.
>
> What software tools are people using
> to scroll/zoom very large images?
>
> in my case very large is 33054x17293 on a machine with 8Gb.
>
> Most desktop image viewers aren't happy...

I've been always using the nip2 frontent to VIPS [1]. It's mainly a
complex image processing framework, but it is also blazingly fast
viewer for images that are much larger than RAM.

[1] http://www.vips.ecs.soton.ac.uk/index.php?title=VIPS

stuartmm

unread,
Sep 10, 2016, 5:00:23 AM9/10/16
to hugin and other free panoramic software
Like stativ I use VIPs but only to generate image tiles. http://libvips.blogspot.co.uk/2013/03/making-deepzoom-zoomify-and-google-maps.html

I then have a script that creates a web page with correct parameters (new directory name etc) using leaflet . http://leafletjs.com

It is very fast to display and zoom large images.

Carlos Eduardo G. Carvalho (Cartola)

unread,
Sep 13, 2016, 2:16:26 PM9/13/16
to hugi...@googlegroups.com
Is there a way to blend the images directly to tiles, like gigatile would do, using VIPS?

I'm trying to use gigagile, but I'm getting an error and also have read that it lets visible lines/seams between tiles.

Here is the last gigatile error:

(many equal lines before...)
gmaptemplate --title parcial02rtrt --initialzoom 0 --apikey PUTAPIKEYHERE --prefix parcial02rtrt --maxzoom 4 --maxzoomp1 5 --minres 0 > parcial02rtrt.html
pto2mk2 -o parcial02qqqs.pto.mk -p parcial02qqqs parcial02qqqs.pto
syntax error at /usr/local/bin/pto2mk2 line 397, near "-o $(LDR_BLENDED_SHELL) $(LDR_LAYERS_SHELL)/"
  (Might be a runaway multi-line // string starting on line 396)
syntax error at /usr/local/bin/pto2mk2 line 399, near "-TagsFromFile $(INPUT_IMAGE_1_SHELL) $(EXIFTOOL_COPY_ARGS_SHELL) $(LDR_BLENDED_SHELL)/"
  (Might be a runaway multi-line // string starting on line 398)
Execution of /usr/local/bin/pto2mk2 aborted due to compilation errors.
parcial02.pto.mk:173: recipe for target 'parcial02qqqs.pto.mk' failed
make: *** [parcial02qqqs.pto.mk] Error 255


Tks,

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hugin-ptx/5bda10a3-704e-4182-9d46-4cef8ee4dabb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Bruno Postle

unread,
Sep 13, 2016, 3:58:42 PM9/13/16
to hugi...@googlegroups.com


On 13 September 2016 19:15:57 BST, "Carlos Eduardo G. Carvalho (Cartola)" wrote:
>
>Here is the last gigatile error:
>
>pto2mk2 -o parcial02qqqs.pto.mk -p parcial02qqqs parcial02qqqs.pto
>syntax error at /usr/local/bin/pto2mk2 line 397, near "-o
>$(LDR_BLENDED_SHELL) $(LDR_LAYERS_SHELL)/"
> (Might be a runaway multi-line // string starting on line 396)

Not sure about this, what version of Perl do you have?

--
Bruno

Carlos Eduardo G. Carvalho (Cartola)

unread,
Sep 13, 2016, 4:30:14 PM9/13/16
to hugi...@googlegroups.com
Hi Bruno,

> perl --version

This is perl 5, version 22, subversion 1 (v5.22.1) built for x86_64-linux-gnu-thread-multi
(with 58 registered patches, see perl -V for more detail)
(...)

Running on a xubuntu 16.04.

> uname -a
Linux cartola 4.4.0-36-generic #55-Ubuntu SMP Thu Aug 11 18:01:55 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

stuartmm

unread,
Sep 29, 2016, 11:15:24 AM9/29/16
to hugin and other free panoramic software
I thought i should post a version of the script  ( see attachment ); 

usage:  minimalpano.sh filename.jpg

Requires VIPS 
minimalpano.sh
Reply all
Reply to author
Forward
0 new messages