isosurface(images, 1) shows blank window
5 views (last 30 days)
Show older comments
I have variable images of size 512x512x22, passing this variable to isosurface() shows an empty window. I have read images as
images(:,:,1) = img2bw(imread('img1.gpg'));
images(:,:,2) = img2bw(imread('img2.gpg'));
images(:,:,3) = img2bw(imread('img3.gpg'));
...
...
images(:,:,22) = img2bw(imread('img22.gpg'));
isosurface(images, 1); %This executes, but shows blank output window
What I am doing wrong here?
4 Comments
Mike Garrity
on 1 Apr 2016
Ah, there's actually some interesting stuff going on in the case where your iso value is exactly equal to the values in your array. In this blog post , I talked about how that works with contour. For isosurface it's similar, but not exactly the same.
Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!