ends
|
|
Input
|
|
An integer between 1 and 116 specifying the input image frame number. Values in the range of 100-116 correspond to hidden frames.
|
|
Output
|
|
An integer between 1 and 116 specifying the output image frame number. Values in the range of 100-116 correspond to hidden frames.
|
|
ERR_OK
|
|
The flag set if successful.
|
|
ERR_FAILED
|
|
The flag set if failed.
|
This set of statements extracts a skeleton from a sample image and finds the end points of the skeleton:
|
|
setCurDir ("samples")
|
loadIm (1,"sample25.iwd")
|
threshold(1,1,M_PRESET,177.,255.,TRUE,FALSE)
|
fill(1,1)
|
thin (1,2,0,20)
|
ends (2,3)
|
|