Skip to main content

MELAGE: An open-source Python toolkit for medical imaging (3D MRI & 3D ultrasound, 3D CT, etc.).

Project description

MELAGE Demo

๐Ÿง ๐Ÿฉป MELAGE: Medical Imaging Software

Machine learning & analysis for next-generation neuroimaging and medical imaging research

Table of Contents


MELAGE is an open-source neuroimaging software designed for analysis, segmentation, and visualization of multimodal datasets.
It combines classical medical image processing with state-of-the-art deep learning support, making it useful for both researchers and practitioners.

๐Ÿš€ New in v2.x: Real-Time Video Segmentation MELAGE now supports full medical video loading and processing. Apply segmentation algorithms to video streams (e.g., Ultrasound loops) with the same speed and accuracy as static images. Analyze, segment, and save results frame-by-frame in real-time.

๐ŸŽฅ Key Features

  • โšก Real-Time Video Processing: Seamlessly load medical videos (e.g., Ultrasound, Cine-MRI) and perform segmentation with the same high speed and accuracy as static images.
  • ๐Ÿ–ผ๏ธ Multi-Modality Support: Comprehensive support for MRI, CT, X-Ray, and Ultrasound data in standard formats (DICOM, NIfTI, AVI, MP4).
  • ๐Ÿง  Deep Learning Integration: Built-in support for PyTorch models, allowing you to deploy state-of-the-art AI for automated segmentation and classification.
  • ๐Ÿ› ๏ธ Advanced Preprocessing: Powerful tools for denoising, filtering, resampling, and harmonizing image data before analysis.
  • ๐ŸŽจ Interactive Visualization: 2D and 3D rendering capabilities for exploring anatomical structures and segmentation results in detail.
  • ๐Ÿ”Œ Dynamic Plugin System: easily extend functionality by dropping Python scripts into the plugins/ folderโ€”MELAGE automatically generates the GUI for you.
  • ๐Ÿ’พ Flexible Export: Save your results, including video segmentation masks, into standard research-ready formats.

๐Ÿงฉ Plugins & Dynamic Extensions

MELAGE now features a powerful Dynamic Plugin System that allows you to integrate custom Deep Learning models or image processing algorithms without modifying the core source code.

How it works:

  1. Create: Write your algorithm or model wrapper as a Python class inheriting from the MELAGE Plugin base class.
  2. Drop-in: Place your script in the plugins/ directory.
  3. Auto-Load: MELAGE automatically detects, loads, and generates a GUI widget for your tool upon launch.

This modular architecture supports:

  • Deep Learning inference: Drag-and-drop integration for .pth or .onnx models.
  • Custom Analysis: Add proprietary segmentation or quantification logic.
  • Workflow Automation: Create macros for repetitive tasks.

๐Ÿš€ How to Add a Plugin

  1. Folder Structure: Organize your plugin in its own directory under the plugins/ folder. MELAGE recursively scans these folders to find valid plugins.
    plugins/
    โ”œโ”€โ”€ warpseg/
    โ”‚   โ”œโ”€โ”€ __init__.py
    โ”‚   โ”œโ”€โ”€ WarpSeg.py       <-- Contains the Plugin Class
    โ”‚   โ””โ”€โ”€ WarpSeg_schema.py <-- Contains the Plugin Scheme for GUI
    โ””โ”€โ”€ my_new_tool/
        โ””โ”€โ”€ ...
    

๐Ÿš€ Installation

๐Ÿง LINUX:

๐Ÿ STEP 0: INSTALL CONDA (PREREQUISITE)

If you don't have Conda, install Miniconda (lightweight version).

  1. Download installer
    wget [https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh](https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh)
    
  2. Run installer (Type 'yes' to license and init)
    bash Miniconda3-latest-Linux-x86_64.sh
    
  3. Refresh shell
    source ~/.bashrc
    

๐Ÿ› ๏ธ STEP 1: CREATE ENVIRONMENT (RECOMMENDED)

# Create env (Python 3.10 is most stable with PyQt5)
conda create -n melage-gui python=3.10 -c conda-forge -y

# Activate the environment
conda activate melage-gui

# Install PyQt5 (includes Qt frameworks)
conda install -c conda-forge pyqt=5 -y

