Description Usage Arguments Value Note Author(s) See Also Examples
Function to find the maximum order (and repetition for complex moments) of moments such that all moment values up to that order (in both the x and y directions) are finite and not Nan values. The maximum order will be at most the maximum order represented in the matrix of moment values. This function looks for the largest size rectangular block in the moment matrix such that no values are infinity or NaN.
1 | checkOrder(moments)
|
moments |
Matrix containing image moments from order 0 up to some order |
orderP |
The maximum order along the x-axis of the moments matrix, which is also the maximum number of valid columns minus 1. |
orderQ |
The maximum order along the y-axis of the moments matrix, which is also the maximum number of valid rows minus 1. |
The maximum order of p
and q
returned will be the same in the current implementation, representing the upper bounds of a square block within the moments matrix.
Allison Irvine
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.