MATLAB File Help: cv.drawMarker | Index |
Draws a marker on a predefined position in an image
img = cv.drawMarker(img, pos)
img = cv.drawMarker(..., 'OptionName', optionValue, ...)
[x,y]
.+
) (default) A crosshair marker shape.x
) A 45 degree tilted crosshair marker shape.*
) A star marker shape, combination of cross and tilted
cross.d
) A diamond marker shape.s
) A square marker shape.^
) An upwards pointing triangle marker shape.v
) A downwards pointing triangle marker shape.The function cv.drawMarker draws a marker on a given position in the image.
For the moment several marker types are supported, see MarkerType
for more
information.