# Install melage inside the environment
pip install melage

# Verify which melage is being used (should point to this env)
which melage

# Run
melage

๐Ÿ“ฆ STEP 2: INSTALL MELAGE (STANDALONE)

If skipping Conda (Not recommended for GUI apps):

From PyPI:

pip install melage

๐Ÿš€ STEP 3: CREATE ONE-CLICK LAUNCHERS

Create a script file to automatically activate the environment and run the app.

  1. Create a file named 'launch_melage.sh' with the following content: (Note: Adjust the 'source' path if your conda is installed elsewhere)
    #!/bin/bash
    # Initialize Conda (Adjust path based on 'conda info --base')
    source ~/miniconda3/etc/profile.d/conda.sh
    conda activate melage-gui
    melage
    
  2. Make it executable:
    chmod +x launch_melage.sh
    
  3. Run it:
    ./launch_melage.sh
    
  4. (Optional) Create a Desktop Shortcut file named 'Melage.desktop': (Create this file in ~/.local/share/applications/ for Start Menu access OR on your ~/Desktop/ for a desktop icon).
    [Desktop Entry]
    Version=1.0
    Type=Application
    Name=Melage
    Comment=Melage GUI
    # IMPORTANT: Use absolute paths below (e.g., /home/user/...)
    Exec=/home/user/path/to/launch_melage.sh
    Icon=/home/user/path/to/your_icon.png
    Terminal=false
    Categories=Utility;
    
  5. (Optional) If put on Desktop, right-click file -> "Allow Launching".

๐ŸŽ macOS:

๐Ÿ STEP 0: INSTALL CONDA (PREREQUISITE)

  1. Download installer (Intel)

    curl -O [https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh](https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh)
    

    ... OR ...

    Download installer (Apple M1/M2 Silicon)

    curl -O [https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-arm64.sh](https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-arm64.sh)
    
  2. Run installer

    bash Miniconda3-latest-MacOSX-x86_64.sh
    
  3. Refresh shell

    source ~/.zshrc
    

๐Ÿ› ๏ธ STEP 1: CREATE ENVIRONMENT (RECOMMENDED)

# Create env (Python 3.10 is most stable with PyQt5)
conda create -n melage-gui python=3.10 -c conda-forge -y

# Activate the environment
conda activate melage-gui

# Install PyQt5 (includes Qt frameworks)
conda install -c conda-forge pyqt=5 -y

# Install melage inside the environment
pip install melage

# Verify which melage is being used (should point to this env)
which melage

# Run
melage

๐Ÿ“ฆ STEP 2: INSTALL MELAGE (STANDALONE)

If skipping Conda (Not recommended for GUI apps):

From PyPI:

pip install melage

๐Ÿš€ STEP 3: CREATE ONE-CLICK LAUNCHERS

Create a script file to automatically activate the environment and run the app.

  1. Create a file named 'launch_melage.sh' with the following content: (Note: Adjust the 'source' path if your conda is installed elsewhere)
    #!/bin/bash
    # Initialize Conda (Adjust path based on 'conda info --base')
    source ~/miniconda3/etc/profile.d/conda.sh
    conda activate melage-gui
    melage
    
  2. Make it executable:
    chmod +x launch_melage.sh
    
  3. Run it:
    ./launch_melage.sh
    

Alternatively

  1. Open "Automator" (Cmd + Space -> Type Automator).
  2. Select "Application" -> Click "Choose".
  3. Search for "Run Shell Script" and double-click it.
  4. Paste the code below (Update the path using 'conda info --base'!):
source /Users/yourname/miniconda3/etc/profile.d/conda.sh
conda activate melage-gui
melage
  1. Press Cmd+S to save. Name it "Melage" and save to Applications.

--- HOW TO CHANGE THE APP ICON ---

  1. Copy your logo image (Open image -> Cmd + C).
  2. Right-click your new "Melage.app" -> "Get Info".
  3. Click the small icon in the top-left corner of the Info window.
  4. Paste (Cmd + V).

๐Ÿ–ฅ๏ธ WINDOWS:

