Capacitive imaging device with active pixels