patterned light measurement