๐Ÿ STEP 0: INSTALL CONDA (PREREQUISITE)

  1. Download .exe from https://docs.conda.io/en/latest/miniconda.html
  2. Run installer.
  3. Open "Anaconda Prompt" from Start Menu for the steps below.

๐Ÿ› ๏ธ STEP 1: CREATE ENVIRONMENT (RECOMMENDED)

# Create env
conda create -n melage-gui python=3.10 -c conda-forge -y

# Activate
conda activate melage-gui

# Install PyQt5
conda install -c conda-forge pyqt=5 -y

# Install melage
pip install melage

# Run
melage

๐Ÿ“ฆ STEP 2: INSTALL MELAGE (STANDALONE)

If skipping Conda (Not recommended for GUI apps):

From PyPI:

pip install melage

๐Ÿš€ STEP 3: CREATE ONE-CLICK LAUNCHERS

  1. Create a file named 'launch_melage.bat' with the following content:
    call conda activate melage-gui
    melage
    pause
    
  2. Double-click 'launch_melage.bat' to run the app.
  3. (Optional) Right-click the .bat file -> "Send to" -> "Desktop (create shortcut)" to give it a custom icon.

๐Ÿ–ฅ๏ธโœจ Usage

After installation and activating your virtual environment, you can launch MELAGE directly from the terminal:

conda activate melage-gui
melage

MELAGE GUI Screenshot
MELAGE graphical user interface in action.


๐Ÿ“ฆ Dependencies

MELAGE relies on the following core libraries:

- NumPy, SciPy โ€“ numerical computing & scientific operations  
- scikit-image, Pillow, OpenCV โ€“ image processing & visualization  
- scikit-learn, numba, einops โ€“ machine learning & acceleration  
- nibabel, pydicom, pynrrd, SimpleITK โ€“ medical imaging formats (NIfTI, DICOM, NRRD)  
- PyQt5, QtPy, qtwidgets โ€“ GUI support  
- matplotlib, vtk, PyOpenGL โ€“ visualization & rendering  
- shapely, trimesh, rdp โ€“ geometry & 3D mesh processing  
- pyfftw โ€“ fast Fourier transforms  
- cryptography โ€“ security utilities  
- dominate โ€“ HTML generation  

Optional Extras

  • Deep Learning: torch>=1.12 (pip install melage[dl])

๐Ÿ“– Manual

๐Ÿ  Main Page

The Main Page is the first window that appears after launching MELAGE.

๐Ÿ‘‰ From here, you can:

  • โž• Create a new project
  • ๐Ÿ“‚ Load a previously saved project (default format: .bn)

MELAGE Main Window

The MELAGE Main Window

๐Ÿ› ๏ธ Toolbars

1๏ธโƒฃ Project Toolbar

Located at the top-left of the main window, the Project Toolbar provides quick access to essential project actions:

  • ๐Ÿ†• Create New Project โ€“ Start a new project and open a new image file.
  • ๐Ÿ“‚ Load Project โ€“ Open a previously saved project with all applied changes (so you donโ€™t lose your progress).
  • ๐Ÿ’พ Save Project โ€“ Save the current project. This will overwrite the existing file if one is already open.

๐Ÿ”— These options are also available through the File menu:

  • File โ†’ New Project
  • File โ†’ Load Project
  • File โ†’ Save

MELAGE Project Toolbar

Project toolbar: (from left to right) Create New Project, Load Project, Save

2๏ธโƒฃ Image Toolbar

To the right of the Project Toolbar, youโ€™ll find the Image Toolbar, which allows you to load up to two images simultaneously:

  • ๐Ÿ–ผ Open First Image โ€“ Default button for loading First image (often referred to as the top image).
  • ๐Ÿงฒ Open Second Image โ€“ Default button for loading Second image.

MELAGE Image Toolbar (no project) MELAGE Image Toolbar (project loaded)

Image toolbar: Left โ€“ No project loaded. Right โ€“ Project loaded.

3๏ธโƒฃ Tools Toolbar

