1. An image sensor comprising: n optical black pixels which are arranged in the same horizontal line; and m comparators which are matched with the n optical black pixels, wherein n is a natural number greater than or equal to 2, and m is a natural number greater than n.