package
Displays an ndarray as an image
npm install ndarray-imshowGitHub-flavored package documentation.
Across all versions, last 30 days.
460 in 30 days
Runtime metadata.
Tagged topics.
Displays an ndarray as an image, either in the browser console or as a pop up when run from node. This works both in node.js and the browser via browserify.
var lena = require("lena")
var imshow = require("ndarray-imshow")
imshow(lena)npm install ndarray-imshowrequire("ndarray-imshow")(array[, options])Displays an ndarray as an image. In node, this will open a window, while in the browser the image will be displayed in the debug console.
array is an ndarray
options is an object containing a set of optional arguments
min is the minimum bound on the intensity range for the imagemax is the maximum bound on the intensity range for the imagecolormap is a colormap, as defined by the colormap packagegray is a flag which if set converts rgb images to grayscale first(c) 2014 Mikola Lysenko. MIT License
jaspervdg
th.v.d.gronde@hccnet.nl
Estimated unpacked size across 38 packages.
2.6 MB
Includes dependencies.
9 direct · 3 outdated
0.0.4
11.0.4
^1.0.10
1.1.1
^1.0.2
1.0.3
~0.0.8
1.1.0
^1.2.1
1.2.2
^1.0.0
1.2.0