Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/image-processing/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Image processing 如何在图像中找到图像的局部最大值?_Image Processing_Julia - Fatal编程技术网

Image processing 如何在图像中找到图像的局部最大值?

Image processing 如何在图像中找到图像的局部最大值?,image-processing,julia,Image Processing,Julia,我想找到距离变换的局部最大值,为分水岭做标记。 根据功能mapwindow应该执行此操作。 但是,当我尝试时: using Images using ImageFiltering mapwindow(maximum, myimage) 我得到这个错误: MethodError: no method matching mapwindow(::typeof(maximum), ::Array{Float64,2}) 我只是认为您必须确保您的函数在传递给它的数据上正确工作 using Images

我想找到距离变换的局部最大值,为分水岭做标记。 根据功能
mapwindow
应该执行此操作。 但是,当我尝试时:

using Images
using ImageFiltering
mapwindow(maximum, myimage)
我得到这个错误:

MethodError: no method matching mapwindow(::typeof(maximum), ::Array{Float64,2})

我只是认为您必须确保您的函数在传递给它的数据上正确工作

using Images
using ImageFiltering
using TestImages

im = testimage("lighthouse")


我认为您必须确保您的函数在传递给它的数据上正常工作

using Images
using ImageFiltering
using TestImages

im = testimage("lighthouse")


缺少有关窗口大小的信息,请参见
?mapwindow
。缺少有关窗口大小的信息,请参见
?mapwindow