We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If s1 is a separable filter and cb2 is a grayscale image, imfilter returns an Image
s1
cb2
imfilter
Image
julia> cb2 Gray Image with: data: 1024x1024 Array{Uint8,2} properties: colorspace: Gray spatialorder: x y julia> s1 3x3 Array{Float64,2}: -0.112737 0.0 0.112737 -0.274526 0.0 0.274526 -0.112737 0.0 0.112737 julia> imfilter(cb2, s1) Gray Image with: data: 1024x1024 Array{Float64,2} properties: colorspace: Gray spatialorder: x y
However, if for inseparable filters, it returns an Array instead:
Array
julia> s1 4x4 Array{Float64,2}: -0.022116 -0.025526 0.025526 0.022116 -0.098381 -0.112984 0.112984 0.098381 -0.098381 -0.112984 0.112984 0.098381 -0.022116 -0.025526 0.025526 0.022116 julia> imfilter(cb2, s1) 1024x1024 Array{Float64,2}: 0.0 0.0 0.0 0.0 … 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 ⋮ ⋱ ⋮ 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 … 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
The text was updated successfully, but these errors were encountered:
ecabf7a
Good catch, sorry about that.
Sorry, something went wrong.
No problem, thanks!
On Saturday, July 26, 2014, Tim Holy notifications@github.com wrote:
Good catch, sorry about that. — Reply to this email directly or view it on GitHub #133 (comment).
— Reply to this email directly or view it on GitHub #133 (comment).
No branches or pull requests
If
s1
is a separable filter andcb2
is a grayscale image,imfilter
returns anImage
However, if for inseparable filters, it returns an
Array
instead:The text was updated successfully, but these errors were encountered: