'Declaration
Public Function ROIValues( _ ByVal Image As DicomImage, _ ByVal Scale As System.Boolean _ ) As System.Single()
'Usage
Dim instance As DicomLabel Dim Image As DicomImage Dim Scale As System.Boolean Dim value() As System.Single value = instance.ROIValues(Image, Scale)
public System.float[] ROIValues( DicomImage Image, System.bool Scale )
public function ROIValues( Image: DicomImage; Scale: System.Boolean ): System.array of Single;
public function ROIValues( Image : DicomImage, Scale : System.boolean ) : System.float[];
public: System.float[]* ROIValues( DicomImage* Image, System.bool Scale )
public: System.array<float>^ ROIValues( DicomImage^ Image, System.bool Scale )
Parameters
- Image
- The image from which the pixel data is taken for the calculations
- Scale
- If true, then the rescale slope and offset are applied to the data values
Return Value
Array of floats