mattgaidica/RatBrainAtlasAPI
RESTful API for the Rat Brain Atlas located at http://labs.gaidi.ca/rat-brain-atlas/. The function ratBrainAtlas(ap,ml,dv) reads the web request, downloads the atlas images, and outputs a struct in S. If the Image Processing Toolbox is installed S will include marked images (red dot):
>> ml = 1.3;
>> ap = -3.3;
>> dv = 7.5;
>> S = ratBrainAtlas(ml,ap,dv)
S =
struct with fields:
coronal: [1×1 struct]
sagittal: [1×1 struct]
horizontal: [1×1 struct]
>> S.coronal
ans =
struct with fields:
image_url: 'http://labs.gaidi.ca/rat-brain-atlas/images/Rat_Brain_Atlas_33.jpg'
left: 5.385000000000000e+02
top: 4.715000000000000e+02
image: [726×940 uint8]
image_marked: [726×940×3 uint8]
Cite As
Matt Gaidica (2024). mattgaidica/RatBrainAtlasAPI (https://github.com/mattgaidica/RatBrainAtlasAPI), GitHub. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Versions that use the GitHub default branch cannot be downloaded
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 | Added usage to description Added link to Rat Brain Atlas
|
|