abria / TeraStitcher

A tool for fast automatic 3D-stitching of teravoxel-sized microscopy images
http://abria.github.io/TeraStitcher/
Other
82 stars 32 forks source link

teraconverter: how to downsample at free ratio instead of 2^level-1 #47

Open rmd13 opened 5 years ago

rmd13 commented 5 years ago

On wiki of Teraconverter it shows that: --resolutions=

Resolutions indices ( layers l) of the image pyramid to be produced. l must be in [0,10] and 2^l is the corresponding subsampling factor. Default is 0, that means that only the original resolution (subsampling factor 2^0=1) will be produced. For instance: 0123 means pyramid layers 0, 1, 2 and 3 will be produced; 25 means pyramid layers 2 and 5 will be produced; and so on.

How about if I want to save the image as certain sampling ratio such as 1/3 ,1/5,...of original size? And also usually we only want the X-Y to be downsampled, but keep the Z unchanged.

rmd13 commented 5 years ago

I trid once using --resolutions =2, and found that file size frop from 700MB to 5MB. I originally thought that it just reduce the X-Y length to(1/2^2) * (1/2^2), i.e.1/16, and got a file size of 700/(16) = 43MB, but when I open it , I found that Z-layers drops heavily from 30 to 6 ( result of (1/2^2))

iannellog commented 5 years ago

Answers:

I think I have answered all your points.

-- Giulio

Il giorno mer 6 feb 2019 alle ore 12:12 rmd06 notifications@github.com ha scritto:

I trid once using --resolutions =2, and found that file size frop from 700MB to 5MB. I originally thought that it just reduce the X-Y length to(1/2^2) * (1/2^2), i.e.1/16, and got a file size of 700/(16) = 43MB, but when I open it , I found that Z-layers drops heavily from 30 to 6 ( result of (1/2^2))

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/abria/TeraStitcher/issues/47#issuecomment-460986415, or mute the thread https://github.com/notifications/unsubscribe-auth/AIdv1nUqxI8SH3s4QIzKXq4KS-UgbhjVks5vKriagaJpZM4alAOh .

--


Giulio Iannello Preside della Facolta' Dipartimentale di Ingegneria Universita' Campus Bio-Medico di Roma v. Alvaro del Portillo, 21 00128 Roma, Italy

Tel: +39-06-22541-9602 E-mail: g.iannello@unicampus.it Fax: +39-06-22541-9609 URL: https://scholar.google.it/citations?user=L-UJxIgAAAAJ