A method of operating a camera system for electromagnetic radiation, said camera system comprising a configuration of pixels in an imaging sensor being integrated in a solid state substrate, essentially each of the pixels comprising a region of a first conductivity type being at least partly surrounded by a region of a second conductivity type, thereby forming a junction region, and wherein the region of the first conductivity type includes at least one contact area, the method comprising the step of configuring the region of the first conductivity type and the region of the second conductivity type as to collect charge carriers being generated by the radiation impinging on said substrate at least in said region of said first conductivity type and in said junction region, in said contact area.