Sie sind nicht angemeldet.

mham

Anfänger

  • »mham« ist der Autor dieses Themas

Beiträge: 28

Wohnort: Stockholm, Sweden

  • Nachricht senden

1

Donnerstag, 11. August 2011, 23:31

Why different iPhone qualitly from cube vs multires

I am just testing the iPhone solution and have found a strange thing that I cannot understand the reason.
I used "Make Pano Normal" droplet to make 6 cubes normal pano + iPhone images of resolution 512 (<mobile> tag in xml) . Looking in iPhone 3Gs the panorama does not look good at all.
Then used "Make MPano (Multires)" droplet of the same pano with iPhone images of resolution 512 (<mobile> tag in xml) but looking in the same iPhone the panorama looks much much better.

*question* If mobile images are loaded in both cases, why the difference in the quality from these two?

Thanks for help,
Mahmood

The Multires xml has the following image tags/attributes:
<image type="CUBE" multires="true" tilesize="503" progressive="false">
<level tiledimagewidth="3018" tiledimageheight="3018">
<level tiledimagewidth="1509" tiledimageheight="1509">
<level tiledimagewidth="755" tiledimageheight="755">
<mobile>
<tablet>

The CUBE xml has the following image tags/attributes:
<image type="CUBE">
<mobile>
<tablet>

Note that the mobile and tablet images are identical for both...

2

Donnerstag, 11. August 2011, 23:39

Can you provide a link to each? I had tried to reproduce this issue but did not seem to see a difference.

3

Freitag, 12. August 2011, 06:38

Hi,

you were right, in the current tools version 1.0.8.12, the jpeg quality settings are different from the MAKE PANO (MULTIRES) droplet, which uses the kmakemultires.config and the MAKE PANO (NORMAL) droplet which uses the templates/normal.config file,

open both files and have a look for these settings:

Quellcode

1
2
jpegquality=82
jpegsubsamp=422


it wasn't my intention to have different quality settings here, for 1.0.8.14 I have already changed that to have the same default settings everywhere, maybe I will also add additional quality settings only for the mobile and tablet images,

best regards,
Klaus

mham

Anfänger

  • »mham« ist der Autor dieses Themas

Beiträge: 28

Wohnort: Stockholm, Sweden

  • Nachricht senden

4

Freitag, 12. August 2011, 06:54

links

For Cube:
http://www.stockholm360.net/fp.php?id=monalisa

jpegquality=72
jpegsubsamp=420


For Multires:
http://www.stockholm360.net/multires/mona-lisa.html

jpegquality=82
jpegsubsamp=422

1) So, the solution is to copy the MAKE MULTIRES values to MAKE NORMAL config file? (Well, I did that but it didn't help much *sad* there must be something else too)
2) and this change increased also the size of Pano face files a lot more.

Also, it would be helpful to have a droplet only for producing mobile and tablet cubes, as many already have loads of normal cubes and only need to produce mobile/tablet files.
The cube or multires files takes a lot of time to re-produce.

Regards,
Mahmood

Dieser Beitrag wurde bereits 3 mal editiert, zuletzt von »mham« (12. August 2011, 11:08)


Beiträge: 1 857

Beruf: Virtual Tours - Photography - Krpano developer

  • Nachricht senden

5

Freitag, 12. August 2011, 15:25

The only difference i see is fov and pan.
jpg quality differences negligible on iphone4.
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

mham

Anfänger

  • »mham« ist der Autor dieses Themas

Beiträge: 28

Wohnort: Stockholm, Sweden

  • Nachricht senden

6

Sonntag, 14. August 2011, 20:32

