don 3 * multiple bitplane display read cermet * read cermet image clear B * clear the bitplanes thr * theshold the image inv 1 * make objects white propag 511,2,1,8,1,B * propagate the edge exor 1,2,1 * remove object connected to the edge measure * measure the white objects