[Insight-users] DLL to be used from C
Luis Ibanez
luis . ibanez at kitware . com
Sun, 18 May 2003 22:45:42 -0400
Hi Severino,
In a similar approach to what Stephen already
recommended, you may want to look at the ITK
plugins for VolView.
A C-Language interface is defined between the
VolView application and the plugins. Each plugin
creates ITK pipelines internaly and pass data
in and out in C-Structures.
The plugins are compiled independently of the
application and are used to build several DLLs.
All the DLLs are loaded at run time.
You will find the code in
InsightApplications/VolviewPlugins
Regards,
Luis
--------------
Severino Fernandez wrote:
> I am interested in using ITK methods to register remote sensing images.
> For it to be useful in our environment, we need a C interface that
> allows us to integrate a library, containing the ITK algorithms, into
> our image processing platforms.
> I thought that I could generate several C++ functions, in fact many of
> the examples would do to begin with, just making them functions in place
> of main()s. Then I could generate a DLL with those functions, that I
> could use in our environment.
> Has somebody already developed such a solution ? Which were the main
> problems ? Or there is perhaps a better approach to the problem ?
> Thank you in advance.
>
> Severino Fernandez
> Instituto Nacional de Tecnica Aeroespacial
> Departamento de Observación de la Tierra, Teledetección y Aeronomía
> Carretera de Ajalvir, Km 4
> 28850 Torrejon de Ardoz
> Spain
> Tel +34 91 648 78 00
> +34 91 305 16 52
> Fax +34 91 677 46 46
> Email severinofer@recol.es <mailto:severinofer@recol.es>
>
>