Abstract
Background
With reflectance confocal microscopy (RCM) imaging, skin cancers can be diagnosed in vivo and margins detected to guide treatment. Since the field of view of an RCM image is much smaller than the typical size of lesions, mosaicing approaches have been developed to display larger areas of skin. However, the current paradigm for RCM mosaicing in vivo is limited both in speed and to pre-selected rectangular-shaped small areas. Another approach, called “video-mosaicing,” enables higher speeds and real-time operator-selected areas of any size and shape, and will be more useful for RCM examination of skin in vivo.
Objectives
To demonstrate the feasibility and clinical potential of video-mosaicing of RCM images to rapidly display large areas of skin in vivo.
Methods
Thirteen videos of benign lesions, melanocytic cancers and residual basal cell carcinoma margins were collected on volunteer subjects with a handheld RCM scanner. The images from each video were processed and stitched into mosaics to display the entire area that was imaged.
Results
Acquisition of RCM videos covering 5.0–16.0 mm2 was performed in 20–60 seconds. The video-mosaics were visually determined to be of high quality for resolution, contrast and seamless contiguity, and the appearance of cellular-level and morphologic detail.
Conclusion
Video-mosaicing confocal microscopy, with real-time operator-choice of the shape and size of the area to be imaged, will enable rapid examination of large areas of skin in vivo. This approach may further advance noninvasive detection of skin cancer and, eventually, facilitate wider adoption of RCM imaging in the clinic.
Keywords: Reflectance Confocal Microscopy, video mosaicing, in vivo mosaicing, intra-op RCM imaging
With cellular-level resolution comparable to histology, reflectance confocal microscopy (RCM) imaging is a promising approach both for diagnosis of skin cancer in vivo with high sensitivity and specificity1,2, and for pre- and intra-operative detection of cancer margins to guide treatment.3–5 However, RCM images are limited to a field of view (FOV) of 1 mm -by- 1 mm, much smaller than the typical size of skin lesions. Many diagnostic features cannot be reliably identified in such small FOVs. Moreover, clinicians rely heavily on visual context of the surrounding tissue to perform diagnoses. Thus, larger areas must be imaged to evaluate cellular and morphologic features with high accuracy and repeatability. To address this concern, mosaicing approaches, which increase the FOV by acquiring a matrix of adjacent images and stitching them together to display a large area, have been developed for confocal microscopy6.
In standard mosaicing, images are acquired while mechanically translating the microscope lens relative to the skin along pre-determined linear (straight-line) trajectories. This approach was implemented in the RCM scanner used in the cited studies1–5, and, in fact, is now routinely used on patients. However, the mechanics of translation limit speed and coverage to pre-selected small rectangular-shaped areas, currently up to 8 mm-by-8 mm, imaged in ~4.5 minutes. Coverage and speed could be increased, of course, with larger and faster mechanical translation systems, but would add significant size and cost to RCM scanners, and would certainly not be practical for routine use on patients.
Miniaturized confocal endoscopes have been developed that allow the operator flexible control for imaging in vivo, without the constraints of mechanical translation7,8 Similar flexibility is now possible for imaging skin with the recent advent of smaller and miniaturized handheld confocal microscopes9,10,11. The operator manually moves the microscope along a desired curvilinear trajectory, with the lens gently pressed against the tissue, while acquiring a video sequence of images. Video microscopy enables the operator to choose the trajectory in real-time, allowing adaptive coverage of areas that can be selected in real-time during acquisition. Thus, an area with any shape and size may be rapidly imaged, without the previous constraints of straight-line trajectories and rectangular coverage. However, observing a video, by itself, merely as a time-sequence of small FOVs, does not readily provide the necessary visual context from the surrounding tissue.
In this paper, we present results from an approach for computationally transforming such videos into mosaics that display the entire imaged area. Algorithms for video-mosaicing have been developed in the fields of computational photography and computer vision12, and their use has previously been reported for confocal endoscopic imaging7,8.We report here application of video-mosaicing to reflectance confocal images of human skin lesions and margins in vivo.
Methods
We used a newly developed handheld RCM scanner (Vivascope 3000, Caliber Imaging & Diagnostics Inc., Rochester, NY, U.S.A.) to capture videos. The videos were acquired on subjects, under an IRB-approved protocol, by an expert clinician (co-author MC) with experience using this microscope. Imaging was performed with a 30×, 0.9 numerical aperture lens, with optical sectioning of ~3 μm and resolution of ~1 μm. Each frame (image) of the video is composed of 1000 × 1000 pixels and covers a FOV of 1 mm-by-1 mm. The imaging rate was ~8 frames/second.
Thirteen RCM videos (6 benign lesions, 2 melanocytic cancers and 5 residual basal cell carcinoma (BCC) margins) were acquired in vivo. Imaging straddled the dermo-epidermal junction, which is a key structure for cancer diagnosis and detection of margins. During capture, the operator manually moved the microscope slowly and smoothly, with the lens pressed gently against the skin, traversing a trajectory chosen in real-time on the area of interest, while attempting to avoid sudden “jumps” or discontinuities in the video.
The individual frames of the video were extracted after acquisition and identification tags were automatically cropped using an image processing algorithm written in MATLAB (Mathworks, Natick, MA, U. S. A.). The cropped frames were then stitched using freely available video-mosaicing software (Microsoft Image Composite Editor (ICE); http://research.microsoft.com/en-us/um/redmond/groups/ivm/ICE/). When the operator’s movement was sufficiently smooth, the entire sequence was processed in one batch. When there were “jumps”, we divided the video into smaller “sub-videos” separated by the discontinuities, and processed them individually, to create smaller mosaics of each corresponding area.
Upon request, we will freely provide our MATLAB executable software (with documentation) that can be used to extract the video frames. This software may be used in conjunction Vivascope 3000 videos and the ICE software (URL link above). We will also distribute our raw videos and video-mosaics, if requested.
Results
We present images of three example video-mosaics of a benign lesion, residual BCC margins and a lentigo maligna (Figures 1–3 respectively). Further details are in the figure captions. We have also included 6 video-mosaics of other skin lesions in the supplementary material.
Area coverage rate of the thirteen video mosaics ranged from ~5 to ~24 mm2 per minute, depending on the operator’s rate of motion. When the acquisition was smooth, conversion of a 1-minute long video (~500 frames) into a mosaic took 10–30 minutes on a standard desktop computer, without any special software optimization. The computation time heavily depended on the complexity of the image features and the motion in the video.
Discussion
Compared to the standard paradigm (linear trajectories, rectangular areas) currently employed in RCM mosaicing, video-mosaicing enables real-time operator-controlled curvilinear trajectories that allow observation of larger areas of any desired shape and size. Our results demonstrate that video-mosaicing confocal microscopy is a promising tool to further advance noninvasive detection of skin cancer.
For high quality stitching, the overlap between consecutive frames should be at least 25–50%. With a FOV of 1 mm2 and imaging rate of ~8 frames/second, the rate of area coverage could, in principle, reach~240–360 mm2/min. Thus video-mosaicing can, in principle, be much faster than current RCM mosaicing, which typically images at ~14 mm2/min. However, in this study, we imaged at a rate comparable to current mosaicing, which is one to two orders of magnitude smaller than the theoretical limit, suggesting that the microscope was moved too slowly. This reflects an important consideration, due to the currently manual approach for video acquisition: optimizing the rate of microscope movement while avoiding “jumps” and keeping the focus on the desired plane. (The location and depth of the imaging plane is affected by the position and orientation of the microscope lens relative to the skin surface, and is sensitive to variations in manual pressure as well as surface topography.) Lack of sufficient control of both may lead to poor registration and blur in the mosaics. Thus, user skill is important to obtain good results. However, our experience suggests that an untrained user can develop the necessary skills after imaging ~10 lesions under the supervision of an experienced clinician.
Based on this experience, we believe that RCM video-mosaicing should be advanced to clinical testing. In the long-term, a smaller or miniaturized RCM scanner, with fully-automated (robotic) or semi-automated (for example, touch-screen) control on the motion and trajectory, may be the best approach. Our results suggest that, with better control, a considerably higher imaging rate may be achieved. Moreover, the algorithms may be further developed to account for variations in image complexity, features and quality, to automatically segment, or possibly repair, “jumps” or discontinuities in the videos, and to optimally tradeoff between resolution, blur and noise when averaging overlapping images to create the mosaics, and speed. With such advances, video-mosaicing confocal microscopy could become a critical tool for routine use in the clinic, and may facilitate wider clinical adoption of RCM imaging.
Supplementary Material
What’s already known about this topic?
RCM imaging can detect skin cancers in vivo, but is limited by small fields of view;
Mosaicing enables imaging over larger areas, but is presently slow and limited to small pre-determined rectangular-shaped areas;
In other types of imaging, video-mosaicing can be applied to user-selected areas of any shape and size.
What does this study add?
Video mosaicing of RCM images is demonstrated in skin lesions and margins in twelve subjects, with ability to image significant skin structures over a larger irregularly-shaped region documented.
Considerations of speed and imaging quality are examined.
References
- 1.Guitera P, Menzies SW, Longo C, Cesinaro AM, Scolyer RA, Pellacani G. In Vivo Confocal Microscopy for Diagnosis of Melanoma and Basal Cell Carcinoma Using a Two-Step Method: Analysis of 710 Consecutive Clinically Equivocal Cases. Journal of Investigative Dermatology. 2012;132:2386–2394. doi: 10.1038/jid.2012.172. [DOI] [PubMed] [Google Scholar]
- 2.Guitera P, Pellacani G, Crotty KA, Scolyer RA, Li LX, Bassoli S, Vinceti M, Rabinovitz H, Longo C, Menzies SW. The impact of in vivo reflectance confocal microscopy on the diagnostic accuracy of lentigo maligna and equivocal pigmented and nonpigmented macules of the face. 2010;130(8):2080–91. doi: 10.1038/jid.2010.84. [DOI] [PubMed] [Google Scholar]
- 3.Guitera P, Moloney FJ, Menzies SW, Stretch J, Quinn MJ, Hong A, Fogarty G, Scolyer RA. Improving management and patient care of lentigo maligna by mapping with in vivo confocal microscopy. JAMA Dermatology. 2013;149(6):692–698. doi: 10.1001/jamadermatol.2013.2301. [DOI] [PubMed] [Google Scholar]
- 4.Nadiminti H, Scope A, Marghoob AA, Busam K, Nehal KS. Use of Reflectance Confocal Microscopy to Monitor Response of Lentigo Maligna to Nonsurgical Treatment. Dermatologic Surgery. 2010;36(2):177–184. doi: 10.1111/j.1524-4725.2009.01421.x. [DOI] [PubMed] [Google Scholar]
- 5.Pan ZY, Lin JR, Cheng TT, Wu JQ, Wu WY. In vivo reflectance confocal microscopy of basal cell carcinoma: feasibility of preoperative mapping of cancer margins. Dermatological Surgery. 2012;38(12):1945–50. doi: 10.1111/j.1524-4725.2012.02587.x. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 6.Larson B, Abeytunge S, Seltzer E, Rajadhyaksha M, Nehal K. Detection of skin cancer margins in Mohs excision with high-speed strip mosaicing confocal microscopy: a feasibility study. British Journal of Dermatology. 2013;169(4):922–926. doi: 10.1111/bjd.12444. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 7.Loewke KE, Camarillo DB, Piyawattanametha W, Mandella MJ, Contag CH, Thrun S, Salisbury JK. In vivo micro-image mosaicing. 2011;58(1):59–71. doi: 10.1109/TBME.2010.2085082. [DOI] [PubMed] [Google Scholar]
- 8.Vercauteren T, Perchant A, Malandain G, Pennec X, Ayache N. Robust mosaicing with correction of motion distortions and tissue deformations for in vivo fibered microscopy. Medical Image Analysis. 2010;10(5):673–92. doi: 10.1016/j.media.2006.06.006. [DOI] [PubMed] [Google Scholar]
- 9.Patil CA, Arrasmith CL, Mackanos MA, Dickensheets DL, Mahadevan-Jansen A. A handheld laser scanning confocal reflectance imaging-confocal Raman microspectroscopy system. Biomedical Optics Express. 2012;1(3):488–502. doi: 10.1364/BOE.3.000488. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 10.Ra H, Piyawattanametha W, Gonzalez-Gonzalez E, Mandella MJ, Kino GS, Solgaard O, Leake D, Kaspar RL, Oro A, Contag CH. In vivo imaging of human and mouse skin with a handheld dual-axis confocal fluorescence microscope. Journal of Investigative Dermatology. 2011;131(5):1061–6. doi: 10.1038/jid.2010.401. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 11.Fraga-Braghiroli NA, Stephens A, Grossman D, Rabinovitz H, Castro RP, Scope A. Use of handheld reflectance confocal microscopy for in vivo diagnosis of solitary facial papules: a case series. Journal of European Academy of Dermatology and Venereology. 2013 doi: 10.1111/jdv.12218. [Epub ahead of print] [DOI] [PubMed] [Google Scholar]
- 12.Milgram DL. Computer methods for creating photomosaics. IEEE Transactions on Computers. 1975;24(11):1113–1119. [Google Scholar]
- 13.Scope A, Mahmood U, Gareau DS, Kenkre M, Lieb JA, Nehal KS, Rajadhyaksha M. In vivo reflectance confocal microscopy of shave biopsy wounds: feasibility of intraoperative mapping of cancer margins. British Journal of Dermatology. 2010;163(6):1218–28. doi: 10.1111/j.1365-2133.2010.10063.x. [DOI] [PMC free article] [PubMed] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.