At the top-left of MELAGE, youโ€™ll find the Tools Toolbar, which contains seven buttons grouped into three sections:

  • โœ๏ธ Build Lines โ€“ Draw multiple lines in the same slice and create a segmentation by connecting their endpoints (explained in detail later).
  • ๐ŸŽฏ Point Selection โ€“ Mark and locate selected points within a slice.
  • ๐Ÿ” Zoom In โ€“ Zoom into all windows (3/6 view) simultaneously.
  • ๐Ÿ”Ž Zoom Out โ€“ Zoom out of all windows simultaneously.
  • ๐Ÿ“ Measurement โ€“ Ruler tool to measure distances and lengths.
  • ๐Ÿ”— Linking โ€“ Synchronize sagittal, coronal, and axial slices. This makes it easy to locate the same point across all views.
  • ๐ŸงŠ 3D Toggle โ€“ Show or hide 3D widgets in the view.

MELAGE Tools Toolbar

Tools toolbar with essential navigation and annotation functions

4๏ธโƒฃ Panning Toolbar

Just below the Project Toolbar, youโ€™ll find the Panning Toolbar with two options:

  • ๐Ÿ–ฑ Arrow โ€“ Standard selection arrow.
  • โœ‹ Panning โ€“ Drag to move around within a slice (useful after zooming).

MELAGE Panning Toolbar

Panning toolbar for navigating slices

5๏ธโƒฃ Segmentation Toolbar

On the right side of the Panning Toolbar, youโ€™ll find the Segmentation Toolbar. From left to right:

  • ๐Ÿฉน Eraser โ€“ Remove segmentation from the image.
  • ๐Ÿฉนโž• Eraser X Times โ€“ Erase the same region across multiple following slices.
  • ๐Ÿ–Š Pen โ€“ Freehand segmentation with arbitrary closed shapes.
  • ๐ŸŒ€ Contour โ€“ Draw a contour to segment everything inside it.
  • ๐ŸŒ€โž• Contour X Times โ€“ Apply contour segmentation across multiple slices.
  • โญ• Circle โ€“ Segment a region using a circle with an adjustable radius.
  • ๐ŸŽจ Activated Color โ€“ Displays the currently active segmentation color.
  • ๐Ÿท Color Name โ€“ Shows the name of the active segmentation color.

MELAGE Segmentation Toolbar

Segmentation toolbar for drawing and editing regions

6๏ธโƒฃ Exit Toolbar

Finally, at the far right, youโ€™ll find the Exit Toolbar, which includes:

  • ๐Ÿงฉ Logo โ€“ Displays the MELAGE / MELAGE+ logo.
  • โŒ Exit โ€“ Closes the application.

MELAGE Exit Toolbar

Exit toolbar with logo and close button

Widgets

๐ŸŽจ Color widget

MELAGE
Color

MELAGE
Right click

Choose, activate, and search label colors (LUTs) for different structures. You can switch styles, import your own, and customize labels.

You can freely change stylesโ€”or add your own.
Currently default styles come from these human brain atlases:

There are also two tissue-based styles and one simple scheme.
You can import a new style via Import.
Label names are editable, and you can create a new label by clicking a color in the Segmentation Toolbar.

MELAGE
Add a color

Pick a new color here. Then youโ€™ll see a second window:

MELAGE
Add index and name

Set the index and name for the new color.
If the index already exists, the new color will replace the previous one.

๐Ÿงฐ Image enhancement widget

MELAGE
Image enhancement

MELAGE
Image enhancement (continued)

Enhance images with:

  • ๐Ÿ”† Brightness & contrast
  • ๐Ÿงฑ Band-pass & Hamming filters
  • ๐Ÿงญ Sobel edge operator
  • ๐Ÿ”„ Rotation by anatomical planes (sagittal, axial, coronal) or combinations

Thereโ€™s also a โ€œsagittal โ†” coronalโ€ swap for datasets that need plane reorientation (handy for certain top/bottom image workflows).

๐Ÿ“‹ Table widget

MELAGE
Table widget

This table includes:

  • ๐Ÿ“ Description โ€“ additional notes
  • ๐Ÿ–ผ Image type โ€“ top (first image) or bottom (second image)
  • ๐Ÿ“ Measure 1 โ€“ surface or length (ruler)
  • ๐Ÿ“ Measure 2 โ€“ perimeter or angle (ruler)
  • ๐Ÿงพ Slice โ€“ slice number
  • ๐ŸชŸ Window name โ€“ sagittal, coronal, or axial
  • ๐ŸŽฏ CenterXY โ€“ center position
  • ๐Ÿ—‚ FileName โ€“ file name

