We're Hiring!

Crop On Import To Include Step Size

Historical discussions about the Bio-Formats library. Please look for and ask new questions at https://forum.image.sc/tags/bio-formats
Please note:
Historical discussions about the Bio-Formats library. Please look for and ask new questions at https://forum.image.sc/tags/bio-formats

If you are having trouble with image files, there is information about reporting bugs in the Bio-Formats documentation. Please send us the data and let us know what version of Bio-Formats you are using. For issues with your code, please provide a link to a public repository, ideally GitHub.

Crop On Import To Include Step Size

Postby Oli » Thu May 04, 2017 6:15 am

Hi all,

We often have very large images to open, and while cropping certainly helps, I was wondering if it were at all possible to add an option to the cropper for the step, like there is for the slices, channels and time points?

It would be great if I could open the whole image, but read only one pixel out of 50 in XY so that I have a sampled version of my image, which would help me define a crop area which I can then apply to the full size image.

Best

Oli
Oli
 
Posts: 71
Joined: Mon Nov 29, 2010 4:57 pm

Re: Crop On Import To Include Step Size

Postby sbesson » Thu May 04, 2017 3:16 pm

Hi Oli,

Cross-linking this question to the related Fiji thread for completeness.

For large images, the canonical way to achieve the workflow what you describing is usually to access images of lower resolution, define a region of interest and convert this region into the coordinates of the full resolution image. For typical pyramidal formats like Aperio SVS or Hamamatsu NDPI, subsampled images are pre-computed, stored into the file format and accessible through the Bio-Formats subresolution API. For large images with no pyramidal levels, there is no immediate API in Bio-Formats allowing to retrieve a subsamples version of the image.

Best,
Sebastien
User avatar
sbesson
Team Member
 
Posts: 421
Joined: Tue Feb 28, 2012 7:20 pm


Return to User Discussion [Legacy]

Who is online

Users browsing this forum: No registered users and 0 guests