processing time issues
Posted: Sat Jul 29, 2017 6:10 am
I realized that I posted this on the OMERO discussion board instead of bioformats. So moving the question here...
I have a czi file that I am trying to process in batches. Crop all the regions using bftools and then process them using some image processing library. I am using the latest bftools as far as I can tell.
[cagatay@p53 bftools]$ ./bfconvert -version
Version: 5.5.3
Build date: 5 July 2017
VCS revision: 7bed1b04d071667d7b8a2e8c5d42f05fbfc07ecc
[cagatay@p53 bftools]$
------------------------
When I try this on Imagej with bioformats package, after loading the image, I click the crop on load and voila, in a second I get the region in front of me. When I try this on the bfconvert it takes more than a minute per crop operation. I am wondering why the processing times are so different. Given that I'll be running this for the whole image, it will takes days if not weeks to crop all the regions in the image. Any ideas?
[cagatay@p53 bftools]$ export BF_MAX_MEM=50g
[cagatay@p53 bftools]$ ./bfconvert -series 1 -crop 30000,30000,1024,1024 ../x40-01.czi output-512x512-crop.tiff
../x40-01.czi
ZeissCZIReader initializing ../x40-01.czi
[Zeiss CZI] -> output-512x512-crop.tiff [Tagged Image File Format]
Converted 1/1 planes (100%)
[done]
82.68s elapsed (140.0+200.0ms per plane, 82337ms overhead)
[cagatay@p53 bftools]$
I have a czi file that I am trying to process in batches. Crop all the regions using bftools and then process them using some image processing library. I am using the latest bftools as far as I can tell.
[cagatay@p53 bftools]$ ./bfconvert -version
Version: 5.5.3
Build date: 5 July 2017
VCS revision: 7bed1b04d071667d7b8a2e8c5d42f05fbfc07ecc
[cagatay@p53 bftools]$
------------------------
When I try this on Imagej with bioformats package, after loading the image, I click the crop on load and voila, in a second I get the region in front of me. When I try this on the bfconvert it takes more than a minute per crop operation. I am wondering why the processing times are so different. Given that I'll be running this for the whole image, it will takes days if not weeks to crop all the regions in the image. Any ideas?
[cagatay@p53 bftools]$ export BF_MAX_MEM=50g
[cagatay@p53 bftools]$ ./bfconvert -series 1 -crop 30000,30000,1024,1024 ../x40-01.czi output-512x512-crop.tiff
../x40-01.czi
ZeissCZIReader initializing ../x40-01.czi
[Zeiss CZI] -> output-512x512-crop.tiff [Tagged Image File Format]
Converted 1/1 planes (100%)
[done]
82.68s elapsed (140.0+200.0ms per plane, 82337ms overhead)
[cagatay@p53 bftools]$