Are you using our IMAQ Vision toolkit for image processing? If so, please look at the VIs for particle analysis, complex measurements, and so. They will provide tools for finding the Perimeter, Area, etc.
If you are not using any processing toolkit and if you want to program an algorithm yourself please look at the following references that are good resources of digital image processing algorithms:
http://www.ni.com/devzone/reference/books/vision.htm
Good luck!
Nestor S.
Nestor