11.07.2014 Views

Progetto e Realizzazione di un Sensore Ibrido Omnidirezionale/pin ...

Progetto e Realizzazione di un Sensore Ibrido Omnidirezionale/pin ...

Progetto e Realizzazione di un Sensore Ibrido Omnidirezionale/pin ...

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.

stato:integer;<br />

-- variabile <strong>di</strong> stato della struttura dati.<br />

End posizione;<br />

Type pixel;<br />

Made of xpixel:integer;<br />

ypixel:integer;<br />

-- variabili <strong>di</strong> definizione delle coor<strong>di</strong>nate <strong>di</strong> <strong>un</strong> pixel<br />

stato:integer;<br />

-- variabile <strong>di</strong> stato della struttura dati<br />

End pixel;<br />

Type <strong>di</strong>stanza;<br />

Made of raggioSpazio:integer;<br />

raggioImmagine:integer;<br />

-- variabili <strong>di</strong> definizione <strong>di</strong> <strong>un</strong>a corrispondenza ra<strong>di</strong>ale tra <strong>di</strong>stanze nella<br />

superficie <strong>di</strong> deprospettizzazione e nell’immagine<br />

stato:integer;<br />

-- variabile <strong>di</strong> stato della struttura dati<br />

End posizione;<br />

Type pixelpgm;<br />

Made of integer;<br />

-- Per como<strong>di</strong>tà ridefinisco il tipo integer come pixelpgm<br />

End pixelpgm;<br />

Type pixelppm;<br />

Made of R:integer;<br />

G:integer;<br />

B:integer;<br />

-- queste cono le componenti <strong>di</strong> Red Green Blue dei pixel dell’immagine ppm.<br />

End pixelppm;<br />

62

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

Saved successfully!

Ooh no, something went wrong!