0

我需要查看 CT 扫描中的特定点(我得到了一个表示分割的掩码,所以我知道我感兴趣的特征的坐标(以毫米为单位))。这就是我目前在 ImageJ 中所做的事情:

  • File/Import/Image Sequence,我选择感兴趣的文件夹中的第一个dcm文件,然后我导入堆栈
  • 我知道我的兴趣点在 x=10, y=5, z=20 [mm]。所以我把光标放在我的图像上,用鼠标滚轮向下滚动堆栈,直到我在 ImageJ 窗口中看到 z=20,然后移动光标直到我匹配其他坐标。

有没有办法自动跳转到指定位置对应的切片?

4

1 回答 1

0

Yes. I would either

  1. Write a Plugin in Java
  2. Write a macro

I'd prefer Java because it provides more options when compared to the macro language.

In Java the code would be

imp.setSlice(20);
int poi=imp.getProcessor().getPixelValue(10,5); //int I assume but could be double

Although this is a very simple Plugin so you could also do the same in the macro language easily

于 2012-10-15T12:11:10.203 回答