MATLAB Answers
您正在关注此问题
https://ww2.mathworks.cn/matlabcentral/answers/421510-calculate-the-difference-between-adjacent-pixels
请先登录,再进行评论。
https://ww2.mathworks.cn/matlabcentral/answers/421510-calculate-the-difference-between-adjacent-pixels#answer_339128
Try this instead
abs(diff(imageArray,1,2))
https://ww2.mathworks.cn/matlabcentral/answers/421510-calculate-the-difference-between-adjacent-pixels#comment_616160
https://ww2.mathworks.cn/matlabcentral/answers/421510-calculate-the-difference-between-adjacent-pixels#comment_616172
https://ww2.mathworks.cn/matlabcentral/answers/421510-calculate-the-difference-between-adjacent-pixels#comment_616656
https://ww2.mathworks.cn/matlabcentral/answers/421510-calculate-the-difference-between-adjacent-pixels#comment_616721
https://ww2.mathworks.cn/matlabcentral/answers/421510-calculate-the-difference-between-adjacent-pixels#comment_616747
https://ww2.mathworks.cn/matlabcentral/answers/421510-calculate-the-difference-between-adjacent-pixels#comment_617056
https://ww2.mathworks.cn/matlabcentral/answers/421510-calculate-the-difference-between-adjacent-pixels#comment_617106
请先登录,再回答此问题。
Find the treasures in MATLAB Central and discover how the community can help you!
发生错误
由于页面发生更改,无法完成操作。请重新加载页面以查看其更新后的状态。
Translated by
选择网站
选择网站以获取翻译的可用内容,以及查看当地活动和优惠。根据您的位置,我们建议您选择:。
您也可以从以下列表中选择网站:
如何获得最佳网站性能
选择中国网站(中文或英文)以获得最佳网站性能。其他 MathWorks 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
欧洲
亚太
联系您当地的办事处