#NEWLINE# def setDescription( self , featureName ) : #NEWLINE# #INDENT# self . description = ( featureName + ' Description:\n\n' ) #NEWLINE# if ( featureName == 'Voxel Count' ) : #NEWLINE# #INDENT# self . description += 'Voxel Count is the total number of voxels within the ROI of the grayscale image or parameter map.' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( featureName == 'Gray Levels' ) : #NEWLINE# #INDENT# self . description += 'Gray Levels is a the number of discrete voxel values within the ROI of the grayscale image or parameter map.' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( featureName == 'Energy' ) : #NEWLINE# #INDENT# self . description += 'Energy is a measure of the magnitude of values in an image. A greater amount larger values implies a greater sum of the squares of these values.' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( featureName == 'Entropy' ) : #NEWLINE# #INDENT# self . description += 'Entropy of the image histogram specifies the uncertainty in the image values. It measures the average amount of information required to encode the image values.' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( featureName == 'Minimum Intensity' ) : #NEWLINE# #INDENT# self . description += 'Minimum Intensity is the value of the voxel(s) in the image ROI with the least value.' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( featureName == 'Maximum Intensity' ) : #NEWLINE# #INDENT# self . description += 'Maximum Intensity is the value of the voxel(s) in the image ROI with the greatest value.' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( featureName == 'Mean Intensity' ) : #NEWLINE# #INDENT# self . description += 'Mean Intensity is the mean of the intensity or parameter values within the image ROI.' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( featureName == 'Median Intensity' ) : #NEWLINE# #INDENT# self . description += 'Median Intensity is the median of the intensity or parameter values within the image ROI.' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( featureName == 'Range' ) : #NEWLINE# #INDENT# self . description += 'Range is the difference between the highest and lowest voxel values within the image ROI.' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( featureName == 'Mean Deviation' ) : #NEWLINE# #INDENT# self . description += 'Mean Deviation is the mean of the distances of each image value from the mean of all the values in the image ROI.' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( featureName == 'Root Mean Square' ) : #NEWLINE# #INDENT# self . description += 'Root Mean Square is the square-root of the mean of the squares of the values in the image ROI. It is another measure of the magnitude of the image values.' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( featureName == 'Standard Deviation' ) : #NEWLINE# #INDENT# self . description += 'Standard Deviation measures the amount of variation or dispersion from the mean of the image values' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( featureName == 'Skewness' ) : #NEWLINE# #INDENT# self . description += 'Skewness measures the asymmetry of the distribution of values in the image ROI about the mean of the values. Depending on where the tail is elongated and the mass of the distribution is concentrated, this value can be positive or negative.' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( featureName == 'Kurtosis' ) : #NEWLINE# #INDENT# self . description += "Kurtosis is a measure of the 'peakedness' of the distribution of values in the image ROI. A higher kurtosis implies that the mass of the distribution is concentrated towards the tail(s) rather than towards the mean. A lower kurtosis implies the reverse, that the mass of the distribution is concentrated towards a spike the mean." #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( featureName == 'Variance' ) : #NEWLINE# #INDENT# self . description += 'Variance is the mean of the squared distances of each value in the image ROI from the mean of the values. This is a measure of the spread of the distribution about the mean.' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( featureName == 'Uniformity' ) : #NEWLINE# #INDENT# self . description += 'Uniformity is a measure of the sum of the squares of each discrete value in the image ROI. This is a measure of the heterogeneity of an image, where a greater uniformity implies a greater heterogeneity or a greater range of discrete image values.' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( featureName == 'Volume mm^3' ) : #NEWLINE# #INDENT# self . description += 'The volume of the specified ROI of the image in cubic millimeters.' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( featureName == 'Volume cc' ) : #NEWLINE# #INDENT# self . description += 'The volume of the specified ROI of the image in cubic centimeters.' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( featureName == 'Surface Area' ) : #NEWLINE# #INDENT# self . description += 'The surface area of the specified ROI of the image in square millimeters.' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( featureName == 'Surface:Volume Ratio' ) : #NEWLINE# #INDENT# self . description += 'The ratio of the surface area (square millimeters) to the volume (cubic millimeters) of the specified image ROI.' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( featureName == 'Compactness 1' ) : #NEWLINE# #INDENT# self . description += 'Compactness 1 is a dimensionless measure, independent of scale and orientation. Compactness 1 is defined as the ratio of volume to the (surface area)^(1.5). This is a measure of the compactness of the shape of the image ROI.' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( featureName == 'Compactness 2' ) : #NEWLINE# #INDENT# self . description += 'Compactness 2 is a dimensionless measure, independent of scale and orientation. This is a measure of the compactness of the shape of the image ROI.' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( featureName == 'Maximum 3D Diameter' ) : #NEWLINE# #INDENT# self . description += 'Maximum 3D Diameter is the maximum, pairwise euclidean distance between surface voxels of the image ROI.' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( featureName == 'Spherical Disproportion' ) : #NEWLINE# #INDENT# self . description += 'Spherical Disproportion is defined as the ratio of the surface area of the image ROI to the surface area of a sphere with the same volume as the image ROI.' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( featureName == 'Sphericity' ) : #NEWLINE# #INDENT# self . description += 'Sphericity is a measure of the roundness or spherical nature of the image ROI, where the sphericity of a sphere is the maximum value of 1.' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( featureName == 'Autocorrelation' ) : #NEWLINE# #INDENT# self . description += 'Autocorrelation is a measure of the magnitude of the fineness and coarseness of texture.' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( featureName == 'Cluster Prominence' ) : #NEWLINE# #INDENT# self . description += 'Cluster Prominence is a measure of the skewness and asymmetry of the GLCM. A higher values implies more asymmetry about the mean value while a lower value indicates a peak around the mean value and less variation about the mean.' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( self == 'Cluster Shade' ) : #NEWLINE# #INDENT# self . description += 'Cluster Shade is a measure of the skewness and uniformity of the GLCM. A higher cluster shade implies greater asymmetry.' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( featureName == 'Cluster Tendency' ) : #NEWLINE# #INDENT# self . description += 'Cluster Tendency indicates the number of potential clusters present in the image.' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( featureName == 'Contrast' ) : #NEWLINE# #INDENT# self . description += 'Contrast is a measure of the local intensity variation, favoring P(i,j) values away from the diagonal (i != j), with a larger value correlating with larger image variation.' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( featureName == 'Correlation' ) : #NEWLINE# #INDENT# self . description += 'Correlation is a value between 0 (uncorrelated) and 1 (perfectly correlated) showing the linear dependency of gray level values in the GLCM. For a symfeatureal GLCM, ux = uy (means of px and py) and sigx = sigy (standard deviations of px and py).' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( featureName == 'Difference Entropy' ) : #NEWLINE# #INDENT# self . description += 'Difference Entropy is..' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( featureName == 'Dissimilarity' ) : #NEWLINE# #INDENT# self . description += 'Dissimilarity is..' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( featureName == 'Energy (GLCM)' ) : #NEWLINE# #INDENT# self . description += 'Energy (for GLCM) is also the Angular Second Moment and is a measure of the homogeneity of an image. A homogeneous image will contain less discrete gray levels, producing a GLCM with fewer but relatively greater values of P(i,j), and a greater sum of the squares.' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( featureName == 'Entropy (GLCM)' ) : #NEWLINE# #INDENT# self . description += 'Entropy (GLCM) indicates the uncertainty of the GLCM. It measures the average amount of information required to encode the image values.' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( featureName == 'Homogeneity 1' ) : #NEWLINE# #INDENT# self . description += 'Homogeneity 1 is a measure of local homogeneity that increases with less contrast in the window.' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( featureName == 'Homogeneity 2' ) : #NEWLINE# #INDENT# self . description += 'Homogeneity 2 is a measure of local homogeneity.' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( featureName == 'IMC1' ) : #NEWLINE# #INDENT# self . description += 'Informational Measure of Correlation 1 (IMC1) is..' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( featureName == 'IMC2' ) : #NEWLINE# #INDENT# self . description += 'Informational Measure of Correlation 2 (IMC2) is..' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( featureName == 'IDMN' ) : #NEWLINE# #INDENT# self . description += 'Inverse Difference Moment Normalized (IDMN) is a measure of the local homogeneity of an image. IDMN weights are the inverse of the Contrast weights (decreasing exponentially from the diagonal i=j in the GLCM). Unlike Homogeneity 2, IDMN normalizes the square of the difference between values by dividing over the square of the total number of discrete values.' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( featureName == 'IDN' ) : #NEWLINE# #INDENT# self . description += 'Inverse Difference Normalized (IDN) is another measure of the local homogeneity of an image. Unlike Homogeneity 1, IDN normalizes the difference between the values by dividing over the total number of discrete values.' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( featureName == 'Inverse Variance' ) : #NEWLINE# #INDENT# self . description += 'Inverse Variance is..' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( featureName == 'Maximum Probability' ) : #NEWLINE# #INDENT# self . description += 'Maximum Probability is..' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( featureName == 'Sum Average' ) : #NEWLINE# #INDENT# self . description += 'Sum Average is..' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( featureName == 'Sum Entropy' ) : #NEWLINE# #INDENT# self . description += 'Sum Entropy is..' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( featureName == 'Sum Variance' ) : #NEWLINE# #INDENT# self . description += 'Sum Variance weights elements that differ from the average value of the GLCM.' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( featureName == 'Variance (GLCM)' ) : #NEWLINE# #INDENT# self . description += 'Variance (for GLCM) is the dispersion of the parameter values around the mean of the combinations of reference and neighborhood pixels, with values farther from the mean weighted higher. A high variance indicates greater distances of values from the mean.' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( featureName == 'SRE' ) : #NEWLINE# #INDENT# self . description += 'Short Run Emphasis (SRE) is a measure of the distribution of short run lengths, with a greater value indicative of shorter run lengths and more fine textural textures.' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( featureName == 'LRE' ) : #NEWLINE# #INDENT# self . description += 'Long Run Emphasis (LRE) is a measure of the distribution of long run lengths, with a greater value indicative of longer run lengths and more coarse structural textures.' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( featureName == 'GLN' ) : #NEWLINE# #INDENT# self . description += 'Gray Level Non-Uniformity (GLN) measures the similarity of gray-level intensity values in the image, where a lower GLN value correlates with a greater similarity in intensity values.' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( featureName == 'RLN' ) : #NEWLINE# #INDENT# self . description += 'Run Length Non-Uniformity (RLN) measures the similarity of run lengths throughout the image, with a lower value indicating more homogeneity among run lengths in the image.' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( featureName == 'RP' ) : #NEWLINE# #INDENT# self . description += 'Run Percentage (RP) measures the homogeneity and distribution of runs of an image for a certain direction.' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( featureName == 'LGLRE' ) : #NEWLINE# #INDENT# self . description += 'Low Gray Level Run Emphasis (LGLRE) measures the distribution of low gray-level values, with a higher value indicating a greater concentration of low gray-level values in the image.' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( featureName == 'HGLRE' ) : #NEWLINE# #INDENT# self . description += 'High Gray Level Run Emphasis (HGLRE) measures the distribution of the higher gray-level values, with a higher value indicating a greater concentration of high gray-level values in the image.' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( featureName == 'SRLGLE' ) : #NEWLINE# #INDENT# self . description += 'Short Run Low Gray Level Emphasis (SRLGLE) measures the joint distribution of shorter run lengths with lower gray-level values.' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( featureName == 'SRHGLE' ) : #NEWLINE# #INDENT# self . description += 'Short Run High Gray Level Emphasis (SRHGLE)E) measures the joint distribution of shorter run lengths with higher gray-level values.' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( featureName == 'LRLGLE' ) : #NEWLINE# #INDENT# self . description += 'Long Run Low Gray Level Emphasis (LRLGLE) measures the joint distribution of long run lengths with lower gray-level values.' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( featureName == 'LRHGLE' ) : #NEWLINE# #INDENT# self . description += 'Long Run High Gray Level Emphasis (LRHGLE) measures the joint distribution of long run lengths with higher gray-level values.' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( featureName == 'Box-Counting Dimension' ) : #NEWLINE# #INDENT# self . description += "Box-Counting Dimension is part of the family of Renyi Dimensions, where q=0 for Renyi Entropy calculations. This represents the fractal dimension: the slope of the curve on a plot of log(N) vs. log(1/s) where 'N' is the number of boxes occupied by the image ROI at each scale, 's', of an overlaid grid." #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( featureName == 'Information Dimension' ) : #NEWLINE# #INDENT# self . description += 'Information Dimension is part of the family of Renyi Dimensions, where q=1 for Renyi Entropy calculations.' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( featureName == 'Correlation Dimension' ) : #NEWLINE# #INDENT# self . description += 'Correlation Dimension is part of the family of Renyi Dimensions, where q=2 for Renyi Entropy calculations.' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( featureName == 'Extruded Surface Area' ) : #NEWLINE# #INDENT# self . description += "Extruded Surface Area is the surface area of the binary object when the image ROI is 'extruded' into 4D, where the parameter or intensity value defines the shape of the Fourth dimension." #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( featureName == 'Extruded Volume' ) : #NEWLINE# #INDENT# self . description += "Extruded Volume is the volume of the binary object when the image ROI is 'extruded' into 4D, where the parameter or intensity value defines the shape of the Fourth dimension." #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( featureName == 'Extruded Surface:Volume Ratio' ) : #NEWLINE# #INDENT# self . description += "Extruded Surface:Volume Ratio is the ratio of the surface area to the volume of the binary object when the image ROI is 'extruded' into 4D, where the parameter or intensity value defines the shape of the Fourth dimension." #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# self . setText ( self . description )