Precomputed manager
- class library.image_manipulation.precomputed_manager.NgPrecomputedMaker
Bases:
object
Class to convert a tiff image stack to the precomputed neuroglancer format code from Seung lab
- create_downsamples()
Downsamples the neuroglancer cloudvolume this step is needed to make the files viewable in neuroglancer
- create_neuroglancer()
create the Seung lab cloud volume format from the image stack For a large isotropic data set, Allen uses chunks = [128,128,128] self.input and self.output are defined in the pipeline_process
- get_scales()
returns the scanning resolution for a given animal. The scan resolution and sectioning thickness are retrived from the database. The resolution in the database is stored as micrometers (microns -um). But neuroglancer wants nanometers so we multipy by 1000
- Returns:
list of converstion factors from pixel to micron for x,y and z