How do use drawfreehand to create a 3D ROI?

7 views (last 30 days)
Jeremy Seamans
Jeremy Seamans on 23 Sep 2020
Answered: Rhea Chandy on 1 Apr 2021
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.

Answers (1)

Rhea Chandy
Rhea Chandy on 1 Apr 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!