In photoacoustic imaging using an insert, an image generator that suppresses a decrease in resolution of the tip region of the insert in a photoacoustic image and a method of operating the image generator are provided. Photo-acoustic image generation including a photo-acoustic image generation unit (24) that generates a sound-acoustic image based on a detection signal and a sound velocity in the subject, and a sound velocity setting unit (29) that sets the sound velocity in the subject. In the apparatus (10), the sound velocity setting unit (29) is set to include a high signal value pixel assembly unit having a region size larger than the reference region size in the optoelectronic image generated based on the assumed sound velocity and the detection signal. Of the sound velocity images generated by extracting the region of the range as the tip region and changing the sound velocity in a predetermined sound velocity range for the tip region, the sound velocity of the sound acoustic image having the maximum image evaluation value is included in the subject. Set as the speed of sound in.挿入物を用いた光音響イメージングにおいて、光音響画像における挿入物の先端領域の解像度低下を抑制した画像生成装置およびこの画像生成装置の作動方法を提供する。検出信号と被検体内における音速とに基づいて光音響画像を生成する光音響画像生成部(24)と、被検体内における音速を設定する音速設定部(29)とを備えた光音響画像生成装置(10)において、音速設定部(29)を、仮定の音速と検出信号とに基づいて生成された光音響画像において、基準領域サイズよりも大きい領域サイズの高信号値画素集合部を含む所定範囲の領域を先端領域として抽出し、先端領域について所定の音速範囲において音速を変化させて生成した音速毎の光音響画像のうち、画像評価値が最大となる光音響画像の音速を被検体内における音速として設定する。