0

I have to segment a few things in a dataset I have (.nrrd-file) by drawing a rectangle around the area of interest and saving the segments (also as .nrrd-files).

I tried everything in the Segmentation-Tool that comes with MITK but I cannot seem to find a way to draw rectangles. I also tried to do some key combos (like holding shift, ctrl or alt) while drawing but in vain. I know I can use the Measurement-Tool to select rectangles and save them (as .pf-files), but using that I'd have to write a some code to convert those selected rectangles into rectangle segmentations later on.

Does anyone know whether there's a possibility (that I didnt find yet) to draw rectangles in the Segmentation tool, or some other way so there's no need to write a workaround?

4

1 回答 1

0

您可以使用 MITK 2016.11 中的 Image Cropper 插件进行矩形图像遮罩和裁剪(剪刀图标)。

打开插件,在数据管理器中选择您的图像,然后单击插件中的新建按钮以创建边界对象。您可以通过拖动其红色手柄来修改渲染窗口中的矩形边界形状。您可以通过将鼠标悬停在边界形状上(它将变为绿色)、单击并拖动来移动整个形状。

如果您想获得具有相同尺寸的图像,其中边界形状之外的所有像素都设置为用户定义的值,请单击蒙版按钮(请参阅插件中的高级设置)。否则单击裁剪按钮。

请注意,您始终可以在任何活动的 MITK 插件中按 F1 以打开包含详细说明的帮助页面。

于 2018-01-17T15:22:36.517 回答