min_max_gray

min_max_gray(Regions, Image : : Percent : Min, Max, Range)

  e.g.:
    Area = 60, percent = 5, i.e. 3 pixels
    Histogram = [2,8,0,7,13,0,0,...,0,10,10,5,3,1,1]
    => Maximum = 255, Minimum = 0, Range = 255

    min_max_gray returns: Maximum = 253, Minimum = 1, Range = 252

Min (output_control)  real(-array) → (real)
“Minimum” gray value.
Max (output_control)  real(-array) → (real)
“Maximum” gray value.
Assertion: Max >= Min
Range (output_control)  real(-array) → (real)
Difference between Max and Min.
Assertion: Range >= 0

你可能感兴趣的:(笔记,开发语言)