Difference between revisions of "OpenIGTLink/Approaches"
From NAMIC Wiki
| Line 7: | Line 7: | ||
*The protocol is defined in [[OpenIGTLink/Protocol | the protocol description page]]. | *The protocol is defined in [[OpenIGTLink/Protocol | the protocol description page]]. | ||
| − | ===Use simple C code=== | + | ===Use simple C code (igtlutil) === |
*The code provides C structures for the generic header, image header and transform header, and supporting functions to create a message packet. | *The code provides C structures for the generic header, image header and transform header, and supporting functions to create a message packet. | ||
*Suitable for applications written in C and C++ | *Suitable for applications written in C and C++ | ||
| Line 18: | Line 18: | ||
**Thread and Mutex useful to make server program | **Thread and Mutex useful to make server program | ||
*The library instruction is available in [[OpenIGTLink/Library | the Open IGT Link Library page]]. | *The library instruction is available in [[OpenIGTLink/Library | the Open IGT Link Library page]]. | ||
| + | |||
| + | |||
| + | {|border="1" cellpadding="2" | ||
| + | | style="width:25%"|Features | ||
| + | | style="width:25%"|From scratch | ||
| + | | style="width:25%"|igtlutil | ||
| + | | style="width:25%"|Open IGT Link Library | ||
| + | |- | ||
| + | | Slicer | ||
| + | | align="right" |587,919 | ||
| + | | align="right" |161 | ||
| + | | align="right" |$16,068,440 | ||
| + | |- | ||
| + | | Package | ||
| + | | align="right" |189,627 | ||
| + | | align="right" |49 | ||
| + | | align="right" |$ 4,925,590 | ||
| + | |- | ||
| + | | | ||
| + | | align="right" |1,344,989 | ||
| + | | align="right" |385 | ||
| + | | align="right" |$38,521,873 | ||
| + | |- | ||
| + | | ITK | ||
| + | | align="right" |711,474 | ||
| + | | align="right" |197 | ||
| + | | align="right" |$19,712,495 | ||
| + | |- | ||
| + | | CMAKE | ||
| + | | align="right" |213,671 | ||
| + | | align="right" |56 | ||
| + | | align="right" |$ 5,586,895 | ||
| + | |- | ||
| + | |style="background:#8EDEB5; color:black" |Total | ||
| + | | style="background:#8EDEB5; color:black" align="right" |3,047,680 | ||
| + | | style="background:#8EDEB5; color:black" align="right" |848 | ||
| + | | style="background:#8EDEB5; color:black" align="right" |$84,815,293 | ||
| + | |} | ||
Revision as of 14:30, 25 June 2008
Home < OpenIGTLink < ApproachesThree Approaches
Implement by yourself
- Writing applications in non-C/C++ languages
- The protocol is defined in the protocol description page.
Use simple C code (igtlutil)
- The code provides C structures for the generic header, image header and transform header, and supporting functions to create a message packet.
- Suitable for applications written in C and C++
- You can just copy the files into your source directory. You never have library link issue.
Use the Open IGT Link Library
- The library supports
- Classes to create Open IGT Link message
- TCP/IP Socket
- Thread and Mutex useful to make server program
- The library instruction is available in the Open IGT Link Library page.
| Features | From scratch | igtlutil | Open IGT Link Library |
| Slicer | 587,919 | 161 | $16,068,440 |
| Package | 189,627 | 49 | $ 4,925,590 |
| 1,344,989 | 385 | $38,521,873 | |
| ITK | 711,474 | 197 | $19,712,495 |
| CMAKE | 213,671 | 56 | $ 5,586,895 |
| Total | 3,047,680 | 848 | $84,815,293 |