1. An image processing method comprising: setting a window within an input image; analyzing the window to determine directions of edges of objects within the image included in the window; detecting edge information including the edge directions; and processing and outputting the window using the edge information.