Skip to content

mercure-imaging/mercure-pyapetnet

Repository files navigation

mercure-pyapetnet


Mercure module to deploy pyapetnet - a convolutional neural network (CNN) to mimick the behavior of anatomy-guided PET reconstruction in image space. This module runs as a docker container in mercure, it can be added to an existing mercure installation using docker tag : mercureimaging/mercure-pyapetnet. The module will run with the pyapetnet S2_osem_b10_fdg_pe2i trained model by default.


Installation

Add module to existing mercure installation

Follow instructions on mercure website on how to add a new module. Use the docker tag mercureimaging/mercure-pyapetnet.


Build module for local testing, modification and development

  1. Clone repo.
  2. Build Docker container locally by running make (modify makefile with new docker tag as needed).
  3. Test container :
    docker run -it -v /input_data:/input -v /output_data:/output --env MERCURE_IN_DIR=/input --env MERCURE_OUT_DIR=/output mercureimaging/mercure-pyapetnet

Configuration

Enforce MRI and PET series filtering

The mercure-pyapetnet module requires that mercure provides a single MRI series and a single PET series for processing. Therefore, it is important that the processing rules are configured to filter out any surplus data received by mercure, an example is shown in the screenshot below where the rule will select series containing 'MPRAGE' or 'PET_AC' in the series description, and processing will be triggered when both series have been received. More information on mercure rule configuration can be found here.



image



Selecting different trained models

By default the module will select the pyapetnet S2_osem_b10_fdg_pe2i trained model. Other models can be selected easily in the processing module 'Settings' tab as shown in the screenshot below. The series description of the output DICOM files can also be set. Current settings available with default values are listed below.

"trained_model": "S2_osem_b10_fdg_pe2i"

"series_desc": "Bowsher_"

"series_suffix":"DEFAULT"



image



About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published