Test out of gadgetron gadget development
# active conda gadgetron environment
mkdir build
cd build
cmake .. -DUSE_MKL=ON -DCMAKE_INSTALL_PREFIX=${CONDA_PREFIX}
cmake --build . --target install
gadgetron
```bash
## generator raw data (in coda)
ismrmrd_generate_cartesian_shepp_logan
# for default
gadgetron_ismrmrd_client -f testdata.h5
# for imagepassthrough
gadgetron_ismrmrd_client -f testdata.h5 -c default_with_image_passthrough.xml
HDFView # old but seems works
# or
# ismrmrdviewer # which not work here
The config /config/default_with_image_passthrough.xml is just default.xml with imagepassthrough gadget insert before image finish gadget
Tips: here assume you work under $HOME/work dir
nm -gCD libg4f_imagepassthroughgadget.so |grep gadget_factory_export_
# you should get something like
# 0000000000015010 V gadget_factory_export_ImagePassthroughGadget
- https://gadgetron.readthedocs.io/en/latest/gadget.html
- default.xml https://github.com/gadgetron/gadgetron/blob/4262faea142fac7eac236080ec61ef4a4ce10081/gadgets/mri_core/config/default.xml
- https://code.visualstudio.com/docs/cpp/launch-json-reference
- https://code.visualstudio.com/docs/editor/variables-reference#_environment-variables