フィルターのクリア

use evalfis with 2 input

1 回表示 (過去 30 日間)
Dani D
Dani D 2016 年 3 月 11 日
Hello, I have two input in my FIS. and in m-file i want send two number to FIS from m-file with evalfis. What i do? The under code with one input number for FIS with one input .
clear all;
close all;
clc
I=imread('cameraman.tif');
figure
subplot(2,2,1);
imshow(I);
title('Original');
subplot(2,2,2);
imhist(I);
title('Original Histogram');
I=double(I);
fis=readfis('FIS5');
[m , n]=size(I);
for i=1:m
for j=1:n
I(i,j)=evalfis(I(i,j),fis);
end
end
subplot(2,2,3);
imshow(uint8(I));
title('After');
subplot(2,2,4);
imhist(I.*255);
title('After Histogram');
(i have the under FIS and send two number for FIS system with two input)

回答 (0 件)

カテゴリ

Help Center および File ExchangeFuzzy Logic Toolbox についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by