MELAGE
Table widget (context menu)

Right-click options:

  • โž• Add โ€“ insert a new row
  • โœ๏ธ Edit โ€“ edit the current cell
  • ๐Ÿ“ค Export โ€“ save table as CSV
  • ๐Ÿ—‘ Remove โ€“ delete the current row

๐Ÿ–ผ๏ธ Batch Images widget

MELAGE
Images widget

Manage a set of images (e.g., different modalities or sessions) and their corresponding segmentations.

  • Toggle the eye icon to show/hide an image.
  • A segmentation file requires its image to be loaded first.

MELAGE
Images widget (context menu)

Right-click options:

  • ๐Ÿ“ฅ Import
    • Images โ€“ import one or more images
    • Segmentation โ€“ import a segmentation associated with a loaded image
  • ๐Ÿ—‘ Remove Selected โ€“ remove the highlighted item
  • ๐Ÿงน Clear All โ€“ clear all non-active images

When importing, youโ€™ll see:

MELAGE
Import dialog

Choose the image/segmentation type from the dialog.
Use Preview to inspect an image before opening it. ๐Ÿ‘€

๐ŸŒˆ Segmentation intensity widget

MELAGE
Segmentation intensity

Adjust the visual intensity of the segmentation overlay.

  • 0 โžœ hide segmentation
  • Higher values โžœ stronger overlay

๐Ÿ–๏ธ Marker size widget

MELAGE
Marker size

Controls (top โžœ bottom):

  • โญ• Circle radius for region selection
  • โœ๏ธ Pen thickness for contour drawing

Tabs

MELAGE includes three tabs:

MELAGE
Tabs overview

1) ๐Ÿค Mutual view

  • Process two images at once.
  • Each image shows three planes in the order: coronal, sagittal, axial.
  • The number above each plane is the slice index.
  • Side letters indicate orientation: S (sagittal), A (axial), C (coronal).
  • You can segment and process either image directly in this view.
  • The top panel shows the first (top) image; the bottom panel shows the second (bottom) image.
  • If one image is closed, the tab displays the three planes of the remaining image:

MELAGE

MELAGE

2) ๐Ÿงฉ Top image (first image) workspace

Designed to focus on one plane at larger size while tracking the instant 3D view of the segmentation.

  • ๐Ÿ“œ Horizontal slider: scroll through slices
  • ๐Ÿ”˜ Plane selection: choose sagittal, axial, or coronal
  • ๐Ÿ‘ Show seg: toggle segmentation overlay
  • ๐ŸงŠ 3D visualization: real-time 3D feedback

MELAGE

3) ๐Ÿงฉ Bottom image (second image) workspace

Same layout and controls, dedicated to the second (bottom) image.

  • ๐Ÿ“œ Horizontal slider: scroll through slices
  • ๐Ÿ”˜ Plane selection: sagittal, axial, or coronal
  • ๐Ÿ‘ Show seg: toggle segmentation overlay
  • ๐ŸงŠ 3D visualization: real-time 3D feedback

MELAGE

๐ŸงŠ 3D Visualization

Right-click on the 3D region to access various options:

MELAGE

๐Ÿ”Ž GoTo

  • Activating GoTo lets you jump to the corresponding location in the image.
  • The approximate mouse position in 3D space appears at the bottom-right of the window.
  • The selected point will also appear in the closest sagittal, coronal, or axial plane.

MELAGE

๐Ÿงฉ Segmentation

  • Toggle segmentation overlay within the 3D view.
  • โš ๏ธ Tip: If it doesnโ€™t activate immediately, switch to another tab and return.

MELAGE

๐Ÿงฉ Transparent 3D Overlay

MELAGE allows users to seamlessly overlay segmentation masks on top of anatomical images within the 3D visualization module. This feature enables clear comparison between raw data and segmented structures, while maintaining anatomical context.

  • Transparency Control: Adjust the opacity of the segmentation layer for balanced visualization.
  • Interactive Toggle: Enable or disable overlays dynamically without reloading the view.
  • Integrated Navigation: Selected points remain synchronized across sagittal, coronal, and axial planes.
  • โš ๏ธ Tip: If the overlay does not activate immediately, switch to another tab and return.

