Skip to content

Commit

Permalink
feat(dsr2html): add structured-report-to-html operation to itk-dicom
Browse files Browse the repository at this point in the history
Copy dcmtk/dcmsr/app/dsr2thml.cc (InsightSoftwareConsortium/DCMTK@db51968)
into itk-wasm as a command line application at
src/io/internal/pipelines/dicom/structured-report-to-html.cxx

This first commit copies the original dcmtk file as-is, in order to
document/track the deviation from its original form
as it is made compatible with CLI::App library and itk-wasm in general.
  • Loading branch information
jadh4v committed Sep 23, 2022
1 parent 3a9d402 commit 4e35e07
Show file tree
Hide file tree
Showing 2 changed files with 494 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/io/internal/pipelines/dicom/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,11 @@ set(wasm_modules )

# diquant.cc required for odd linker error
add_executable(structured-report-to-text structured-report-to-text.cxx diquant.cc)
add_executable(structured-report-to-html structured-report-to-html.cxx diquant.cc)
target_link_libraries(structured-report-to-text PUBLIC ${ITK_LIBRARIES})
target_link_libraries(structured-report-to-html PUBLIC ${ITK_LIBRARIES})
list(APPEND wasm_modules "structured-report-to-text")
list(APPEND wasm_modules "structured-report-to-html")


if (WASI AND DEFINED WebAssemblyInterface_BINARY_DIR)
Expand Down
Loading

0 comments on commit 4e35e07

Please sign in to comment.