Related Experiment Video
Updated: Jan 16, 2026

Author Spotlight: Quantifying Pain Experience – An Illustrative Approach Using the Pain Body Diagram
Published on: July 7, 2023
A Summary of Pain Locations and Neuropathic Patterns Extracted Automatically from Patient Self-Reported Sensation
Andrew Bishara1,2, Elisabetta de Rinaldis3,4, Trisha F Hue5
1Department of Anesthesia and Perioperative Care, University of California, San Francisco, CA 94143, USA.
Abstract:
Background Chronic low-back pain (LBP) is the largest contributor to disability worldwide, yet many assessments still reduce a complex, spatially distributed condition to a single 0-10 score. Body-map drawings capture location and extent of pain, but manual digitization is too slow and inconsistent for large studies or real-time telehealth. Methods Paper pain drawings from 332 adults in the multicenter COMEBACK study (four University of California sites, March 2021-June 2023) were scanned to PDFs. A Python pipeline automatically (i) rasterized PDF pages with pdf2image v1.17.0; (ii) resized each scan and delineated anterior/posterior regions of interest; (iii) registered patient silhouettes to a canonical high-resolution template using ORB key-points, Brute-Force Hamming matching, RANSAC inlier selection, and 3 × 3 projective homography implemented in OpenCV; (iv) removed template outlines via adaptive Gaussian thresholding, Canny edge detection, and 3 × 3 dilation, leaving only patient-drawn strokes; (v) produced binary masks for pain, numbness, and pins-and-needles, then stacked these across subjects to create pixel-frequency matrices; and (vi) normalized matrices with min-max scaling and rendered heat maps. RGB composites assigned distinct channels to each sensation, enabling intuitive visualization of overlapping symptom distributions and for future data analyses. Results Cohort-level maps replicated classic low-back pain hotspots over lumbar paraspinals, gluteal fold, and posterior thighs, while exposing less-recognized clusters along the lateral hip and lower abdomen. Neuropathic-leaning drawings displayed broader leg involvement than purely nociceptive patterns. Conclusions Our automated workflow converts pen-on-paper pain drawings into machine-readable digitized images and heat maps at the population scale, laying practical groundwork for spatially informed, precision management of chronic LBP.
Related Concept Videos
Overview of Somatic Sensory Pathways
The somatosensory system is divided into three main pathways: the dorsal (or posterior) column-medial lemniscus, spinothalamic (or anterolateral), and spinocerebellar pathways.
The dorsal...
Pain
Nociception
Somatosensation
Blood and Nerve Supply to the Bones
Nutrient Artery
The nutrient artery is the main blood vessel that enters the diaphysis via the nutrient foramen. While most long bones have only one nutrient foramen, large bones, such as the femur, may have two. This...
Major Somatic Sensory Pathways

