-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add initial Kspace and NoiseCovariance types * Move Gadgetron types into MRD v2 model * Source VERSION from file in CMakeLists.txt * Clean up CMake target exports * Add intermediate types for image reconstruction * Document intermediate types * Update YARDL_VERSION in Github CI * Pin Python version for Github CI conda build * Pin Miniforge version in CI conda build * Fix version string to work in conda build * Fix version string to work in docker build * Change CI docker build to use `just` * Fix Mac OS X conda build * Make ISMRMRD an optional dependency * Simplify C++ build in CI workflow * Improve intermediate type names
- Loading branch information
Showing
92 changed files
with
8,078 additions
and
3,214 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2.0.1 | ||
2.1.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
include(CMakeFindDependencyMacro) | ||
|
||
set(HOWARD_HINNANT_DATE_MINIMUM_VERSION "3.0.0") | ||
find_dependency(date ${HOWARD_HINNANT_DATE_MINIMUM_VERSION} REQUIRED) | ||
|
||
set(HDF5_MINIMUM_VERSION "1.10.5") | ||
find_dependency(HDF5 ${HDF5_MINIMUM_VERSION} REQUIRED COMPONENTS C CXX) | ||
|
||
set(XTENSOR_MINIMUM_VERSION "0.21.10") | ||
find_dependency(xtensor ${XTENSOR_MINIMUM_VERSION} REQUIRED) | ||
|
||
set(NLOHMANN_JSON_MINIMUM_VERSION "3.11.1") | ||
find_dependency(nlohmann_json ${NLOHMANN_JSON_MINIMUM_VERSION} REQUIRED) | ||
|
||
include("${CMAKE_CURRENT_LIST_DIR}/MRDTargets.cmake") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,95 +1,54 @@ | ||
include_directories(../) | ||
|
||
find_package(ISMRMRD 1.13.4 REQUIRED) | ||
add_executable(mrd_phantom mrd_phantom.cc shepp_logan_phantom.cc) | ||
target_link_libraries(mrd_phantom mrd_generated fftw3f) | ||
|
||
add_executable(mrd_hdf5_to_stream mrd_hdf5_to_stream.cc) | ||
target_link_libraries(mrd_hdf5_to_stream mrd_generated) | ||
|
||
add_executable( | ||
mrd_phantom | ||
mrd_phantom.cc | ||
shepp_logan_phantom.cc | ||
) | ||
|
||
target_link_libraries( | ||
mrd_phantom | ||
mrd_generated | ||
fftw3f | ||
) | ||
|
||
add_executable( | ||
mrd_hdf5_to_stream | ||
mrd_hdf5_to_stream.cc | ||
) | ||
|
||
target_link_libraries( | ||
mrd_hdf5_to_stream | ||
mrd_generated | ||
) | ||
|
||
add_executable( | ||
mrd_stream_to_hdf5 | ||
mrd_stream_to_hdf5.cc | ||
) | ||
|
||
target_link_libraries( | ||
mrd_stream_to_hdf5 | ||
mrd_generated | ||
) | ||
|
||
add_executable( | ||
mrd_stream_recon | ||
mrd_stream_recon.cc | ||
) | ||
|
||
target_link_libraries( | ||
mrd_stream_recon | ||
fftw3f | ||
mrd_generated | ||
) | ||
|
||
add_executable( | ||
ismrmrd_to_mrd | ||
ismrmrd_to_mrd.cc | ||
) | ||
|
||
target_link_libraries( | ||
ismrmrd_to_mrd | ||
mrd_generated | ||
ISMRMRD::ISMRMRD | ||
) | ||
|
||
add_executable( | ||
mrd_to_ismrmrd | ||
mrd_to_ismrmrd.cc | ||
) | ||
|
||
target_link_libraries( | ||
mrd_to_ismrmrd | ||
mrd_generated | ||
ISMRMRD::ISMRMRD | ||
) | ||
|
||
find_package(ImageMagick COMPONENTS Magick++ REQUIRED) | ||
find_package(fmt REQUIRED) | ||
include_directories(${ImageMagick_INCLUDE_DIRS}) | ||
|
||
add_executable( | ||
mrd_image_stream_to_png | ||
mrd_image_stream_to_png.cc | ||
) | ||
|
||
target_compile_options(mrd_image_stream_to_png PRIVATE "-DMAGICKCORE_QUANTUM_DEPTH=8" "-DMAGICKCORE_HDRI_ENABLE=0") | ||
target_link_libraries( | ||
mrd_image_stream_to_png | ||
mrd_generated | ||
${ImageMagick_LIBRARIES} | ||
fmt::fmt | ||
) | ||
add_executable(mrd_stream_to_hdf5 mrd_stream_to_hdf5.cc) | ||
target_link_libraries(mrd_stream_to_hdf5 mrd_generated) | ||
|
||
add_executable(mrd_stream_recon mrd_stream_recon.cc) | ||
target_link_libraries(mrd_stream_recon fftw3f mrd_generated) | ||
|
||
install(TARGETS | ||
ismrmrd_to_mrd | ||
mrd_hdf5_to_stream | ||
mrd_image_stream_to_png | ||
mrd_phantom | ||
mrd_stream_recon | ||
mrd_stream_to_hdf5 | ||
mrd_to_ismrmrd | ||
DESTINATION bin) | ||
|
||
|
||
find_package(ISMRMRD 1.13.4 REQUIRED) | ||
|
||
if (ISMRMRD_FOUND) | ||
message(STATUS "ISMRMRD found: ${ISMRMRD_INCLUDE_DIR}") | ||
|
||
add_executable(ismrmrd_to_mrd ismrmrd_to_mrd.cc converters.cc) | ||
target_link_libraries(ismrmrd_to_mrd mrd_generated ISMRMRD::ISMRMRD) | ||
|
||
add_executable(mrd_to_ismrmrd mrd_to_ismrmrd.cc converters.cc) | ||
target_link_libraries(mrd_to_ismrmrd mrd_generated ISMRMRD::ISMRMRD) | ||
|
||
install(TARGETS ismrmrd_to_mrd mrd_to_ismrmrd DESTINATION bin) | ||
else() | ||
message(STATUS "ISMRMRD not found. Skipping conversion tools.") | ||
endif() | ||
|
||
|
||
find_package(ImageMagick COMPONENTS Magick++) | ||
find_package(fmt) | ||
|
||
if (ImageMagick_FOUND AND fmt_FOUND) | ||
message(STATUS "ImageMagick and fmt found.") | ||
include_directories(${ImageMagick_INCLUDE_DIRS}) | ||
|
||
add_executable(mrd_image_stream_to_png mrd_image_stream_to_png.cc) | ||
target_compile_options(mrd_image_stream_to_png PRIVATE "-DMAGICKCORE_QUANTUM_DEPTH=8" "-DMAGICKCORE_HDRI_ENABLE=0") | ||
target_link_libraries(mrd_image_stream_to_png mrd_generated ${ImageMagick_LIBRARIES} fmt::fmt) | ||
|
||
install(TARGETS mrd_image_stream_to_png DESTINATION bin) | ||
else() | ||
message(STATUS "ImageMagick or fmt not found. Skipping mrd_image_stream_to_png.") | ||
endif() |
Oops, something went wrong.