Table 7. Timing for the most time-consuming functions of colordistance.
Function | Coefficient | R2 | p-value | |
---|---|---|---|---|
Loading images | loadImage | 0.24 s pixels−6 | 0.97 | <0.01 |
Converting from RGB to CIE Lab | convertColorSpace | 57.3 s pixels−6 | 0.99 | <0.01 |
Histogram binning | getLabHist | 1.43 s pixels−6 | 0.97 | <0.01 |
k-means binning | getKMeanColors | 25.4 s pixels−6 | 0.97 | <0.01 |
Note:
A total of five runs of each analysis were performed on an early 2015 MacBook Pro with a 2.7 GHz Intel Core i5 processor.