matlab中zeros函数的问题,求大侠解答
functionout=cooccurrence(dir,dist,symmetric);%UNTITLED2Summaryofthisfunctiongoeshere%...
function out = cooccurrence (dir, dist, symmetric);
%UNTITLED2 Summary of this function goes here
% Detailed explanation goes here
i=imread('D:\matlab1\图片\灰度图片5.jpg');
input = round(i);
[r c] = size(input);
min_intensity = min(min(input));
max_intensity = max(max(input));
t=max_intensity-min_intensity+1;
out = zeros(max_intensity-min_intensity+1);
程序到了zeros函数这总报错,说zeros中的参数不合法求大侠解答??? 展开
%UNTITLED2 Summary of this function goes here
% Detailed explanation goes here
i=imread('D:\matlab1\图片\灰度图片5.jpg');
input = round(i);
[r c] = size(input);
min_intensity = min(min(input));
max_intensity = max(max(input));
t=max_intensity-min_intensity+1;
out = zeros(max_intensity-min_intensity+1);
程序到了zeros函数这总报错,说zeros中的参数不合法求大侠解答??? 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询