<< cv_medianblur ComputerVision cv_orb >>

ComputerVision >> ComputerVision > cv_ones

cv_ones

"Returns matrix of Ones"

Calling Sequence

mat=cv_ones(rows,cols,type1)

Arguments

rows

Number of rows

cols

Number of columns

type1

If value Is 1 then Type of matrix Is float64 Else If its 2 then Type Is uint8

mat

Returned Matrix of ones

Description

Returns matrix of ones

Returns array of dimention Rows x Column specified In the argument whos All values are zero

Examples

[mat]=cv_ones(8,8,1);

See Also


Report an issue
<< cv_medianblur ComputerVision cv_orb >>