
for (i=1;i<1200;i++)
{
	open("/home/roscian/Bureau/roscian/Images/Photos_BERRE/picture_"+i+".jpeg");

	makeRectangle(0, 23, 450, 450);
	run("Crop");
	run("Enhance Contrast...", "saturated=0.3");
	run("Mean...", "radius=2");
	run("Variance...", "radius=5");
	setOption("BlackBackground", true);
	run("Make Binary");
	run("Find Edges");
	run("Fill Holes");
	run("Find Edges");
	run("Save", "save=/home/roscian/Bureau/roscian/Images/Test/picture_"+i+".tif");
	close();
}
