A medical wireless imaging device comprises an image sensor, a transmitter, a receiving device, and a plurality of light sources. The transmitter transmits data through a wireless communication link to a processing device. The receiving device wirelessly receives control data from a control unit. Each light source is configured to be individually controlled according to the control data. A reference image is stored for each light source. Intensities of each light source are calculated based on a reference image and on an input image.