Parameters
- input
- The raw pixel data to be converted
- Frame1
- The frame index of the DICOM image
- Scale
- If true applies Modality LUT transformations or slope/intercept scaling else returns raw pixel values
Return Value
An array containing the converted pixel values, either raw or scaled.