|
Hi,
I would like to take outlines of
objects from one image and move them
one at a time to another image and take
measurements. I have figured
out how to convert outlines to AOI's and move them
but I'm now
trying to get the command ret = IpBlbFromAOI to work. I can't seem
to make the conversion happen. Any
suggestions?
I use these commands to get the objects, the
points, and create an
object on a second image.
ret = IpBlbGet(GETNUMOBJ, 0, 0,
nObjects)
numPoints = IpBlbGet(GETPOINTS, i, 1000,
Outline(0))
ret = IpAnCreateObj(GO_OBJ_POLY)
ret = IpAnPolyAddPtArray(Outline(0), numPoints) ret = IpAnSet(GO_ATTR_CONNECT,1) thanks, John McLaughlin
Rigel, Inc. 240 East Grand Avenue South San Francisco, CA 94080 |