ObjectiveTo develop and validate an artificial intelligence (AI)-based algorithm for capturing automated measurements of Penile curvature (PC) based on 2-dimensional images.Materials and methodsNine 3D-printed penile models with differing curvature angles (ranging from 18 to 88°) were used to compile a 900-image dataset featuring multiple camera positions, inclination angles, and background/lighting conditions. The proposed framework of PC angle estimation consisted of three stages: automatic penile area localization, shaft segmentation, and curvature angle estimation. The penile model images were captured using a smartphone camera and used to train and test a Yolov5 model that automatically cropped the penile area from each image. Next, an Unet-based segmentation model was trained, validated, and tested to segment the penile shaft, before a custom Hough-Transform-based angle estimation technique was used to evaluate degree of PC.ResultsThe proposed framework displayed robust performance in cropping the penile area [mean average precision (mAP) 99.4%] and segmenting the shaft [Dice Similarity Coefficient (DSC) 98.4%]. Curvature angle estimation technique generally demonstrated excellent performance, with a mean absolute error (MAE) of just 8.5 when compared with ground truth curvature angles.ConclusionsConsidering current intra- and inter-surgeon variability of PC assessments, the framework reported here could significantly improve precision of PC measurements by surgeons and hypospadiology researchers.
ObjectiveDevelop a reliable, automated deep learning-based method for accurate measurement of penile curvature (PC) using 2-dimensional images.Materials and methodsA set of nine 3D-printed models was used to generate a batch of 913 images of penile curvature (PC) with varying configurations (curvature range 18° to 86°). The penile region was initially localized and cropped using a YOLOv5 model, after which the shaft area was extracted using a UNet-based segmentation model. The penile shaft was then divided into three distinct predefined regions: the distal zone, curvature zone, and proximal zone. To measure PC, we identified four distinct locations on the shaft that reflected the mid-axes of proximal and distal segments, then trained an HRNet model to predict these landmarks and calculate curvature angle in both the 3D-printed models and masked segmented images derived from these. Finally, the optimized HRNet model was applied to quantify PC in medical images of real human patients and the accuracy of this novel method was determined.ResultsWe obtained a mean absolute error (MAE) of angle measurement <5° for both penile model images and their derivative masks. For real patient images, AI prediction varied between 1.7° (for cases of ∼30° PC) and approximately 6° (for cases of 70° PC) compared with assessment by a clinical expert.DiscussionThis study demonstrates a novel approach to the automated, accurate measurement of PC that could significantly improve patient assessment by surgeons and hypospadiology researchers. This method may overcome current limitations encountered when applying conventional methods of measuring arc-type PC.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.