how can i display an .mha medical image of BRATS data? I am using ReadData3D code but it just give me information and I want to show the image? The code give me some rescalling error.

조회 수: 1 (최근 30일)
RescaleSlope not available, assuming 1
RescaleIntercept not available, assuming 0

답변 (2개)

Walter Roberson
Walter Roberson 2018년 6월 7일
That is not an error, that is a warning.
Some kinds of DICOM images have properties RescaleSlope and RescaleIntercept to permit positive integers to be used to represent a linear scale that might start negative. For example if you wanted to use positive numbers to represent Hounsfield Units then you need to subtract 6000 from the positive numbers because Hounsfield can go to -6000. It is equally valid to use signed integer to represent Hounsfield units in particular, but there are other kinds of data where you might want to represent fractions -- for example if you had Alpha Data (which numerically needs to be 0 to 1) then you could represent it as integers 0 to 255 by using a RescaleSlope of [1, 255] meaning the data is to be multiplied by 1/255 .
These properties are not mandatory: when they are missing, the code you are using just assumes that it should take the numbers "as-is", which is equivalent to using a slope of 1 and an intercept of 0.
  댓글 수: 2
elnaz sadeghianfard
elnaz sadeghianfard 2018년 7월 14일
hi Thanks for the description. But I did not notice what to do, so I can see the 3-D image Can you give more guidance?
Walter Roberson
Walter Roberson 2018년 7월 14일
If you have a new enough MATLAB, you can try using volumeViewer() . Otherwise, look in the File Exchange for vol3d v2 .

댓글을 달려면 로그인하십시오.


elnaz sadeghianfard
elnaz sadeghianfard 2018년 7월 13일
편집: elnaz sadeghianfard 2018년 7월 13일
hi hadi You could fix the problem RescaleSlope not available, assuming 1 RescaleIntercept not available, assuming 0 If you could please help me out
  댓글 수: 3
Rakshavi Dessai
Rakshavi Dessai 2019년 1월 2일
RescaleSlope not available, assuming 1 RescaleIntercept not available, assuming 0
I am getting above warning..how can i view .mha medical image
Walter Roberson
Walter Roberson 2019년 1월 2일
It is a warning. You can ignore it and continue on to use your favorite volume viewer just as if the warning had not happened.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Convert Image Type에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by