A system of distributed intelligent scheduling with compensation optimization for a wireless ad hoc network or a personal area network is provided. An active pillar is formed on a semiconductor substrate, and an interlayer insulating layer is formed so that the active pillar is buried in the interlayer insulating layer. In a capture mode, the imaging device is calibrated by the standard light source, therefore obtaining standard sensitivity gain of the capture mode. Determined optical properties may be the scattering coefficient and absorption coefficient of the tissue.