{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Color quantization with scikit-learn\n", "\n", "This notebook is part of a blog post on [Geophysics Labs](http://geophysicslabs.com/2016/12/15/how-to-add-maps-to-opendtect/).\n", "\n", "Here I demonstrate how to convert a 3-channel RGB picture into an indexed-color one-band grid. This step is essential to be able to import coloured images into OpendTect.\n", "\n", "The example shown here makes use of the Kevitsa dataset that was made freely available by the [Frank Arnott Award](https://www.frankarnottaward.com/Home.aspx).\n", "