isosurface(images, 1) shows blank window

1 Ansicht (letzte 30 Tage)
Nitinkumar Ambekar
Nitinkumar Ambekar am 31 Mär. 2016
Kommentiert: Mike Garrity am 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 Kommentare
Nitinkumar Ambekar
Nitinkumar Ambekar am 1 Apr. 2016
@MikeGarrity, I executed images = images * 2 and it works! Thanks a lot!
Mike Garrity
Mike Garrity am 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.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by