ComputeMedianCutPCT issues an empty color table
|Reported by:||ccjklppp||Owned by:||warmerdam|
I'm using the ComputeMedianCutPCT method to calculate a color table for 60 tiffs (less than 17GB in total). First we created a VRT mosaic of all the tiffs, then we used it as the input for the ComputeMedianCutPCT method. The result was a color table that contains only 1 color. When the set was reduced to only 40 tiffs, the color tables was ok (contained 240 colors as requested). We tried with 2 different sets and the outcome was the same - when the size is bigger than ~15GB, the result color tables contains only 1 value =(124,124,124). It seems that the size of the input creates this problem. Please help!