On threshold mechanisms for achromatic and chromatic vision