VolumeViewer ScaleFactors not working in R2018b

1 visualizzazione (ultimi 30 giorni)
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.

Risposta accettata

Ameer Hamza
Ameer Hamza il 26 Set 2020
Modificato: Ameer Hamza il 26 Set 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 Commenti
bk_norwich
bk_norwich il 27 Set 2020
Dear Ameer
I cannot thank you more. It worked! You are a star.

Accedi per commentare.

Più risposte (1)

bk_norwich
bk_norwich il 27 Set 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 Commento
Ameer Hamza
Ameer Hamza il 27 Set 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.

Accedi per commentare.

Categorie

Scopri di più su Conway's Game of Life in Help Center e File Exchange

Prodotti


Release

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by