An image processing module comprising: a beamforming unit configured to output a beamformed signal based on an input signal; a point spread function database (12, 220) comprising a plurality of point spread functions for the beamformed signal, wherein the plurality of point spread functions is obtained based on situational variables; and an image generation unit (10, 200) configured to extract a first point spread function from the point spread function database (12, 220) based on the beamformed signal, and perform deconvolution using the beamformed signal and a second point spread function to generate an image of a target portion of an object, characterized in that the second point spread function is a two-dimensional point spread function, and the situational variables comprise a sound speed of an ultrasonic wave and a distance of the target portion of the object, wherein the plurality of point spread functions comprises two-dimensional point spread functions acquired according to the situational variables through measurement and wherein the first point spread function is a two-dimensional point spread function and the image generation unit (10, 200) is further configured to set the second point spread function equal to the first point spread function; or wherein the plurality of point spread functions comprises one-dimensional point spread functions and wherein the first point spread function is a one-dimensional point spread function and the image generation unit (10, 200) is further configured to determine the second point spread function by estimating the second point spread function based on the first point spread function. a beamforming unit configured to output a beamformed signal based on an input signal; a point spread function database (12, 220) comprising a plurality of point spread functions for the beamformed signal, wherein the plurality of point spread functions is obtained based on situational variables; and an image generation unit (10, 200) configured to extract a first point spread function from the point spread function database (12, 220) based on the beamformed signal, and perform deconvolution using the beamformed signal and a second point spread function to generate an image of a target portion of an object, characterized in that the second point spread function is a two-dimensional point spread function, and the situational variables comprise a sound speed of an ultrasonic wave and a distance of the target portion of the object, wherein the plurality of point spread functions comprises two-dimensional point spread functions acquired according to the situational variables through measurement and wherein the first point spread function is a two-dimensional point spread function and the image generation unit (10, 200) is further configured to set the second point spread function equal to the first point spread function; or wherein the plurality of point spread functions comprises one-dimensional point spread functions and wherein the first point spread function is a one-dimensional point spread function and the image generation unit (10, 200) is further configured to determine the second point spread function by estimating the second point spread function based on the first point spread function. wherein the plurality of point spread functions comprises two-dimensional point spread functions acquired according to the situational variables through measurement and wherein the first point spread function is a two-dimensional point spread function and the image generation unit (10, 200) is further configured to set the second point spread function equal to the first point spread function; or wherein the plurality of point spread functions comprises one-dimensional point spread functions and wherein the first point spread function is a one-dimensional point spread function and the image generation unit (10, 200) is further configured to determine the second point spread function by estimating the second point spread function based on the first point spread function.