1. An apparatus, comprising: an image sensor that collects image data; an image signal processor, configured to: receive a stream of pixel data collected at the image sensor for an image frame; determine an edge detection value for the image frame, wherein the determination comprises: evaluate respective neighborhoods of pixels for individual pixels in the stream of pixel data to determine the edge detection value; and for at least one of the individual pixels: detect a clipped pixel within the respective neighborhood; and exclude the evaluation of the at least one individual pixel from the edge detection value; and store the edge detection value in a memory; and an automated controller, configured to: access the memory to obtain the edge detection value; and direct a focal adjustment at the image sensor based, at least in part, on the edge detection value.