Edge detection using partion based ACS