private ImageProcessor setLabels(ImageProcessor ip){
		ImageProcessor temp = ip.duplicate();
		temp.invert();
		ImagePlus im = new ImagePlus("Temp", temp.duplicate());
		ResultsTable cc = new ResultsTable();
		Double min_size = 0.0;
		Double max_size = Double.POSITIVE_INFINITY;
		ParticleAnalyzer pa = new ParticleAnalyzer(ParticleAnalyzer.IN_SITU_SHOW | ParticleAnalyzer.SHOW_ROI_MASKS, 
				0, cc, min_size, max_size);
		pa.analyze(im);	
		return im.getProcessor();
	}