Skip to content

Commit

Permalink
feat(pstate): Add dcmp2pgm to itk-wasm as apply-presentation-state-to…
Browse files Browse the repository at this point in the history
…-image operation

Add DCMTK/dcmpstat/apps/dcmp2pgm.cc as apply-presentation-state-to-image.cxx
operation in itk-wasm. Fix indentation to match itk-wasm style.
Add itk-wasm license header to the new file.
  • Loading branch information
jadh4v committed Oct 27, 2022
1 parent 4e0dc5f commit 7b0712f
Show file tree
Hide file tree
Showing 2 changed files with 598 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 @@ -16,12 +16,15 @@ set(wasm_modules )
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)
add_executable(read-dicom-encapsulated-pdf read-dicom-encapsulated-pdf.cxx)
add_executable(apply-presentation-state-to-image apply-presentation-state-to-image.cxx)
target_link_libraries(structured-report-to-text PUBLIC ${ITK_LIBRARIES})
target_link_libraries(structured-report-to-html PUBLIC ${ITK_LIBRARIES})
target_link_libraries(read-dicom-encapsulated-pdf PUBLIC ${ITK_LIBRARIES})
target_link_libraries(apply-presentation-state-to-image PUBLIC ${ITK_LIBRARIES})
list(APPEND wasm_modules "structured-report-to-text")
list(APPEND wasm_modules "structured-report-to-html")
list(APPEND wasm_modules "read-dicom-encapsulated-pdf")
list(APPEND wasm_modules "apply-presentation-state-to-image")


if (WASI AND DEFINED WebAssemblyInterface_BINARY_DIR)
Expand Down
Loading

0 comments on commit 7b0712f

Please sign in to comment.