Created
May 13, 2015 17:15
-
-
Save mikolalysenko/5a913f90f6b45f392c45 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var baboon = require("baboon-image") | |
var ndarray = require('ndarray') | |
var imshow = require('ndarray-imshow') | |
var translate = require('ndarray-translate-fft') | |
var baboon64 = ndarray(new Float64Array(baboon.data), baboon.shape, baboon.stride, 0) | |
translate.wrap(baboon64, [100, 100, 0]) | |
imshow(baboon64) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment