1. A method of determining a distance between an image sensor and an object by at least one of hardware components or software components, comprising: acquiring a first image of an object from the image sensor, wherein the first image is acquired from light passing through a cut-off filter that filters out at least one of red, green, or blue light signals; acquiring a second image distinguished from the first image, wherein the second image is acquired from light passing through a pin hole in the cutoff filter that is unfiltered by the cutoff filter; amplifying a brightness value of the second image by the at least one of hardware components or software components; and determining a distance between the image sensor and the object by a comparison of the first image and the amplified second image by the at least one of hardware components or software components.