home *** CD-ROM | disk | FTP | other *** search
- * demo of image analysis
- *
- read cermet a * read cermet image
- clear b * clear the bitplanes
- thr * theshold the image (using defaults)
- inv 1 * make objects white (default: image B)
- propag 511,2,1,8,1,b * propagate the edge
- exor 1,2,1 * remove object connected to the edge
- bcopy 1 2 b b * make a mask bitplane
- ero 3 1 6 0 b * remove small objects
- propag 100 1 2 6 0 b * propagate remaining objects
- measure * measure the white objects
- don 2 * automatic stretching
- label b,c,1,8 * "label" the objects
- don * back to normal display
- * .. effective at the next
- * .. display operation
-