iIndex
Index into the array of threshold values. Valid values range from 0 to
GrayColorCount
– 1.