Module Opencv.Draw
Allows for pure-functional drawing operations by queueing a sequence of operations to be drawn at once on a copy of the source image with draw.
val draw : t list -> Cvdata.t -> Cvdata.tdraw queue matis the mat resulting from sequentially performing all drawing operations in thequeuetomat. The returned mat starts as a clone ofmat, somatis not modified, i.e. this is a pure function.
val draw_segments : Line_segment_detector.t -> Cvdata.t -> tval normalize : ?alpha:float -> ?beta:float -> ?norm_type:int -> ?dtype:int -> ?mask:Cvdata.t -> Cvdata.t -> tval insert_channel : Cvdata.t -> int -> tval randu : Cvdata.t -> Cvdata.t -> tval randn : Cvdata.t -> Cvdata.t -> tval accumulate : ?mask:Cvdata.t -> Cvdata.t -> tval accumulate_square : ?mask:Cvdata.t -> Cvdata.t -> tval accumulate_product : ?mask:Cvdata.t -> Cvdata.t -> Cvdata.t -> tval accumulate_weighted : ?mask:Cvdata.t -> Cvdata.t -> float -> tval watershed : Cvdata.t -> tval line : ?thickness:int -> ?line_type:int -> ?shift:int -> point2i -> point2i -> Scalar.t -> tval arrowed_line : ?thickness:int -> ?line_type:int -> ?shift:int -> ?tip_length:float -> point2i -> point2i -> Scalar.t -> tval rectangle1 : ?thickness:int -> ?line_type:int -> ?shift:int -> point2i -> point2i -> Scalar.t -> tval rectangle2 : ?thickness:int -> ?line_type:int -> ?shift:int -> rect2i -> Scalar.t -> tval circle : ?thickness:int -> ?line_type:int -> ?shift:int -> point2i -> int -> Scalar.t -> tval ellipse1 : ?thickness:int -> ?line_type:int -> ?shift:int -> point2i -> size2i -> float -> float -> float -> Scalar.t -> tval ellipse2 : ?thickness:int -> ?line_type:int -> rotated_rect -> Scalar.t -> tval draw_marker : ?marker_type:int -> ?marker_size:int -> ?thickness:int -> ?line_type:int -> point2i -> Scalar.t -> tval fill_convex_poly : ?line_type:int -> ?shift:int -> Cvdata.t -> Scalar.t -> tval fill_poly : ?line_type:int -> ?shift:int -> ?offset:point2i -> Cvdata.t list -> Scalar.t -> tval polylines : ?thickness:int -> ?line_type:int -> ?shift:int -> Cvdata.t list -> bool -> Scalar.t -> tval draw_contours : ?thickness:int -> ?line_type:int -> ?hierarchy:Cvdata.t -> ?max_level:int -> ?offset:point2i -> Cvdata.t list -> int -> Scalar.t -> tval put_text : ?thickness:int -> ?line_type:int -> ?bottom_left_origin:bool -> string -> point2i -> int -> float -> Scalar.t -> t