Create a diamond max flat filter.
Create a diamond max flat filter.
Order of the filter, must be in {1, 2, 3, 4, 5, 6, 7}.
Center value of the filter, must be either 0 or 1
Clip off last column of matrix m
.
Clip off last column of matrix m
.
Clip off last row of matrix m
.
Clip off last row of matrix m
.
Matlab's side-by-side matrix concatenation operator.
Matlab's side-by-side matrix concatenation operator.
Does a convolution of two matrices.
Does a convolution of two matrices.
Image to be convolved.
Convolution filter.
"full", "same", or "valid"
Matlab's fliplr operator.
Matlab's fliplr operator.
Matlab's flipup operator.
Matlab's flipup operator.
Matlab spec says this produces a "row vector", which is a matrix with a single row in Cog.
Matlab spec says this produces a "row vector", which is a matrix with a single row in Cog.
Implement Matlab's repmat.
Implement Matlab's repmat.
Matrix to be replicated.
Row replication factor.
Column replication factor.
Matlab's top-on-bottom matrix concatenation operator.
Matlab's top-on-bottom matrix concatenation operator.
Lower triangular part of (square) matrix.
Lower triangular part of (square) matrix.
Diamond max flat filters of various orders.