Skip to content

Commit

Permalink
Updated README.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
adamltaylor committed May 22, 2023
1 parent 3ea6e95 commit 07ff129
Showing 1 changed file with 38 additions and 2 deletions.
40 changes: 38 additions & 2 deletions README.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,40 @@
Freezing
Mouselight freezing/thawing code

Code for lossy-compressing raw .tif tiles to .mj2 (freezing), and for
uncompressing .mj2 tiles back to .tifs (thawing).
uncompressing .mj2 tiles back to .tifs (thawing). This code works for
both raw tile folders and octree folders. Any ktx/ folder in
the root input folder will be ignored when freezing.

To run tests, cd into the source code folder, start Matlab, then do

modpath

to add all the needed code to the Matlab path.

After that, do

test_all();

to run the tests. They take several hours to run.

An example script to freeze a single sample (either raw tiles or
octree) is in

freeze_2022_05_30.m

An example of a thawing script is in

thaw_2017_12_19_sample.m

To run such a script on the Janelia cluster, ssh into
login1/login2/submit, then do e.g.:

bsub -P mouselight \
-n 1 \
-oo freeze-2022-05-30-round-1.out.txt \
-eo freeze-2022-05-30-round-1.err.txt \
/misc/local/matlab-2019a/bin/matlab -batch "modpath; freeze_2022_05_30"


ALT
2022-05-22

0 comments on commit 07ff129

Please sign in to comment.