MATLAB Answers

How do use drawfreehand to create a 3D ROI?

조회 수: 14(최근 30일)
Jeremy Seamans
Jeremy Seamans 2020년 9월 23일
답변: Rhea Chandy 2021년 4월 1일
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.


Rhea Chandy
Rhea Chandy 2021년 4월 1일
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