|
getParamSize
|
|
|
|
| Param
|
|
|
| A string specifying the name of the measurement parameter whose size is to be retrieved. See selectParam for the list of parameters supported by ImageWarp.
|
|
|
|
|
| The number of elements in the specified vector parameter. For scalar parameters the function returns 1.
|
|
|
|
|
| ERR_OK
|
|
|
| The flag set if successful.
|
|
|
| ERR_FAILED
|
|
|
| The flag set if failed.
|
|
|
| To retrieve the measurement data from the Global Grid, use the Grid object.
|
|
|
| This set of statements collects the line profile from a sample image and reports the size of the profile array.
|
|
|
| setCurDir ("samples")
|
| loadIm (1,"sample8.iwd")
|
| setProfile(1,"SH_LINE",10,10,115,210)
|
| measProfile(1)
|
| Print "Profile size: ", getParamSize("Profile")
|