1. A method for edge detection during an imaging operation, comprising: subdividing an imaging area into a plurality of border detection zones; scanning the imaging area including media to be scanned to obtain optical data for each of the plurality of border detection zones; and identifying at least one edge of the media based on change in the optical data between directly adjacent border detection zones, where the change indicates detection of a moiré pattern.