Presented is a skew detection apparatus. In one form, the apparatus estimates skew based on the locations of a set of foreground content pixels or a set of edge pixels that are nearest to the side of an image of a document. In another form, the apparatus includes a skew estimation unit adapted to estimate skew based on the orientation of foreground or background content in the interior of a document. In another form, the apparatus estimates skew using segments of an image of a document. Also presented is a document image processing apparatus including the skew detection apparatus.