:(

On iPhone 3Gs I can definitely see a difference. None of my panoramas looks good on my iPhone although I have changed the "normal.config" file to have jpegquality=82, jpegsubsamp=422 (as it is set in the "kmakemultires.config")
One possible hint that could help guess the reason could be that when I have both the multires pages and the Normal page open in iPhone, when I click on the number icon on bottom right corner of the iPhone display to switch between the different open pages, the panorama of the multires page fills out the picture frame completely but the panorama from the Normal page fills just about one quarter of the picture frame (See the attachments for clarification).
I am wondering if the panorama from the NORMAL droplet _is_ smaller (about 1/4) and the iphone just stretches it to fill the display and therefore the loss of quality???

regards,
/MH
»mham« hat folgende Bilder angehängt:
  • from_MULTIRES_droplet.jpg
  • from_NORMAL_droplet.jpg

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »mham« (14. August 2011, 23:39)


7

Sonntag, 14. August 2011, 21:35

Going by what you posted it would appear that the iPhone browser is using the multi rez images themselves instead of the mobile images like Hans intentionally has set up on panoramas.dk. Combined they do give a higher resolution than the mobile images which I believe may be downsized on the 3GS to keep it from crashing due to memory issues.

8

Samstag, 20. August 2011, 18:32

Hi,

are you using the also the same html pages when comparing the panos?

different meta viewport settings (or when using frames) can also have an effect to the image quality on iPhone/iPad,

best regards,
Klaus

mham

Anfänger

  • »mham« ist der Autor dieses Themas

Beiträge: 28

Wohnort: Stockholm, Sweden

  • Nachricht senden

9

Dienstag, 23. August 2011, 21:52

No, not exactly the same html pages but I have tried to use the same parameters relating to the view.
The html page for the multires is the one generated automatically when you use the Make Pano Multires droplet.

regards,
MH

Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von »mham« (12. Februar 2012, 10:57)


mham

Anfänger

  • »mham« ist der Autor dieses Themas

Beiträge: 28

Wohnort: Stockholm, Sweden

  • Nachricht senden

10

Sonntag, 12. Februar 2012, 10:57

quality problem on iPhone 3Gs

Nobody knows why the reason of this problem is?
Maybe iPhone 3Gs is not worth bothering...

Beiträge: 1 857

Beruf: Virtual Tours - Photography - Krpano developer

  • Nachricht senden

11

Sonntag, 12. Februar 2012, 15:50

Check your html or post a link.
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

mham

Anfänger

  • »mham« ist der Autor dieses Themas

Beiträge: 28

Wohnort: Stockholm, Sweden

  • Nachricht senden

12

Sonntag, 12. Februar 2012, 16:06

Thanks for the response Sasha.
Hmmm,

Here is a link:
http://www.stockholm360.net/fp.php?id=denon

13

Dienstag, 14. Februar 2012, 17:29

Hi,
that page is not using a 1:1 pixel scaling/mapping for iPhone/iPad - so the display quality will be unpredictable!
when the page will be scaled by the iPhone/iPad browser, then images can be much smoother because the browser is internally scaling the images in an uncontrollable way!

in all krpano html files there is this "viewport" meta tag:

Quellcode

1
<meta name="viewport" content="target-densitydpi=device-dpi, width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0" />


this forces the iPhone/iPad browser to use a 1:1 scaling - this is the only way to guarantee a correct displaying an iPhone/iPad,

best regards,
Klaus

mham

Anfänger

  • »mham« ist der Autor dieses Themas

Beiträge: 28

Wohnort: Stockholm, Sweden

  • Nachricht senden

14

Mittwoch, 15. Februar 2012, 10:26

Thanks for this tip, I tried it but I got a new undesired effect by adding this meta tag; everything of the html page got an 1:1 scaling resulting in a huge html page in iPhone, (and strangely enough the panorama itself only filled a slim strip of the screen, although seemingly correct scaled and with better quality than before). See the attached image "1:1_image_scaling.png".
Without the viewport meta tag the html page filled perfectly the iPhone screen but with the bad quality effect of downscaling the panorama image giving very poor image quality on iPhone 3Gs (the second attached image).
I am not sure if it is possible to apply the scaling of 1:1 only to the panorama and not the text and other tables of the html file?
»mham« hat folgende Bilder angehängt:
  • 1-1_image_scaling.PNG
  • No_viewport_meta.PNG

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »mham« (15. Februar 2012, 21:41)


15

Montag, 20. Februar 2012, 19:09

Hi,
I am not sure if it is possible to apply the scaling of 1:1 only to the panorama and not the text and other tables of the html file?
no, that's not possible and the automatic downscaling of the when using non 1:1 is also not controllable,
the 'small stip' might be related to the other html elements on the page,
that means the best solution might be to design the whole page correctly for a desktop and mobile layout,

best regards,
Klaus