An image processing method and device for processing multiple rows of
pixels of an image simultaneously with a single instruction. The
processing includes selecting a pixel window having a plurality of pixels
of an image spanning across multiple rows and columns, building vertical
and horizontal load registers to include the plurality of pixels of the
selected pixel window, and simultaneously processing selected pixels of
the plurality of pixels included in the vertical and horizontal load
registers using a single instruction, wherein the vertical and horizontal
load registers are shifted when the selected pixels are processed.
Accordingly, a method and device for efficient processing of an image is
provided.