Display an ndarray as an image using gnuplot
npm install gnuplot-imshow
const getPixels = require('get-pixels')
const imshow = require('gnuplot-imshow');
getPixels('baboon.jpg', (err, pixels) => {
imshow(pixels, {title: 'baboon image'})
})
Display an ndarray of pixels as an image using gnuplot
Display an ndarray as an image using gnuplot
npm install gnuplot-imshow
const getPixels = require('get-pixels')
const imshow = require('gnuplot-imshow');
getPixels('baboon.jpg', (err, pixels) => {
imshow(pixels, {title: 'baboon image'})
})
Display an ndarray of pixels as an image using gnuplot
MIT License