Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的问题有点简单。
我想从 VM>1 的 TAG 中获取所有值。
例如,名为 Acquisition Matrix 的 (0018,1310) 标记的 VM=4,因此它存储了 4 个由破折号分隔的值,例如:
0/320/192/0
我想读取存储在此 TAG 中的所有值,但如果我使用:
... acquisitionMatrix = dcmObj.getString(Tag.AcquisitionMatrix); ....
我只得到第一个!我怎样才能做到这一点?
我想它可以按照 Tarmo 的建议来完成......但是我设法使用以下方法将这些值作为 int(s) 获取:
... int[] matrix = null; matrix = dcmObj4.getInts(Tag.AcquisitionMatrix); for(int i=0; i<matrix.length;i++) { log.info(">>>>>> Acquisition matrix[" + i + "]: " + matrix[i]); } ...