MELAGE Transparent 3D Overlay
Transparent 3D overlay.

MELAGE Transparent 3D Overlay
Transparent 3D overlay of segmentation mask and anatomical image in MELAGE.

๐ŸŽจ BG color

  • Change the background color of the 3D visualization.
  • Choose between different themes to improve contrast.

๐Ÿ–Œ๏ธ Painting

MELAGE

โœ๏ธ Draw

  • Cut parts of the 3D image interactively by drawing.

MELAGE

๐ŸŒˆ Image render

  • Render the 3D image using different color maps.
  • The Segmentation Intensity widget can enhance visualization.

MELAGE Rainbow

MELAGE Gray

MELAGE Jet

MELAGE Gnuplot

MELAGE Gnuplot2

MELAGE Original

๐Ÿงญ Axis

  • Display axes alongside the 3D visualization for orientation.

๐Ÿ—บ๏ธ Grid

  • Show a reference grid within the 3D window.

๐Ÿ› ๏ธ Tools

โœ๏ธ Segmentation options with contour

Right-click on a segmented contour to access these options:

  • ๐ŸŽฏ Center โ€“ show center of the region
  • ๐Ÿ“ Surface area โ€“ compute region surface
  • ๐Ÿ“ Perimeter โ€“ measure perimeter length
  • ๐Ÿ“ค Send to table โ€“ export all measurements to the table widget
  • โž• Add to interpolation โ€“ add the current slice to slice-to-slice interpolation
  • โ–ถ๏ธ Apply interpolation โ€“ apply interpolation using current and previous slices

MELAGE

๐Ÿ”€ Interpolation between slices

To interpolate across slices:

  1. โœ… Activate the colors you want to interpolate
  2. ๐Ÿ–ผ Select a segmented region in one plane (sagittal, axial, or coronal)
  3. โž• Add more regions from other slices (as many as needed)
  4. ๐Ÿ–ฑ Right-click โ†’ Apply interpolation
  5. โณ Wait for interpolation results

๐Ÿ“ Ruler

The ruler measures distances between two points in an image.
Right-click on a ruler gives access to:

  • ๐ŸŽฏ Center position
  • ๐Ÿ“ Length
  • ๐Ÿ“ Line angle
  • ๐Ÿ—‘ Remove โ€“ delete the current ruler
  • ๐Ÿ“ค Send to table โ€“ export ruler data

MELAGE

๐Ÿ”„ You can add unlimited rulers.

๐Ÿงฐ Tools menu

Options available under the Tools menu:

  • โ†ฉ๏ธ Undo โ€“ revert up to 10 segmentations
  • โ†ช๏ธ Redo โ€“ redo up to 10 actions
  • ๐Ÿงช Preprocessing โ€“ N4 Bias Field Correction, Image Masking, BET, DeepBET, Thresholding, Masking Ops, Change CS
  • โ„น๏ธ Basic Info โ€“ Histogram, Resize, Image Info

MELAGE

๐Ÿงฎ N4 Bias Field Correction

Uses SimpleITK. Parameters include:

  • Otsu thresholding for mask creation
  • Fitting level
  • Shrinking factor
  • Max iterations
  • Image selection (top = first image, bottom = second image)

After running, you can restore the Original image if needed.

MELAGE

๐ŸŽญ Image Masking

Keep or remove image parts using segmentation masks:

  • Image selection (top or bottom)
  • Action: Keep / Remove
  • Mask color
  • Apply button

Reset by using mask color 9876_Combined.

MELAGE

๐Ÿง  Brain Extraction Tool (BET)

Implements Smith 2002.
Parameters:

  • Advanced mode
  • Iterations
  • Adaptive thresholding
  • Fractional threshold
  • Search distance
  • Radius of curvature

MELAGE

๐Ÿค– Deep Learning Brain Extraction

DL-based brain extraction with configurable options:

  • Advanced mode (editable)
  • Image selection
  • Model selection
  • CUDA acceleration (optional)
  • Threshold (-4 to 4)
  • Network weights path
  • Apply button

