Re: [scikit-image] Convert data to image and then image to numpy.ndarray

2017-04-27 Thread Stefan van der Walt
Hi Carlton On Wed, Apr 26, 2017, at 20:14, Carlton Banks wrote: > Is it possible to convert a data set stored as a numpy.ndarray -> plot > the data with a colormap , possibly cm.jet. -> and then store the image > pixels to a numpy.ndarray. I hope you're not using jet ;) But here's an example:

[scikit-image] Convert data to image and then image to numpy.ndarray

2017-04-27 Thread Carlton Banks
Is it possible to convert a data set stored as a numpy.ndarray -> plot the data with a colormap , possibly cm.jet. -> and then store the image pixels to a numpy.ndarray. The data array of the image should have the same shape of the data array used to make the array. The image conversion is