ones

Undocumented in source. Be warned that the author may not have intended to support it.
  1. Mat ones(int rows, int cols, int type)
    ones
    (
    int rows
    ,
    int cols
    ,
    int type
    )
  2. Mat ones(Size sz, int type)

Meta