This disclosure provides a
power control method, an
image processing method, an apparatus, an electronic device, and a medium, relating to the field of electronic device technology. The method is applied to an electronic device, which includes an
image acquisition component and a Time-of-Flight (TOF) component. Specifically, the method includes: acquiring the distance between the
image acquisition component and the object being acquired when the
image acquisition component is in an on state; and adjusting the transmission power of the TOF component based on the distance. The
power control method provided in this disclosure can adjust the transmission power of the TOF component according to the distance between the image acquisition component and the object being acquired. This eliminates the influence of reflected light from the TOF component on the image acquisition component when the distance is close.