How do use drawfreehand to create a 3D ROI?

10 vues (au cours des 30 derniers jours)
Jeremy Seamans
Jeremy Seamans le 23 Sep 2020
Is there an easy way to draw an ellipse shape in a 3D plot? I want to find the points located within the ROI and I notice inROI has an x,y,z option which is great but it seems to be only possible using cuboid ROIs in 3D.

Réponses (1)

Rhea Chandy
Rhea Chandy le 1 Avr 2021
Hi Jeremy,
As you said, to get a 3-D ROI, only the Cuboidal shape is supported using drawcuboid. You can get an ellipse shape using drawellipse, but this 2D and you can specify the axes. Here's an overview of all the objects that represent ROIs of various shapes: ROI Creation Overview

Community Treasure Hunt

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

Start Hunting!

Translated by