VolumeViewer ScaleFactors not working in R2018b

1 view (last 30 days)
I can display a volume (V) using
volumeViewer (V)
but I have problem display the volume using scalefactorr
scaleFactors = [1 1 1]
volumeViewer (V,'ScaleFactors', scaleFactors)
Error using volumeViewer
Too many input arguments.

Accepted Answer

Ameer Hamza
Ameer Hamza on 26 Sep 2020
Edited: Ameer Hamza on 26 Sep 2020
ScaleFactor was not present in R2018b: https://www.mathworks.com/help/releases/R2018b/images/ref/volumeviewer-app.html?searchHighlight=volumeviewer. It was introduced in R2019a. So an upgrade will to be the only option to use this feature.
  8 Comments
bk_norwich
bk_norwich on 27 Sep 2020
Dear Ameer
I cannot thank you more. It worked! You are a star.

Sign in to comment.

More Answers (1)

bk_norwich
bk_norwich on 27 Sep 2020
Hi Ameer
Here is the class of new volume:
ans =
'int16'
The array values are singed CT Hounsfield values containing both positive and negative values.
  1 Comment
Ameer Hamza
Ameer Hamza on 27 Sep 2020
Instead of adding a new answer, the correct way is to add a comment to my original answer. It will help keep the discussion organized.

Sign in to comment.

Categories

Find more on Conway's Game of Life in Help Center and File Exchange

Products


Release

R2018b

Community Treasure Hunt

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

Start Hunting!