Skip to content

Latest commit

 

History

111 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Need to fix/update

BrainAnnotationMapping.jl

Example script. See ElastixRegistration.jl before running this.

###### 3 The last: Load annotation file and count the number of c-fos cells
## Initialize variable
jsonfn = "/home/donghoon/usr/ClearMap2/ClearMap/Resources/Atlas/ABA_annotation.json"
results_dir = "counts/"
annotation_map = load_brainmap_json(jsonfn) #Load json file (brain annotation map)
subbrain_ids, subbrain_labels, subbrain_fos_lbl, fosncells, parent_ids = brainmapping(annotationImg, annotation_map, pts_filtered) #point-to-brain mapping
saveData(results_dir, subbrain_ids, subbrain_labels, fosncells) #save counting data

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages