Calculates the hue for one row in a RGB image. Note: Although a reference to a whole image is passed to store the calculated hues only the specified row is actually converted! If the whole RGB image is to be converted to hues this method must be called seperately for each row of the image while always passing the same source and destination - Parameters:
-
source | The source RGB image |
row | The row in the source image for which the hues are to be calculated |
destination | A reference to a greyscale image that is to contain the calculated hues |
- Author:
- adapted from Andrew Barry
|