A method for acquiring an image having two-dimensional spatial resolution and spectral resolution, said method comprising: acquiring a frame using rows of photo-sensitive areas on at least one sensor surface , which at least one sensor surface is arranged in relation to at least one optical system in an image plane defined by the at least one optical system , wherein the photo-sensitive areas are arranged to detect incident light from an object imaged by the at least one optical system onto the image plane and rows of photo-sensitive areas are arranged to receive different wavelengths of light, wherein rows of photo-sensitive areas are arranged in wavelength bands, each wavelength band comprising a plurality of rows arranged to receive same wavelengths of light, wherein a set of adjacent wavelength bands define a spectral range of an image, and wherein the at least one sensor surface comprises a plurality of sets of wavelength bands repeated on the at least one sensor surface , wherein a frame in the plurality of frames is acquired by means of a sub-set of the rows of photo-sensitive areas arranged in the image plane to receive incident light from the at least one optical system , wherein the sub-set of rows are arranged in positions, which are defined co-centric with an image circle defined by the optical system ; moving the at least one sensor surface in the image plane in a direction perpendicular to a longitudinal direction of the rows of photo-sensitive areas ; repeating the acquiring for acquiring a plurality of frames using different positions of the at least one sensor surface in relation to the at least one optical system for recording different spectral information for respective positions on the object; and combining information from the plurality of frames to form multiple channels of an image, wherein each channel is formed based on detected light in respective rows of photo-sensitive areas and represent a two-dimensional image of the object for a unique wavelength. acquiring a frame using rows of photo-sensitive areas on at least one sensor surface , which at least one sensor surface is arranged in relation to at least one optical system in an image plane defined by the at least one optical system , wherein the photo-sensitive areas are arranged to detect incident light from an object imaged by the at least one optical system onto the image plane and rows of photo-sensitive areas are arranged to receive different wavelengths of light, wherein rows of photo-sensitive areas are arranged in wavelength bands, each wavelength band comprising a plurality of rows arranged to receive same wavelengths of light, wherein a set of adjacent wavelength bands define a spectral range of an image, and wherein the at least one sensor surface comprises a plurality of sets of wavelength bands repeated on the at least one sensor surface , wherein a frame in the plurality of frames is acquired by means of a sub-set of the rows of photo-sensitive areas arranged in the image plane to receive incident light from the at least one optical system , wherein the sub-set of rows are arranged in positions, which are defined co-centric with an image circle defined by the optical system ; moving the at least one sensor surface in the image plane in a direction perpendicular to a longitudinal direction of the rows of photo-sensitive areas ; repeating the acquiring for acquiring a plurality of frames using different positions of the at least one sensor surface in relation to the at least one optical system for recording different spectral information for respective positions on the object; and combining information from the plurality of frames to form multiple channels of an image, wherein each channel is formed based on detected light in respective rows of photo-sensitive areas and represent a two-dimensional image of the object for a unique wavelength. <EOS>