, , . :
let imGeneric<'t, 'u> (x: 't, y: 'u) = ...
let callGeneric = imGeneric<int, string> (5, "abc")
, , F # , :
let imGeneric (x, y) = ...
let callGeneric = imGeneric (5, "abc")
Cv2.CalcHist . , :
Cv2.CalcHist( images, [|0|], null, hist, 1, hdims, ranges, true, false )
, , ranges Rangef [], .
( ) . :
Cv2.CalcHist(
images, [|0|], null, hist, 1, hdims,
(ranges : Rangef []),
true, false )
(ranges : Rangef []). ranges, images, [|0|], null, hist, 1, hdims, ranges, , Rangef [].
:
let ranges: Rangef [] = getRanges()
Cv2.CalcHist( images, [|0|], null, hist, 1, hdims, ranges, true, false )
. , , , , .