本文主要是介绍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
这篇关于min_max_gray的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!