Point 4 says: 4 Return the linear interpolated value of x within that interval.
needs to be y (see points above)
A transfer curve consists of a series of XY pairs where each pair consist of the stimuli (X) and the resulting value (Y). To
calculate the result of a certain stimuli, the following algorithms SHALL be applied:
1 If x < = first stimuli, then the result is the y value of the first xy pair.
2 If x > = the last stimuli, then the result is the y value of the last xy pair.
3 Search the interval in which x is located.
4 Return the linear interpolated value of x y within that interval.