Abstract: The invention provides a technique for accurate detection of objects appearing in the image, such as single fluorescent molecules, cells, microorganisms, nucleotides, DNA strands, or stars in celestial images. The method allows to differentiate between two combined point sources even if they are closer to each other than the optical resolution of the system. The procedure involves computing several coefficients representing decomposition of the intensity data in the basis of Hermit functions.