Template matching using NCC and any color mode.