Can something like this (which by the way I can't get to work):
http://stackoverflow.com/questions/3114925/pil-convert-rgb-image-to-a-specific-8-bit-palette
What I would like to do is this:
1) Import an RGB image, which would have its own colormap - say this one
for example:
https://upload.wikimed
Nice idea
I will try
Sent from my iPhone
> On May 23, 2015, at 2:23 PM, Jody Klymak wrote:
>
>
>> On May 23, 2015, at 12:07 PM, Eric Firing wrote:
>>
>> You might get something more to your liking if you were to start with a
>> colormap in which V is uniform--all variation is in H and S--
, Matteo Niccoli wrote:
> Joe, Eric
>
>
> Thanks to both for your further comments.
> I made a new notebook, this time using open source data so it can be
> downloaded and followed step by step. The html version in nbviewer is here:
>
> http://nbviewer.ipython.org/urls/dl.dropb
n would be appreciated
>
> Thanks,
> Matteo
>
>
> On Thu, May 21, 2015 4:10 pm, Eric Firing wrote:
>
>
>>
>> Colormapping occurs only when you give imshow a 2-D array of numbers to
>> be mapped; when you feed it a 3-D array of RGB values, it simpl
> be mapped; when you feed it a 3-D array of RGB values, it simply shows
> those colors. For colormapping to occur, it must be done on a 2-D array
> as a step leading up to the generation of your img_array.
>
> Eric
> On 2015/05/21 5:50 AM, Matteo Niccoli wrote:
>
>>
I posted a question on stackoverflow about creating with making my own
shading effect (I want to use horizontal gradient for the shading).
http://stackoverflow.com/questions/30310002/issue-creating-map-shading-in-matplotlib-imshow-by-setting-opacity-to-data-gradi
Unfortunately I cannot share the
s available somewhere by any chance ?
>
>
>
> Nicolas
>
>
>
> On 06 Aug 2014, at 15:25, Damon McDougall
> wrote:
>
>
>> On Mon, Aug 4, 2014 at 5:20 PM, Matteo Niccoli
>> wrote:
>>
>>> Hi All
>>>
>>>
>>> I recently
Hi All
I recently wrote a tutorial on how to evaluate and compare colormaps using
perceptual principle. It is geared towards Matplotlib.
http://nbviewer.ipython.org/github/mycarta/tutorials/blob/master/1408_Evaluate_and_compare_colormaps/How_to_evaluate_and_compare_colormaps.ipynb
Although I am