Research Article
PRO: A Novel Approach to Precision and Reliability Optimization Based Dominant Point Detection
Algorithm 1
Pseudocode for PRO algorithm.
| Function DP = PRO | | { DP = NULL; % DP contains the dominant points | | % Step 1. line and its parameters | | Fit a line using and . | | % Step 2. maximum deviation | | Find deviation of pixels from the line . | | Find and point corresponding to . | | Find and . | | % Step 3. termination/recursion condition | | If AND | | DP | | Else | | { DP = . | | DP = . | | } | | End | | Remove redundant points in DP. | | Return(DP). | | } |
|