Skip to content

Instantly share code, notes, and snippets.

% downlad multichannel false-color file
get_mcfc = 1;
% token for desired project
project_token = 'Ex10R55';
% for project-specific channel list and dimensions
% view http://openconnecto.me/ocp/ca/[project_token]/info/
% channels: accessed in CYMRGB order – use zeros to skip colors.
%% get multi-channel hdf5 file
% settings
clear_all = 1;
if clear_all
clear all
end
% download hdf5 file to current directory
download_hdf5 = 1;
%% Ex10R55 dataset single channel
% option to display contrast-enhanced cutout
enhance = 1;
% output filename
tmpfile = 'Ex10R55_GFP-4.png';
% url arguments
server_base = 'braingraph2.cs.jhu.edu';