TPCLib
From WikiPET
TPClib library is C#-library for medical imafe data handling. It is available in SVN repository here. In order to make changes to library, take checkout from SVN repository. When finished, use commit to create new revision of the library. In windows, tortoise SVN software, a GUI for svn commands may help a lot when usign SVN server.
TPClib library is C#-library intended to have main functionalities from C-libraries
- libtpccurveio</dt>
- TAC curve related functions</dd>
- libtpcimgio</dt>
- image I/O</dd>
- libtpcimgp</dt>
- image processing</dd>
- libtpccor</dt>
- coordinate transformations</dd>
- libtpcmisc</dt>
- miscellaneous</dd>
- libtpcmodel</dt>
- modelling</dd>
The library is divided into four namespaces :
- TPClib.Curve</dt>
- TAC (Time Activity Curve) related classes</dd>
- TPClib.Image</dt>
- Image related classes</dd>
- TPClib.Model</dt>
- Modelling related classes</dd>
- TPClib.ROI</dt>
- ROI related classes</dd>

The library is tested with NUnit testing software for module testing. Documentation can be generated with Doxygen documentation tool. In windows, link TPClib.dll to other software statically, use ILMerge:
C:\> ILMerge.exe /target:winexe /out:program.exe assembly.exe TPClib.dll
Where TPClib.dll is referenced library, assembly.exe is compiled program that references dynamically TPClib.dll, and program.exe is output file that will have statically linked code inside it.

