How can I get the pixelvalues under an eliptical ROI

36 views
Skip to first unread message

Yiannis Demetrakopoulos

unread,
Mar 25, 2017, 1:57:07 PM3/25/17
to Fellow Oak DICOM
HI,
I am trying to get the pixel values under an eliptical ROI .I have  the pixelvalues of the image and an array of points of the ROI.How can I take only the pixel values under the ROI ?

Thank you.

Anders Gustafsson Cureos AB

unread,
Mar 27, 2017, 3:10:47 AM3/27/17
to Fellow Oak DICOM
Hi Yiannis,

no built-in support for this functionality in fo-dicom, but there are various implementations available for what you want to achieve. One approach could be to use a slightly modified version of the FillPolygon implementation from WriteableBitmapEx, here.

Regards,
Anders @ Cureos
Reply all
Reply to author
Forward
0 new messages