figure;
ax1 = axes;
figure;
ax2 = axes;
x = 0; y = 0;
while ishandle(ax1) && ishandle(ax2)
x = x + 1;
y = y + 1;
figure(1)
scatter(x,y, 'MarkerEdgeColor', 'red')
hold
バイナリイメージの垂直ヒストグラムを作成しようとしています。私はMATLABの関数を使いたくありません。どうやってするの? 私はこのコードを試してみましたが、それは正しいですかどうかはわからない: function H = histogram_binary(image)
[m,n] = size(image);
H = zeros(1,256);
for i = 1:m
for j