medicalImageLabeler converts single precision nii format image into uint8.
14 ビュー (過去 30 日間)
古いコメントを表示
Hello,
We have a bunch of 3D X-ray CT volumes stored in nifTI (.nii) format.
When they are loaded into medicalImageLabeler, it converts the Hounsfield unit (HU) in single precision format, with the range [-1000, 3000], into uint8 format with the range [0, 255].
The value is not preserved, and the conversion depends on the min/max value so we cannot use the same thresholding method for automatic labeling. The classifier MONAI also does not work well with the uint8 format that is not HU.
The images are loaded correctly with niftiread(), only medicalImageLabeler converts the precision automatically.
Did anyone encounter the same problem, and find a way to work around it?
4 件のコメント
Sahas
2024 年 10 月 22 日
Can you also provide the ".nii" file so that I can replicate the workflow at my end?
回答 (1 件)
Cris LaPierre
2024 年 10 月 22 日
編集済み: Cris LaPierre
2024 年 10 月 22 日
I don't see anything in the info that would explain what you are seeing. Could you attach your niifti file?
Either way, I would suggest reporting this to MathWorks by contacting Support: https://www.mathworks.com/support/contact_us.html
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Import, Export, and Conversion についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!