From: Benjamin R. <ben...@gm...> - 2016-01-28 15:39:52
|
You might have better luck asking the scikit-image people, or the Pillow people. ImageMagick might also have what you are looking for. Cheers! Ben Root On Wed, Jan 27, 2016 at 11:23 PM, Matteo Niccoli <ma...@my...> wrote: > 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.wikimedia.org/wikipedia/commons/b/b3/Jupiter_new_hubble_view_above_pole.png > > 2) convert it to intensity, display the intensity color-mapped to the same > colours the original RGB had. > > Any tips, or even better code or pseudocode would be greatly appreciated. > > Thanks > Matteo > > > > ------------------------------------------------------------------------------ > Site24x7 APM Insight: Get Deep Visibility into Application Performance > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > Monitor end-to-end web transactions and take corrective actions now > Troubleshoot faster and improve end-user experience. Signup Now! > http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > |