isosurface(images, 1) shows blank window

2 visualizzazioni (ultimi 30 giorni)
Nitinkumar Ambekar
Nitinkumar Ambekar il 31 Mar 2016
Commentato: Mike Garrity il 1 Apr 2016
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 Commenti
Nitinkumar Ambekar
Nitinkumar Ambekar il 1 Apr 2016
@MikeGarrity, I executed images = images * 2 and it works! Thanks a lot!
Mike Garrity
Mike Garrity il 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.

Accedi per commentare.

Risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by