06.03.2013 Views

Artificial Intelligence and Soft Computing: Behavioral ... - Arteimi.info

Artificial Intelligence and Soft Computing: Behavioral ... - Arteimi.info

Artificial Intelligence and Soft Computing: Behavioral ... - Arteimi.info

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

F: S (S, _): Initial FTT: 0.400<br />

node type: F<br />

Predicate :S<br />

Argument1: S<br />

Argument2: _<br />

Node found<br />

Choose palette no: 2<br />

Here it draws the belief distribution of the place for S (s). This part is not at all<br />

good, <strong>and</strong> I request the readers to spend some time in improving the graphics<br />

part of the program.<br />

A.4 The Imagemat Program<br />

This program, written in C, is used to match a reference image with a given<br />

set of images <strong>and</strong> the best matched image has to be identified. It is designed<br />

based on the concept of fuzzy moment descriptors in chapter 23. You can<br />

submit image files boy1.dat, boymus.dat (boy with moustache) <strong>and</strong><br />

boyglass.dat (boy with spectacles) included in the floppy diskette. Note that<br />

one file must be the reference image. The other images with which the<br />

reference is to be matched should include the copy of the reference image.<br />

NOTE: Keep the data files boy1.dat, boymus.dat <strong>and</strong> boyglass.dat along with<br />

the program Imagemat in a floppy before execution.<br />

The sample run of the program is presented below.<br />

no. of pictures to compare = 3<br />

no. of subblocks in each picture<br />

(make sure you are giving perfect square) = 16<br />

enter name of file in which d.image of 1 picture available = boy1.dat<br />

enter number of rows or columns in image = 64<br />

taking the gray values (in rowwise) form from file<br />

calculating gradient matrix<br />

dividing the picture into subblocks<br />

number of subblocks = 16<br />

calculating the statistical parameters

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!