Locating the callable signal was performed to remove extraneous data from the beginning and end of the signal and accomplished by employing a threshold.
The background was removed from the signal, so that the signal had a common baseline for all detected colors.