Files
FireBee_Setup/tools/vision/ldv/doc/intro.htm
2022-11-25 03:00:01 +01:00

188 lines
7.3 KiB
HTML

<html>
<head>
<meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1">
<meta name="GENERATOR" content="Microsoft FrontPage Express 2.0">
<title>Documentation VISION (LDV) : Introduction</title>
</head>
<body background="images/conc2.gif" bgcolor="#FFFFFF">
<div align="center"><center>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td align="center" width="17%"><a href="index.htm"><img
src="images/csom.jpg" alt="Retour au sommaire" border="0"
hspace="2" width="26" height="26"></a><a
href="notions.htm"><img src="images/csuiv.jpg"
alt="Chapitre suivant" border="0" hspace="2" width="43"
height="26"></a></td>
<td align="center" valign="top" rowspan="2" width="8%"><p
align="center"><img src="images/icoprinc.gif" width="59"
height="71"></p>
</td>
<td width="33%"><p align="center"><font color="#0000FF"
size="5"><strong>Documentation </strong><em><strong>VISION
(LDV)</strong></em></font></p>
</td>
<td align="center" valign="top" rowspan="2" width="8%"><p
align="center"><img src="images/icointro.gif" width="59"
height="71"></p>
</td>
<td valign="top" width="17%"><p align="left">Dernière
mise à jour : <!--webbot bot="Timestamp" startspan
s-type="EDITED" s-format="%d/%m/%y" -->16/05/01<!--webbot
bot="Timestamp" i-checksum="12425" endspan --></p>
</td>
</tr>
<tr>
<td width="17%"><p align="center"><a
href="..\..\download/dvldv.zip">Télécharger la doc</a></p>
</td>
<td width="33%"><p align="center"><font size="4"><strong>1.
I N T R O D U C T I O N</strong></font></p>
</td>
<td align="center" width="17%">&nbsp; <!--webbot
bot="HTMLMarkup" startspan --><A HREF="http://www.estat.com/getstats?serial=1390118421">
<IMG SRC="http://perso.estat.com/cgi-bin/perso/1390118421?page=DocVisionLDV"
BORDER=0></A>
<!--webbot
bot="HTMLMarkup" endspan --></td>
</tr>
</table>
</center></div>
<hr>
<p>Enfin ! Après plusieurs années, <em><strong>VISION</strong></em>
devient finalement modulaire ! En gros, le but essentiel des LDV
(Librairies Dynamiques pour <em><strong>VISION</strong></em>) est
de vous permettre d'y ajouter vos propres fonctionnalités.
Typiquement, un LDV permet d'élargir les fonctions de <em><strong>VISION</strong></em>,
comme par exemple l'ajout d'un module de déformation d'image.
Voici les caractéristiques des LDV:</p>
<ul>
<li>Accès direct aux images de <em><strong>VISION</strong></em></li>
<li>Concept multi-langages (par fichier INI optionnel)</li>
<li>Gestion du UNDO (transparente pour le programmeur de LDV)</li>
<li>Support de la saisie de 4 paramètres par <em><strong>VISION</strong></em>
pouvant être envoyés au LDV</li>
<li>Support de la progression lors du calcul du LDV</li>
<li>Support de la pré-visualisation</li>
<li>Peut agir sur une image ou un bloc à l'intérieur de
celle-ci</li>
<li><em><strong>VISION</strong></em> fournit une API (<a
href="vapi/index.htm">VAPI</a>) qui offre des fonctions
de manipulation d'image</li>
</ul>
<p>&nbsp;</p>
<p>Au niveau du développement, le programmeur doit:</p>
<ul>
<li>Savoir ce qu'il veut faire !</li>
<li>Définir les capacités du LDV (nombre de plans pouvant
être traités, format d'image attendu, ...)</li>
<li>Ecrire 4 fonctions (dont 2 sont écrites à 100% par le
squelette d'un LDV !):</li>
</ul>
<div align="center"><center>
<table border="2" width="100%">
<tr>
<td width="20%"><a href="descrip.htm#capacités">GetLDVCapabilities</a></td>
<td width="80%">Déjà ecrie. Renvoie à <em><strong>VISION</strong></em>
ce que le LDV sait faire</td>
</tr>
<tr>
<td width="20%"><a href="descrip.htm#prerun">PreRun</a></td>
<td width="80%">A écrire. Demande à <em><strong>VISION</strong></em>
l'allocation des ressources nécessaires à la fonction
Run</td>
</tr>
<tr>
<td width="20%"><a href="descrip.htm#run">Run</a></td>
<td width="80%">A écrire. La fonction qui fait quelque
chose !</td>
</tr>
<tr>
<td width="20%"><a href="descrip.htm#preview">Preview</a></td>
<td width="80%">A écrire ou non. Identique à Run mais
en mode Preview, si le temps de calcul est trop grand et
que l'on peut se permettre de ne pas effectuer tous les
calculs nécessaires.Très souvent on appelle Run (ce que
fait le squelette).</td>
</tr>
<tr>
<td><a href="descrip.htm#getparams">GetParams</a></td>
<td>Optionnelle. Cette fonction ne sert que si votre LDV
admet un paramétrage particulier et/ou que les quatre
paramètres du formulaire de saisie de <em><strong>VISION</strong></em>
ne suffisent pas.</td>
</tr>
</table>
</center></div>
<p>Bien sur, écrire un LDV nécessite quelques notions sur les
images, leur format et la programmation. Voyez les <a
href="notions.htm">notions essentielles</a>.</p>
<p>Enfin, j'espère bien étendre ce principe en proposant des
LDV de chargement et de sauvegarde d'images (voire plus...).
Cependant, étant donné le temps de développement pour inclure
ce concept dans <em><strong>VISION</strong></em>, il va falloir
que quelques personnes s'y intéressent avant que je ne me lance
dedans !</p>
<p>Les LDV s'appuient sur les LDG (Librairies Dynamiques GEM)
développées par Olivier Landemarre et Dominique Béréziat : <a
href="http://ldg.atari.org">ldg.atari.org</a></p>
<p>&nbsp;</p>
<hr>
<div align="center"><center>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td align="center" width="17%"><a href="index.htm"><img
src="images/csom.jpg" alt="Retour au sommaire" border="0"
hspace="2" width="26" height="26"></a><a
href="notions.htm"><img src="images/csuiv.jpg"
alt="Chapitre suivant" border="0" hspace="2" width="43"
height="26"></a></td>
<td align="center" valign="top" rowspan="2" width="8%"><p
align="center"><img src="images/icoprinc.gif" width="59"
height="71"></p>
</td>
<td width="33%"><p align="center"><font color="#0000FF"
size="5"><strong>Documentation </strong><em><strong>VISION
(LDV)</strong></em></font></p>
</td>
<td align="center" valign="top" rowspan="2" width="8%"><p
align="center"><img src="images/icointro.gif" width="59"
height="71"></p>
</td>
<td valign="top" width="17%"><p align="left">Dernière
mise à jour : <!--webbot bot="Timestamp" startspan
s-type="EDITED" s-format="%d/%m/%y" -->16/05/01<!--webbot
bot="Timestamp" i-checksum="12425" endspan --></p>
</td>
</tr>
<tr>
<td width="17%"><p align="center"><a
href="..\..\download/dvldv.zip">Télécharger la doc</a></p>
</td>
<td width="33%"><p align="center"><font size="4"><strong>1.
I N T R O D U C T I O N</strong></font></p>
</td>
<td valign="top" width="17%">&nbsp; </td>
</tr>
</table>
</center></div>
</body>
</html>