Effacer les filtres
Effacer les filtres

use evalfis with 2 input

1 vue (au cours des 30 derniers jours)
Dani D
Dani D le 11 Mar 2016
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)

Réponses (0)

Catégories

En savoir plus sur Fuzzy Logic Toolbox dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by