๐Ÿ’ก Tip: Adjust threshold without rerunning the model.

MELAGE

โš–๏ธ Image Thresholding

Multi-Otsu based thresholding:

  • Image selection
  • Number of classes
  • Apply

MELAGE

โž•โž– Masking Operations

Combine masks using summation or subtraction:

  • Masking color(s)
  • Operation
  • Image selection
  • Apply

MELAGE

๐Ÿงญ Change CS (Coordinate System)

  • Image selection
  • From (current system)
  • To (desired system)
  • Apply

MELAGE

๐Ÿ“Š Basic Info

Tools for inspecting and resizing images.

MELAGE

  • ๐Ÿ“ˆ Histogram โ€“ view image histogram
  • ๐Ÿ“ Resize โ€“ isotropic resize

MELAGE

  • โ„น๏ธ Image info โ€“ metadata with search

MELAGE

๐Ÿ“‚ File Menu

MELAGE

Options include:

  • ๐Ÿ†• New project โ€“ start fresh
  • ๐Ÿ“‚ Load project โ€“ open saved project
  • ๐Ÿ’พ Save โ€“ overwrite project
  • ๐Ÿ’พ Save as โ€“ save under new name
  • ๐Ÿ“ฅ Import โ€“ import segmentation

MELAGE

  • ๐Ÿ“ค Export โ€“ save modified image/segmentation with suffix

MELAGE

  • ๐Ÿ“ธ Screenshot โ€“ capture a plane or whole scene

MELAGE

  • โŒ Close top image โ€“ close first (top) image
  • โŒ Close bottom image โ€“ close second (bottom) image
  • โš™๏ธ Settings โ€“ change application defaults

MELAGE

  • ๐Ÿšช Exit โ€“ close app (confirmation window will ask to save project)

๐Ÿ“œ License

For licensing inquiries, please contact:

Protection & Registration

MELAGE is registered in the Electronic Register of Intellectual Property as software, under file FCAD-22002, by the Technology Transfer Office of the Andalusian Public Health System (OTT-SSPA).

๐Ÿ“– Citation & Acknowledgements

If you use MELAGE in your research, please cite the following work:

Jafrasteh, B., Lubiรกn-Lรณpez, S. P., & Benavente-Fernรกndez, I. (2023).
MELAGE: A purely Python-based Neuroimaging Software (Neonatal).
arXiv preprint arXiv:2309.07175

We would like to acknowledge all contributors and collaborators who have supported the development and testing of MELAGE.

๐Ÿš€ Releases

Stable releases and updates of MELAGE are available on the GitHub Releases page.

  • ๐ŸŸข Stable releases: Fully tested, recommended for production and research use.
  • ๐Ÿงช Pre-releases / beta versions: For testing new features and providing feedback.

Stay updated by watching the repository for new release notifications.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

melage-2.0.6.tar.gz (63.0 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

melage-2.0.6-py3-none-any.whl (53.8 MB view details)

Uploaded Python 3

File details

Details for the file melage-2.0.6.tar.gz.

File metadata

  • Download URL: melage-2.0.6.tar.gz
  • Upload date:
  • Size: 63.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for melage-2.0.6.tar.gz
Algorithm Hash digest
SHA256 e3361d4ae9d3292146e2c02afd2e6116a75d31b4e3b7e25c8fb321fdb21ead61
MD5 c47a112eeddf1fdb5c8ccb77a6322070
BLAKE2b-256 fd34900212044efd2e56f086c3dba9cfb32da55a8d6b965de1a0f2b05834d06d

See more details on using hashes here.

File details

Details for the file melage-2.0.6-py3-none-any.whl.

File metadata

  • Download URL: melage-2.0.6-py3-none-any.whl
  • Upload date:
  • Size: 53.8 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for melage-2.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 f983d419f26babb5e78a4abdb98d414aacb6185a151fefc3016233746cb2d574
MD5 54feb39c779b32c53a2fae57ad310775
BLAKE2b-256 6ef852cbc48f35d722b9e1b9f6c961ad8552f712db3d8ae2bf92d1ad39f7ee9e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page