Enhancer3D

Stretch the LUT in order to occupy the entire range between BLACK (0) and num1.

 

function call:

[out_img1]=vsg('Enhancer3D',in_img1,num1);

 

Arguments:

in_img1 -  input image, a DICOM image.

num1 – an integer specifying the upper limit of the range, to which the input image values will be scaled.

 

 

Description:

out_img1 – a DICOM image. Each value is calculated so that the intensity values are scaled from 0 –num1 filling the available colour range.

 

Example:

[filename, chosenDirectory] = uigetfile('*.dcm', 'Pick an M-file');

filePath = [chosenDirectory filename];

stackOfImages=vsg('DICOMRead',filePath);  %4D array of data

[out_img1]=vsg('Enhancer3D',stackOfImages,200);

 

Notes:

1. For RGB or Dicom images, the function operates on all colour planes or slices separately.

2. Dicom images require XMedCon software (version xmedcon-0.10.5-1-win32).

3. DICOM data must be in a separate folder.

Home       Functions       Back