2D Unet-based
Multiple whole brains of mouse in different grown stage. Each brain has ~1500x9000x9000 voxels, and about 30,000,000 to 50,000,000 cells.
cd cpp, then follow the instruction in cpp/README.md.
cd ..
python coord_to_bbox.py --nis_output_root downloads/cpp_output
This will generate bounding box of NIS in the output folders for stitching.
usage: coord_to_bbox.py [-h] [--device DEVICE]
[--nis_output_root NIS_OUTPUT_ROOT]
Generate NIS bounding box
optional arguments:
-h, --help show this help message and exit
--device DEVICE
--nis_output_root NIS_OUTPUT_ROOT
Output dir of NIS cpp
Check paths in image_stitch/stitch_main.py, then
python image_stitch/stitch_main.py
Note that this optional step can lead to a worse stitching result.
Check paths in image_stitch/ptreg_stitch_p14.py, then
python image_stitch/ptreg_stitch_p14.py
python gen_brain_map.py will save a brain map as Nifti under downloads/cpp_output/test_pair
In working progress.