GPU Color Quantization
Chi Leung, Tze-Yui Ho, Yi Xiao · 2010
Example programs and source code to accompany some of the chapters are available at http://www.akpeters.com/gpupro . The directory structure closely follows the book structure by using the chapter number as the name of the subdirectory. You will need to download the DirectX August 2009 SDK.