Error reading .mrc file

2 views (last 30 days)
Anand Dwivedi
Anand Dwivedi on 3 Aug 2017
Edited: madhan ravi on 22 Dec 2018
I am using the ReadMRC function that @Fred Sigworth provided Imagic, MRC and DM3 file i/o
However, when I try opening a file using
ReadMRC(sample.mrc)
I always get the error
Undefined variable "sample" or class "sample.mrc"
I can't seem to find what I am doing wrong. I am using version R2017a on Linux

Accepted Answer

José-Luis
José-Luis on 3 Aug 2017
Edited: José-Luis on 3 Aug 2017
ReadMRC('sample.mrc')
  2 Comments
Anand Dwivedi
Anand Dwivedi on 3 Aug 2017
Edited: Anand Dwivedi on 3 Aug 2017
Thanks!Is there a way to display the 3d model as well?
yin zhen
yin zhen on 22 Dec 2018
Edited: madhan ravi on 22 Dec 2018
Rchannel = map(:,:,1);
Gchannel = map(:,:,2);
Bchannel = map(:,:,3);
figure;
scatter3(Rchannel(:),Gchannel(:),Bchannel(:));

Sign in to comment.

More Answers (0)

Categories

Find more on MATLAB in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!