-
Notifications
You must be signed in to change notification settings - Fork 141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Display error on IJulia notebook #462
Comments
Well, as you can see, the result type of fft is using FileIO, Images
img = load("...")
absolute_part = colorim(abs(fft(float64(img)))) # abs is defined for image directly but doesn't return an Image?
imaginary_part = colorim(imag(fft(float64(img)).data)) # imag doesn't seem to be defined for Image directly? |
Would it be a good idea to make these kind of images use a different Also I tried the |
If there's an obvious way to display it, then a custom writemime method would be fine. For example, for an fft of a grayscale image, I could imagine using one colorchannel for real and one for imaginary. However, as soon as you think about an fft of an RGB image, there aren't enough color channels. So, for complex-valued images I recommend just using console-display (as with |
I was running the fft method on an image I loaded into the variable 'c', and it resulted in the error below.
This was run inside an IJulia Notebook, using the Julia 0.4.5 kernel.
cc: @rohitvarkey
The text was updated successfully, but these errors were encountered: