A device for analyzing and treating tonal imperfections on human skin. The device, or apparatus has an applicator comprising a head and one or more nozzles, preferably the nozzles are arranged in an array. The apparatus further has a reservoir comprising a skin treatment composition, a sensor, and a CPU. The sensor takes an image of at least 10 μm2 of skin. The CPU analyzes the image to calculate a localized L value of individual pixels or group of pixels. The CPU then compares the local L value to a background L value to identify one or more skin deviations, and wherein the sensor is in wireless communication with the CPU, and wherein the CPU is adjacent the sensor or is remotely located. Further, the sensor may be enclosed within an apparatus handle and the CPU is either within the handle or external to the handle. In another embodiment of this invention, there are two or more CPUs and the sensor can be in wireless communication with none, one or more than one CPU.