I've sliced a set of volumetric data (V) using the function sl = slice(V,xslice,yslice,zslice).
I end up with a surface object like the one in the image. I need to get a 2D matrix that matches in size the area of my surface and has value 0 where the surface is dark and value 1 where the surface is yellow. In practice, i need to map the position of the yellow circles by having the coordinates of every yellow pixel. Can you please help me?
Thanks for your help! Unfortunately I've tried that, and for some reason I always end up with an empty array, as if CData only contained zeros.. I'm attaching the slice i get, maybe looking at it direcly helps finding a solution
Da Änderungen an der Seite vorgenommen wurden, kann diese Aktion nicht abgeschlossen werden. Laden Sie die Seite neu, um sie im aktualisierten Zustand anzuzeigen.
Translated by
Website auswählen
Wählen Sie eine Website aus, um übersetzte Inhalte (sofern verfügbar) sowie lokale Veranstaltungen und Angebote anzuzeigen. Auf der Grundlage Ihres Standorts empfehlen wir Ihnen die folgende Auswahl: .
Sie können auch eine Website aus der folgenden Liste auswählen:
So erhalten Sie die bestmögliche Leistung auf der Website
Wählen Sie für die bestmögliche Website-Leistung die Website für China (auf Chinesisch oder Englisch). Andere landesspezifische Websites von MathWorks sind für Besuche von Ihrem Standort aus nicht optimiert.