Colour constancy and its applications in machine vision