You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The document of imresize doesn't say sz must be Tuple type, so I just try the MATLAB way of using imresize, and it throws an unexpected StackOverflowError.
use [128,128] as size, it's Array type.
use ceil.(size(img)/0.5) as size, it is Tuple{Float64,Float64} Type
using Images, TestImages
lena =testimage("lena_gray_256")
imresize(lena, (128, 128)) # work as expectedimresize(lena, [128, 128]) # throw StackOverflowErrorimresize(lena, (128.0, 128.0)) # throw StackOverflowError
The text was updated successfully, but these errors were encountered:
The document of
imresize
doesn't say sz must beTuple
type, so I just try the MATLAB way of usingimresize
, and it throws an unexpected StackOverflowError.[128,128]
as size, it'sArray
type.ceil.(size(img)/0.5)
as size, it isTuple{Float64,Float64}
TypeThe text was updated successfully, but these errors were encountered: