Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Tutorial Proposal: Visual Medical Imaging Workflows with ComfyUI Integration for Clinical Lesion Detection and Segmentation

Đang mở
#2,039 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
20/100
Loại issue
Tài liệu
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ

Hướng nghiên cứu

Không có tệp, bài kiểm thử hoặc điểm vào nào của repository được nêu tên. Trước tiên, hãy xem xét các tutorial MONAI hiện có và xác định liệu tích hợp ComfyUI được đề xuất cùng workflow tổn thương gan có phù hợp với repository tutorial hay không. Công việc được xem là hoàn tất khi có phạm vi tutorial được thu hẹp và thống nhất, cùng với các dataset, model và ranh giới triển khai đã được xác nhận.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

I propose creating a comprehensive tutorial that integrates MONAI with ComfyUI's node-based visual workflow system, specifically targeting surgical, radiological, and other consultants seeking to perform AI-assisted lesion detection and segmentation without writing code.

This tutorial will demonstrate a complete clinical workflow:
CT scan review → AI-suggested lesions → radiologist refinement → quantitative analysis → structured report generation, with extensive visualization at every step.

Problem Statement
Current MONAI tutorials are excellent for researchers and ML engineers but require Python programming knowledge. Clinical users who could benefit most from MONAI's powerful medical imaging capabilities often lack coding experience, creating a barrier to adoption in real-world clinical settings.

Proposed Solution
A visual, node-based interface using ComfyUI that allows clinicians to:

  • Build medical imaging workflows by connecting visual nodes (no coding required)
  • Leverage pre-trained MONAI models through drag-and-drop
  • Interactively refine AI predictions
  • Generate clinical reports with quantitative measurements
  • Visualize results in 2D/3D at every pipeline stage

Target Audience
Primary: Licensed clinicians, radiologists, and medical technicians
Secondary: Medical students learning medical imaging AI
Tertiary: Researchers prototyping clinical workflows

Proposed Tutorial Content
Title: Visual Medical Imaging Workflows: ComfyUI Custom Nodes for Clinical Liver Lesion Segmentation

Clinical Workflow (Liver Lesion Segmentation Use Case)

  1. DATA INGESTION & PREPROCESSING
    —> Load DICOM/NIfTI abdominal CT scan
    —> Visualize: Multi-planar reconstruction (Axial/Coronal/Sagittal)
    —> Metadata extraction (patient info, scan parameters)
    —> Intensity windowing (liver window settings)
    —> Quality control checks

  2. AI-ASSISTED LESION DETECTION
    —> RetinaNet-based detection model for liver lesions
    —> Visualize: 3D bounding boxes overlaid on CT
    —> Confidence scores per detection
    —> Lesion characteristics (volume, location, HU density)
    —> False positive filtering

  3. LESION SEGMENTATION
    —> UNet/SegResNet for precise lesion boundaries
    —> Visualize: 3D mask overlay with transparency
    —> Multi-class segmentation (cyst, hemangioma, metastasis, HCC)
    —> Morphological refinement
    —> Uncertainty estimation

  4. RADIOLOGIST REFINEMENT
    —> Interactive editing (DeepEdit-style)
    —> Add/remove lesions manually
    —> Adjust segmentation boundaries
    —> Annotate findings
    —> Real-time AI re-inference

  5. QUANTITATIVE ANALYSIS
    —> Lesion volume calculation (mm³)
    —> Radiomics features extraction
    —> Growth tracking (if prior scans available)
    —> RECIST measurements
    —> Statistical summaries

  6. REPORT GENERATION & EXPORT
    —> Structured report (JSON/XML)
    —> Visual summary (key slices with annotations)
    —> 3D rendering export
    —> DICOM SR (Structured Report)
    —> Integration-ready formats (PACS/RIS)

Technical Implementation (tentative)

Proposed Custom ComfyUI Node Categories (tentative):

  1. Medical Image I/O Nodes:
    LoadMedicalImage - DICOM/NIfTI loader with metadata
    SaveMedicalImage - Export with proper headers
    DICOMMetadataExtractor - Patient/scan info
    SeriesSelector - Multi-series study navigation

  2. Preprocessing Nodes:
    IntensityWindowing - HU window/level adjustment
    Reorientation - Standardize to RAS/LPS
    Resampling - Isotropic spacing
    CropROI - Focus on liver region
    NormalizeIntensity - Standardization

  3. Visualization Nodes:
    MultiplanarViewer - Axial/Coronal/Sagittal slices
    3DRenderer - Volume rendering
    OverlayMask - Segmentation overlay with alpha blending
    BoundingBoxVisualizer - Detection boxes with labels
    SliceNavigator - Interactive slice browsing

  4. AI Model Nodes:
    MONAIBundleLoader - Load pre-trained bundles
    LesionDetector - RetinaNet inference
    LesionSegmenter - UNet/SegResNet inference
    EnsemblePredictor - Multi-model fusion
    UncertaintyEstimator - Monte Carlo dropout

  5. Interactive Refinement Nodes:
    DeepEditNode - Click-based refinement
    ManualAnnotation - Draw/erase tools
    LesionEditor - Add/remove detections
    ConfidenceThreshold - Filter by score

  6. Analysis Nodes:
    VolumeCalculator - Lesion volume in mm³
    RadiomicsExtractor - Texture/shape features
    RECISTMeasurement - Longest diameter
    HUDensityAnalyzer - Mean/std HU values
    LesionCharacterizer - Classification features

  7. Report Generation Nodes:
    StructuredReportBuilder - JSON/XML output
    VisualSummaryGenerator - Key images with annotations
    DICOMSRExporter - DICOM Structured Report
    PDFReportGenerator - Clinical report
    StatisticsTable - Quantitative summary

About me:
I have a medical degree and strong interest in medical imaging AI. Although not a practicing clinician, I understand clinical workflows and the needs of fellows, residents, and students in the medical field. I'm committed to creating a tutorial that bridges the gap between powerful AI tools and clinical usability, and if this proves useful I would like to contribute in a meaningful way.

Request for Feedback

I would greatly appreciate feedback from the MONAI community on:

  1. Clinical relevance: Is this workflow relevant to current clinical needs?
  2. Technical approach: Is ComfyUI integration (or node-based UI workflows in general) appropriate for MONAI tutorials?
  3. Dataset choice: Please help me find publicly available liver lesion datasets.
  4. Model selection: Recommendations for pre-trained models to use or study.

I look forward to your feedback and hope that this proposed tutorial meets with your approval.

Ngôn ngữ chính
Jupyter Notebook
Star
2.6k
Fork
805
Merge trung bình
6 ngày 17 giờ
Pull request đã merge (30 ngày)
4

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Project-MONAI/tutorials

Tất cả issue của Project-MONAI/tutorials

Issue tương tự

Thêm issue về Computer Vision

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.