<put algortithm description here>
Input layer
Number of colors
<put parameter description here>
Default: 2
Output layer
processing.runalg('gdalogr:rgbtopct', input, ncolors, output)