How do use drawfreehand to create a 3D ROI?

10 ビュー (過去 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.

回答 (1 件)

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