Generates a lowpass Butterworth filter in the frequency domain
Generates a lowpass Butterworth filter in the frequency domain
Number of rows in filter.
Number of columns in filter.
The cutoff frequency of the filter 0 - 0.5
The order of the filter, the higher n is the sharper the transition is. (n must be an integer >= 1). Note that n is doubled so that it is always an even integer.
The Butterworth filter as a matrix.
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.
Implements Peter Kovesi's lowpassfilter function from his computer vision library: http://www.csse.uwa.edu.au/~pk/research/matlabfns/