Hi! I'm currently implementing XEP-0392 and I'm unable to reproduce the values from the test vectors. More specifically, all my values are more or less correct (very small rounding errors), apart from the B value.
I noticed that the B value in the test vectors is always suspiciously even (1.00 or 0.00), so I wonder, if the author made a mistake there. My values are the following: Deficiency Input Angle CB CR R G B none: 'Romeo', 5.711681589892942, 0.5, -0.32154605279699133, 0.28119242, 0.78955954, 1.618 redGreenBlindness: 'Romeo', 2.570088936303149, -0.5, 0.3215460527969912, 1.1828076, 0.67444044, -0.154 blueBlindness: 'Romeo', 2.570088936303149, -0.5, 0.3215460527969912, 1.1828076, 0.67444044, -0.154 none: '[email protected]', 3.6549009747360257, -0.5, -0.28185511000034474, 0.33683914, 1.1053511, -0.154 redGreenBlindness: '[email protected]', 0.5133083211462326, 0.5, 0.2818551100003448, 1.1271609, 0.3586489, 1.618 blueBlindness: '[email protected]', 3.6549009747360257, -0.5, -0.28185511000034474, 0.33683914, 1.1053511, -0.154 none: '😺', 5.78051897774931, 0.5, -0.2748848171290424, 0.3466115, 0.7562371, 1.618 redGreenBlindness: '😺', 2.6389263241595167, -0.5, 0.2748848171290423, 1.1173885, 0.7077629, -0.154 blueBlindness: '😺', 2.6389263241595167, -0.5, 0.2748848171290423, 1.1173885, 0.7077629, -0.154 none: 'council', 6.2830894333803435, 0.5, -4.793689976834576E-5, 0.7319328, 0.5599661, 1.618 redGreenBlindness: 'council', 3.1414967797905504, -0.5, 4.793689976828453E-5, 0.7320672, 0.9040339, -0.154 blueBlindness: 'council', 3.1414967797905504, -0.5, 4.793689976828453E-5, 0.7320672, 0.9040339, -0.154 _______________________________________________ Standards mailing list Info: https://mail.jabber.org/mailman/listinfo/standards Unsubscribe: [email protected] _______________________________________________
