Home | History | Annotate | Download | only in www

Lines Matching full:brightness

1182 <p>Here is a listing of a sample <a href="../source/analyze.c">custom image filter</a>.  It computes a few statistics such as the pixel brightness and saturation mean and standard-deviation.</p>
1203 % analyzeImage() computes the brightness and saturation mean, standard
1233 brightness,
1313 ConvertRGBToHSB(GetPixelRed(p),GetPixelGreen(p),GetPixelBue(p),&amp;hue,&amp;saturation,&amp;brightness);
1314 brightness*=QuantumRange;
1315 brightness_sum_x+=brightness;
1316 brightness_sum_x2+=brightness*brightness;
1317 brightness_sum_x3+=brightness*brightness*brightness;
1318 brightness_sum_x4+=brightness*brightness*brightness*brightness;
1333 (void) SetImageProperty(image,"filter:brightness:mean",text);
1338 (void) SetImageProperty(image,"filter:brightness:standard-deviation",text);
1347 (void) SetImageProperty(image,"filter:brightness:kurtosis",text);
1354 (void) SetImageProperty(image,"filter:brightness:skewness",text);
1391 filter:brightness:kurtosis: 8.17947
1392 filter:brightness:mean: 60632.1
1393 filter:brightness:skewness: -2.97118
1394 filter:brightness:standard-deviation: 13742.1