1.IntroductionLaparoscopic surgery is widely used for most procedures within the chest and abdominal cavity.1 Standard laparoscopic systems include a high-resolution camera and a light source coupled to a fiber optic probe, allowing fine surgical instruments to be inserted via keyhole incisions, eliminating the need for open surgical approaches.2 Laparoscopic surgery is the standard of care in high-income countries (HICs) due to its well-documented benefits, including reduced bleeding, shorter patient recovery time, and decreased surgical site infection,3 all of which improve surgical outcomes and reduce healthcare system costs. Although laparoscopic surgery is widely used in HICs, low- and middle-income countries (LMICs) lack access. Laparoscopy is needed in LMICs, particularly because surgical site infection rates are five times higher4 and long hospitalization can be financially damaging to families.5–7 These difficulties could be mitigated by the implementation of laparoscopy, but several barriers remain, including the high cost of initial purchase, supplies, and local expertise needed for system maintenance, and the lack of laparoscope design features tailored to LMIC resources.5,8 The current laparoscopic setup can cost upward of $130,000 for the laparoscope, viewing monitors, and corresponding equipment, preventing purchase in LMIC healthcare systems.9,10 In addition, the standard of care laparoscopes lack design considerations for LMIC resource compatibility. For example, they require continuous power, posing issues when used in countries that experience power outages,11 as well as incompatibility with submersion sterilizations, which is the primary sterilization method in LMICs.12 We previously developed a low-cost laparoscope called the KeyScope, created specifically for LMIC environments.13 The KeyScope utilizes light-emitting diodes (LEDs) and a complementary metal-oxide-semiconductor sensor (CMOS) detector placed at the tip of the laparoscope, eliminating the need for fragile fiber optic cables and lens systems. The KeyScope is powered via connection to a laptop computer with a universal serial bus (USB) cord, and the image is displayed on a laptop computer, removing the need for constant power and expensive monitors. The KeyScope is waterproof, so it can be sterilized through submersion techniques, as is common in LMICs.14 The current KeyScope design has been derived through an iterative human-centered design process with surgeons15; this included surveying LMIC surgeons to determine clinical needs16 and modifying device specifications and performance following feedback from surgeons who used the KeyScope in porcine models.17 Our team is working with a medical device company in Uganda and partnering with local distributors to facilitate local capacity building in medical device design and manufacturing. Because the manufacturing and quality assurance testing of the KeyScope will be performed in Uganda, where OBSs are not readily available, a reliable and consistent testing chamber is needed to evaluate the performance of each manufactured KeyScope prior to clinical use. Various image quality parameters are necessary to characterize a laparoscope’s performance, including resolution, image distortion, color accuracy, and depth of field (DOF). Previously, these image quality parameters were quantified in a custom optical bench setup (OBS) in which collimated white LEDs with diffusers were set between 20 deg and 40 deg (relative to the device being tested) to provide uniform lighting and minimize specular reflection from the imaging target (per ISO 12233:2017 guidelines).13 The OBS used a large, immovable optical table and multiple optical and opto-mechanical parts, which are cost-prohibitive for LMIC implementation. In addition, the OBS was not enclosed and was subject to variations in ambient lighting. The cost, immobility, and variability of an OBS hinder the overall goal of the KeyScope. To enable characterization of the KeyScope in LMICs, we describe the design of a low-cost, portable testing chamber (PTC). The overall size, lighting conditions, and materials were carefully selected to ensure that the PTC yields comparable results to the OBS while also meeting three criteria: low weight (), low cost (<$1000), and flexibility. Flexibility was defined as a design that enabled all image quality tests to be conducted with minimal modification or switching out of components. Foam walls with a black exterior were used to block ambient light, and a white interior was chosen to enable uniform illumination of optical targets. Overhangs and interlocking joints were added between walls to ensure that testing conditions remained constant regardless of external lighting conditions. The position of the LEDs was systematically tested to ensure their placement yielded consistent and even light exposure for all target positions within the chamber. Equivalency was then tested between the PTC and the OBS. Costs were decreased by replacing glass targets with paper or plastic targets, and demonstrating equivalence. Previously, the image quality targets were analyzed through a time-consuming manual method (in ImageJ) or through expensive image quality analysis software (Imatest). To decrease the time and cost of image quality testing analysis, MATLAB apps were developed and validated to enable rapid, semi-automated analysis of various imaging targets. 2.Methods2.1.Portable Testing Chamber DesignThe overall design of our PTC, as seen in Fig. 1, includes a rectangular enclosure consisting of white foam boards coated with black cardstock and joined by 3D-printed interlocking frames. The white foam boards were chosen to increase light scattering within the PTC and achieve uniform illumination of the optical targets.18 A thick layer of black cardstock was adhered to the outward-facing side of the boards, and interlocking frames were added to eliminate ambient light leakage inside the PTC and ensure that the testing conditions remained consistent. The base was a aluminum optical breadboard plate (Newport Corporation, Irvine, United States) with three sliding rails where two 9-in. rails (Thorlabs, RLA1800, Newton, United States) were used for target holder movements in the -direction, and one 6-in. sliding rail (Thorlabs, RLA0600) was affixed on top of the 9-in. rails to allow for -direction movements. A rail slider post holder (Thorlabs, RC1) was used as the target holder base, and various optical targets were secured in place via another target holder (Thorlabs, TRA3). The laparoscope entered the PTC through a slit that was lined with a brush (Tambee, New York, United States) to reduce any ambient light penetration. Similar to the target, the laparoscope rested on a 6-in. rail for movement in the -direction and was secured with a clamp mount (Novoflex, UNIKLEM-42, Kolkata, India). Finally, the targets in the PTC were illuminated via two LED arrays (Uizyfit, Shenzhen, China) magnetically attached to the top. Fig. 1Diagram of the portable testing chamber (PTC). (a) Closed configuration of the PTC. The components included (1) black cardstock exterior wall, (2) 3D-printed interlocking frames, (3) a brush slit through which the KeyScope is inserted, (4) KeyScope holder attached to a rail slider, and (5) sliding rails. The red circle highlights an interlocking joint for the 3D-printed frame to reduce light penetration. (b) Open configuration of the PTC. The components included (6) two LED arrays, (7) a white foam interior wall, and (8) a target holder affixed to sliding rails. White arrows indicate the possible direction of movement on the sliding rails. ![]() 2.2.Uniform Illumination of Testing TargetsTo determine the optimal lighting arrangement, various LED positions were tested throughout the PTC [Fig. 2(a)]. The objective was to find the position that provided the most uniform lighting and most closely matched the lux values measured in the OBS, which was . For each LED position, the lux was measured from six target positions with a lux meter (Voltcraft, LX-1108) [Fig. 2(b)]. The front adjacent configuration provided the lux value closest to the OBS while simultaneously providing the most uniform lighting (as evidenced by the smallest standard deviation), which justified our choice to place the LEDs in the front adjacent position of the PTC [Fig. 2(c)]. Fig. 2Methods to assess various LED array positions. (a) Different LED array positions on the ceiling of the PTC. LED positions included horizontal separate, vertical separate, back adjacent, and front adjacent. (b) Lux meter positions to measure illumination within the PTC. The lux meter was placed in the target holder, and the lux generated from each LED array configuration in panel (a) was measured at each target position in panel (b). Possible target positions included left-back, center-back, right-back, left-front, center-front, and right-front. (c) LED position assessment. The average lux values obtained across lux meter positions, as seen in panel (b), within the PTC for each LED array position. The front adjacent displayed the lux that best matched optical bench lux values, as indicated in the figure with a dotted line. Error bars indicate standard deviation for a sample size of . ![]() 2.3.Portable Testing Chamber ValidationTo validate the design of the PTC, we compared its performance with our standard OBS. The standard OBS setup has been previously described in detail.13 Briefly, it contains an -axis translation stage, a -axis translation stage, collimated white LED sources placed at 20 deg to 40 deg relative to the KeyScope for uniform illumination (per ISO 12233:2017 guidelines), a v-mount clamp for holding the tested device, and a dovetail sliding rail for coarse -axis adjustment. Images of various test targets were acquired with our latest generation KeyScope in both the OBS and PTC as described below.15 2.3.1.ResolutionImages of a USAF 1951 resolution target (Thorlabs, R2L2S4P) were captured with our latest generation KeyScope in both the OBS and PTC at working distances ranging from 3 to 10 cm (the range of working distances commonly used during laparoscopy).13 The smallest discernible line width the camera can resolve was determined with the open-source software, ImageJ (University of Wisconsin – Madison), as illustrated in Fig. S1 in the Supplementary Material. A line was drawn through each element of a group, and the pixel values were plotted using the “plot profile” function in ImageJ. If the ratio of the peak (white pixels) to trough (black pixels) fell below 2:1, then that element number was considered the limit of resolution. 2.3.2.Color accuracyColor accuracy measurements in each setup were determined by imaging the RezChecker target (Imatest, CO) and quantifying the color accuracy using Imatest software (Imatest Master, 2022, Imatest). The difference between reference color space values and measured color space values from the images was calculated using the Euclidean distance equation. The resulting color error, , accounted for luminance in the calculation, as seen in Eq. (1) : where is the difference in luminance between the reference and measured data, and and are the color-opponent dimensions. color error, which does not account for luminance, was also calculated via Eq. (2)2.3.3.DistortionThe radial lens distortion of the KeyScope was assessed by imaging the SFRplus geometric distortion target (Applied Image, QI-SFR15-P-CG) in the OBS and PTC. The images were analyzed using Imatest, which calculates the percentage of distortion using the standard mobile imaging architecture (SMIA) TV distortion equations where and are the outer side lengths of a square, whereas is the distance between the midpoints of the sides of the square. Equation (4) gives the average side lengths of the square (Fig. 3), whereas Eq. (3) gives the overall percentage of distortion.2.3.4.Depth of fieldTo complete the DOF analysis, we captured a series of images of the DOF target (Edmund Optics, 54-440, Barrington, United States) using the latest KeyScope at a working distance of 3 cm. Figure S2 in the Supplementary Material illustrates the manual calculation process. To manually calculate DOF, users upload the image to the ImageJ software and draw a vertical line along the horizontal lines on the right-hand side of the target, which has five-line pairs per millimeter. An intensity profile is generated using the “plot profile” function in ImageJ. The difference between the first full peak (white pixels) and trough (black pixels) is measured and accounted for as the initial value. The failure point is determined when the difference between a peak and subsequent trough falls below half of the initial value. The number of peaks between the start and the failure point is divided by 5 to obtain the DOF in millimeters. 2.4.Validation of Low-Cost TargetsBecause standard image quality test targets can be costly, more affordable paper or plastic alternatives were obtained and compared to glass targets. Each new paper/plastic target was imaged with the KeyScope in the PTC and compared to the results of the glass target. The paper resolution chart selected was the 1951 USAF target pocket size (Edmund Optics, 38-710). This target displays the same resolution line pairs as the glass target but is printed on paper, significantly reducing the cost from $200 to $9 [Figs. 4(a), 4(b)]. The ColorChecker Classic Mini (Calibrite, DE) was selected as our new color accuracy paper target due to its cardstock material, which reduced the price compared to the RezChecker target from $380 to $74 [Figs. 4(c), 4(d)]. For the distortion target, a printed grid previously developed by Wang et al.19 was used to replace the SFRplus distortion target [Figs. 4(e), 4(f)]. A 3D printing of the target greatly reduced the cost from $540 to <$1 (the cost of the 3D printing filament). Fig. 4Glass versus paper image quality targets. (a) Glass USAF 1951 resolution target (Thorlabs, R2L2S4P). (b) 1951 USAF target pocket size (Edmund Optics, 38-710). (c) RezChecker target (Imatest, CO). (d) The ColorChecker Classic Mini (Calibrite, DE). (e) SFRplus geometric distortion target (Imatest, CO). (f) A 3D-printed grid target. ![]() 2.5.Development of Image Analysis CodeTo reduce both the time spent on manual image analysis with ImageJ and money spent on image analysis with Imatest, we developed semi-automated MATLAB applications (apps) for resolution, DOF, color accuracy, and distortion measurements. MATLAB was selected due to the ease of app development, team familiarity, and access, which enabled efficient training and dissemination of apps to international collaborators. To validate our MATLAB apps, results were compared with the previous results obtained with ImageJ or Imatest. Specifically, five different users analyzed the same set of target images using both the ImageJ or Imatest method and the semi-automated MATLAB apps. The times to complete each analysis were also recorded. A more detailed explanation of the calculations and code is included in the Supplementary Material. 2.5.1.Resolution analysis codeAs described in the resolution methods above, ImageJ was used to analyze resolution target images. To increase the efficiency of this analysis, we designed a MATLAB code to automatically replicate these steps and provide the user with the lowest passing group and element and the limit of resolution in microns. The code follows the calculations seen in Fig. S1 in the Supplementary Material. To utilize the code, a user draws a line through an entire group on the resolution chart; the code will then tell the user which elements passed or failed the resolution analysis and provide the overall limit of resolution as seen in Fig. 5. It does so by plotting an intensity profile graph, identifying the intensity values of the peaks and troughs of each resolution line pair element, and then calculating if the element’s minimum intensity value is less than twice the value of the highest peak. The code identifies the smallest resolvable element and displays it to the user. 2.5.2.Depth of field analysis codeThe DOF image analysis process in ImageJ was replicated in our MATLAB app to increase analysis efficiency. Our semi-automated app (displayed in Fig. S3 in the Supplementary Material) requires the user to draw the line on the DOF target image, with the algorithm performing all subsequent calculations (described in Fig. S2 in the Supplementary Material). Once the user draws the line, an intensity plot is generated, similar to the “plot profile” function in ImageJ. The code calculates the range difference between the first peak and first trough, divides it by half, and assigns it as the range check variable. The code then iterates through all subsequent peak and trough ranges until the difference between the peak and adjacent trough is less than half of the range check. Once that failure point is found, the algorithm ensures that the following twenty iterations are also below the official range check to ensure a downward trend is followed; this eliminates any possible anomalies. Once that failure point is validated, the algorithm counts the number of peaks and divides by 5 to get the DOF in millimeters and displays this value. The semi-automated MATLAB app eliminates the need for users to do steps 3 to 5 in Fig. S2 in the Supplementary Material by hand. 2.5.3.Color accuracy analysis codeOur MATLAB app for color analysis, shown in Fig. S4 in the Supplementary Material, calculates the color accuracy in the same manner as Imatest. Specifically, it determines the absolute color differences by calculating the absolute color difference [Eq. (1)] and absolute chroma difference [Eq. (2)]. In addition to calculating the absolute color difference and absolute chroma difference, the app, similar to Imatest, shows the difference between the reference color and the input color from the image. This allows the users to visualize the color difference. 2.5.4.Distortion analysis codeOur semi-automated distortion MATLAB app, seen in Fig. S5 in the Supplementary Material, calculates the distortion similarly to Imatest through the SMIA TV distortion Eq. (2). The user selects the left-most, right-most, and middle points of the grid target image on the top and bottom grid lines. The code calculates , , and by finding the number of pixels between the top left endpoint and bottom left endpoint (), the top middle endpoint and bottom middle endpoint (), and the top right endpoint and bottom right endpoint (). The algorithm averages the distance of and to get . Finally, the code inputs variables and into the SMIA TV distortion Eq. (2) and displays this value to the user. 3.Results3.1.Portable Testing Chamber ValidationTo validate the PTC, images of the resolution, color accuracy, distortion, and DOF targets were acquired with the KeyScope in both the PTC and OBS to enable side-by-side comparison [Fig. 6(a)]. The limit of resolution measured from the resolution target was comparable between the PTC and OBS at all working distances except for 3 and 10 cm, where the PTC yielded improved resolution [Fig. 6(b)]. In addition, the PTC yielded lower color errors [Fig. 6(c)]. Minimal differences were observed between the PTC and OBS for distortion and DOF values [Figs. 6(d)–6(e)]. All image quality metrics measured in the PTC were either similar or showed slight improvements compared with the OBS. Fig. 6Image quality testing in the OBS vs the PTC. (a) Representative images of the glass USAF 1951 resolution target, glass RezChecker target, glass SFRplus target, and the DOF 5-15 target taken by the KeyScope in the OBS and PTC. (b) The limit of resolution was quantified in ImageJ and was comparable between the OBS and PTC across working distances of 4 to 7 cm. A lower limit of resolution was observed for the PTC at a working distance of 3 and 10 cm. (c) The percent color error was quantified using Imatest software. The and values were lower in the PTC. (d) The % SMIA TV distortion was assessed using Imatest software. There was a minimal difference between the distortion measured in the OBS versus the PTC. (E) DOF was measured in ImageJ. There was a minimal difference in DOF measured in the OBS and PTC. for all groups. Errors bars indicate standard deviation. ![]() 3.2.Validation of Low-Cost Test TargetsTo further improve the accessibility of our PTC design, we sought to replace the expensive and fragile glass targets with low-cost, durable paper or plastic alternatives. These low-cost targets were validated by comparing results to the standard glass targets (Fig. 7). The laminated paper USAF 1951 resolution target exhibited lower resolution at all working distances, but followed a similar pattern throughout each working distance as the glass target [Fig. 7(a)]. The color accuracy target displayed a slightly lower and a marginally higher for the paper target compared to the glass target [Fig. 7(b)]. The plastic grid target displayed lower distortion than the glass SFRplus target [Fig. 7(c)]. Finally, repeatable image quality results were obtained from representative paper targets over a year-long period (Fig. S6 in the Supplementary Material), suggesting paper target alternatives are durable. Fig. 7Image quality testing with glass targets versus paper targets in the PTC. (a) Resolution was measured through images of the glass and laminated paper USAF 1951 resolution target at working distances of 3 to 10 cm. The paper target displayed a slightly lower resolution at each working distance. (b) Color accuracy was assessed in the PTC using the RezChecker and paper Color Checker target. The percent error of and was quantified using Imatest software. The and values measured with the paper target were lower than the glass target. (c) Barrel distortion was assessed using the glass SFRplus target and the paper grid target in the PTC. The % SMIA TV distortion was assessed using Imatest software for both targets. The grid target resulted in lower distortion values than the SFRplus target. for all groups. Error bars indicate standard deviation. ![]() 3.3.Validation of Semi-Automated Image Analysis CodeFive users assessed our distortion and color error MATLAB apps to verify that they produced comparable values to Imatest software. For the distortion analysis, the average of all 20 trials (five users, images each) was for the Imatest analysis and for the MATLAB app [Fig. 8(a)]. In addition, the MATLAB code resulted in similar color error values to the Imatest analysis [Fig. 8(b)]. Fig. 8Imatest software versus semi-automated MATLAB app for measuring distortion and color accuracy. (a) Color accuracy data from Imatest and the MATLAB app is similar for and . (b) Distortion analysis from Imatest and the MATLAB app was comparable. Error bars indicate the standard deviation of 5 total users who each analyzed images. ![]() Five users also tested our resolution and DOF MATLAB apps to compare with values calculated via manual ImageJ analysis methods, which is time-consuming and subject to user error. For the DOF analysis, the average of all 20 trials (five users, images each) was for the manual ImageJ analysis and for the MATLAB app [Fig. 9(b)]. Similarly, the resolution analysis between ImageJ and our MATLAB app was comparable across all working distances [Fig. 9(a)]. The time required for manual ImageJ versus our MATLAB app analysis was also measured for both DOF and resolution. The average time for manual analysis for DOF was 4 min 45 s compared with 11 s for the semi-automated app, which is a 96% time reduction [Fig. 9(d)]. Fig. 9Manual analysis of the DOF and resolution with ImageJ versus semi-automated MATLAB app. (a) Resolution measured with manual ImageJ method versus MATLAB app. (b) DOF measured with manual ImageJ method versus MATLAB app comparison. (c) Average time for manual resolution analysis using ImageJ versus the MATLAB app. (d) Average time for manual DOF analysis using ImageJ versus the MATLAB app. App increased efficiency. Error bars indicate the standard deviation of five total users who each analyzed images. ![]() Similarly, a 50% reduction in resolution analysis time was observed when using the MATLAB app compared to manual ImageJ analysis [Fig. 9(c)]. 4.DiscussionTo enable the testing of our low-cost laparoscope, we designed a PTC suitable for LMIC environments. The process of camera quality testing is typically very costly, starting with an OBS, consisting of an optical table, target holder components, and lighting. Glass image quality targets are expensive and image quality analysis software is costly and time-consuming. Here, we designed this process to be more simplistic, cost-efficient, and space-efficient by developing the PTC, validating low-cost targets, and developing automated MATLAB apps. Key requirements were carefully considered in the design of the PTC, including optical target orientation and lighting.20 For target positioning, the target should be centered in the camera’s field of view, and the target should be oriented such that the horizontal and vertical edges are parallel to the edge of the camera frame line. The PTC target and KeyScope holders were designed to accommodate simple user adjustments to ensure the proper alignment of the optical targets relative to the KeyScope (Fig. 1). In terms of lighting, we selected the LED position that achieved the most uniform lighting and most closely matched the lux values measured in the OBS (). The lighting requirement specified by ISO12233-2024 is to achieve a difference in brightness from the center to the edge of the target.20 With the placement of our LEDs on the top front, any target position within the PTC resulted in lux values with deviation (Fig. 2), indicating that any illumination deviation is within regulatory standards. In addition to achieving internal lighting uniformity, the design of the PTC blocks out ambient lighting, which reduces variability. These parameters allow for a testing setup that achieves consistent lighting across different users and environments. To validate the PTC, measurement of four image quality metrics (resolution, color accuracy, distortion, and DOF) were acquired with the KeyScope in the OBS and PTC and then compared. Overall, the PTC achieved similar or improved image quality results compared with the OBS (Fig. 6). The distortion and DOF results were comparable between the PTC and OBS, indicating similar ranges of values were obtained. In addition, the KeyScope limit of resolution results were comparable between the OBS and PTC for central working distances of 4 to 7 cm; however, the PTC displayed a lower limit of resolution at 3 and 10 cm, which is likely due to the improved lighting uniformity of the PTC. Finally, the PTC resulted in lower color errors compared with the OBS, most likely due to the difference in LED color temperature, as the color temperature can create a hue on the color target, impacting the perception of each reference color space.21 The PTC LEDs have a temperature of 6500 K, whereas the OBS LEDs have a temperature of 4900 K, both of which comply with regulatory light temperatures for color accuracy measurement, 5700 K ± 1000 K (ISO/TS 17321-4:2022).22 In addition, the PTC was enclosed eliminating any impact of ambient lighting on the perception of the color target (in contrast to the OBS). Further, a color temperature of 6500 K recapitulated daylight, which is considered ideal for color reproduction accuracy.23 Taken together, the PTC performed comparably or better with the OBS, confirming that the necessary image quality testing for the manufacture of the KeyScope can be performed successfully in the PTC. We then set to decrease the cost of image quality analysis targets and found that the low-cost paper targets were comparable with the standard glass targets (Fig. 7). The paper resolution target displayed a lower resolution limit for working distances of 3 and 10 cm compared with the glass resolution target. Although there are differences at each working distance, the overall trends (i.e., a decrease in the limit of resolution from 3 to 4 cm working distances and then a gradual increase in the limit of resolution from 4 to 10 cm working distances) were comparable between the paper and glass targets, suggesting the potential application of the paper resolution target for manufacturing validation. The low-cost paper color target displayed lower color error than the RezChecker target. This difference is likely due to the different materials in the two targets (plastic versus cardboard), creating differences in the images captured with the KeyScope.24 Similarly, the number of reference colors differed between the two targets, with 18 color reference squares and 12 white balance squares in the RezChecker and 18 color space values and 6 white balance squares for the low-cost color target. This may lead to differences in the final average color error calculated from each target.25 The final paper target that we assessed was the distortion target. The quantification of this metric is less established, with multiple options approved through regulation and literature, such as the SRFplus target, dot target, and grid target.19 Although the SFRplus and grid targets result in different SMIA TV distortion values for the KeyScope, this difference may be due to how the calculation was performed on the differing patterns. The grid target quantified through SMIA TV distortion complied with ISO 9039,26 which motivates the choice of target, as it creates a simple platform to design a MATLAB app to quantify the results. Each of these low-cost cardboard or paper targets replaced the standard fragile glass targets. One possible concern of exchanging glass for paper material may be the aging of these targets; however, the image quality analysis results were repeatable over the span of a year, indicating paper targets are durable (Fig. S6 in the Supplementary Material). Furthermore, due to the fragile nature of glass, glass targets will likely require replacement as well, especially if dropped or mishandled. Ultimately, comparisons of these low-cost targets to the validated glass targets provide us with information on the expected KeyScope image quality outcomes for low-cost targets, providing a standard value for comparison when assessing the performance of KeyScopes manufactured in the future. The previous analysis of the image quality tests utilized both ImageJ and Imatest software, which both have distinct disadvantages for manufacturing in LMICs. Resolution and DOF were analyzed through ImageJ, which required manual calculations from image intensity profiles. The manual calculations were time-consuming and led to higher inter-user variability due to the tedious nature of the calculations, which is not ideal for manufacturing KeyScope units. With the creation of semi-automated MATLAB apps, both the duration of image analysis and the inter-user variability (which is reflected in the standard deviation) decreased (Fig. 8). Color accuracy and distortion tests were analyzed with Imatest, which is an expensive software that may be inaccessible in LMICs. Thus, MATLAB apps were created to analyze color accuracy and distortion to reduce the cost of image analysis. Although there were slightly lower means calculated through our MATLAB apps than the manual image analysis for DOF and resolution, this may be partially attributed to the low standard deviation produced by the apps (Figs. 8 and 9). Further, DOF and resolution analysis require an intensity plot generation; however, ImageJ and MATLAB employ different underlying codes to provide this plot, causing inherent differences in the data produced.27,28 In addition, the MATLAB apps were created with a user-friendly GUI that provides directions for performing the analysis, thus creating an efficient image quality analysis process. Opportunities for future work were identified to enable simplified quality assurance testing of the KeyScope. This includes creating optical target holders that allow for simple swapping between each image quality test target. Further, our current KeyScope is designed with a 0-deg view; however, 30-deg laparoscopes are commonly used depending on the location of the surgical field. Thus, in the future, the PTC will be modified to accommodate the 30-deg configuration. Specifically, a 30-deg spout will be incorporated into the PTC to efficiently position the camera sensor parallel to the targets. In addition, future work will include developing a low-cost, 3D-printed DOF target, as there are currently none commercially available. Further, each MATLAB analysis app was only tested with target images captured with the KeyScope. To ensure complete accuracy of the results, each app will be tested with images from different cameras, such as a commercial laparoscopic camera system. Finally, MATLAB apps will be transferred to an open-source Python or a web-based app to further increase accessibility and reduce the cost of performing image analysis. This could also enable the improvement of our image analysis algorithms via machine learning approaches once a larger data set is obtained. 5.ConclusionThe PTC enabled reliable image quality target testing of our low-cost KeyScope laparoscope. The PTC is preferable over a standard OBS setup for our application due to the low cost, portability, and lighting uniformity for consistent image quality measurements. Low-cost image quality test targets were validated against standard glass targets to quantify KeyScope performance. Finally, to automate image quality test analysis, semi-automated MATLAB apps were created to analyze the images, reducing the need for expensive software or time-consuming analysis methods. Overall, the PTC, low-cost targets, and automated MATLAB apps will reduce the cost, time, and complexity of KeyScope image quality validation and enable manufacturing in LMICs. DisclosuresDr. Mueller works with Calla Health Foundation from which she may benefit financially. Drs. Fitzgerald and Mueller have patent applications pending for laparoscopic technology. Code and Data AvailabilityThe data generated in this study are available through GitHub: https://github.com/abarnes9/Image-Quality-Analysis-Apps. AcknowledgmentsThis study was funded by the National Institutes of Health (Grant Nos. R21CA249696 and U01CA269190), University of Maryland Ventures (Medical Device Development Fund), and Bass Connections at Duke University. This paper is dedicated to the memory of Julius Mugaga, a talented engineer and colleague who is greatly missed by our team. ReferencesH. S. Himal,
“Minimally invasive (laparoscopic) surgery,”
Surg. Endosc. Interv. Tech., 16
(12), 1647
–1652 https://doi.org/10.1007/s00464-001-8275-7
(2002).
Google Scholar
R. Garry,
“Laparoscopic surgery,”
Best Pract. Res. Clin. Obstet. Gynaecol., 20
(1), 89
–104 https://doi.org/10.1016/j.bpobgyn.2005.10.003
(2006).
Google Scholar
L. Boni et al.,
“Infective complications in laparoscopic surgery,”
Surg. Infect., 7
(Suppl 2), S109
–S111 https://doi.org/10.1089/sur.2006.7.s2-109
(2006).
Google Scholar
M. J. Mukagendaneza et al.,
“Incidence, root causes, and outcomes of surgical site infections in a tertiary care hospital in Rwanda: a prospective observational cohort study,”
Patient Saf. Surg., 13 10 https://doi.org/10.1186/s13037-019-0190-8
(2019).
Google Scholar
E. Wilkinson et al.,
“Barriers to training in laparoscopic surgery in low- and middle-income countries: a systematic review,”
Trop. Doct., 51
(3), 408
–414 https://doi.org/10.1177/0049475521998186 TPDCAV 0049-4755
(2021).
Google Scholar
Y. Vellani et al.,
“Evaluation of laparoscopic appendectomy vs. open appendectomy: a retrospective study at Aga Khan University Hospital, Karachi, Pakistan,”
J. Pak. Med. Assoc., 59
(9), 605
–608
(2009).
Google Scholar
I. S. Mir et al.,
“Is laparoscospic orchidectomy the treatment of choice in adults with impalpable testis in rural hospitals in the developing world?,”
Trop. Doct., 39
(1), 12
–15 https://doi.org/10.1258/td.2008.080195 TPDCAV 0049-4755
(2009).
Google Scholar
H. S. Sood et al.,
“Robotic telemanipulating surgical systems for laparoscopy: the story so far in the UK,”
Expert Rev. Med. Devices, 7
(6), 745
–752 https://doi.org/10.1586/erd.10.65 1743-4440
(2010).
Google Scholar
R. M. Higgins et al.,
“Cost analysis of robotic versus laparoscopic general surgery procedures,”
Surg. Endosc., 31
(1), 185
–192 https://doi.org/10.1007/s00464-016-4954-2
(2017).
Google Scholar
A. Murray et al.,
“Clinical effectiveness and cost-effectiveness of laparoscopic surgery for colorectal cancer: systematic reviews and economic evaluation,”
Health Technol. Assess. Winch. Engl., 10
(45), 1
–141 https://doi.org/10.3310/hta10450
(2006).
Google Scholar
J. A. Forrester et al.,
“Impact of surgical lighting on intraoperative safety in low-resource settings: a cross-sectional survey of surgical providers,”
World J. Surg., 41
(12), 3055
–3065 https://doi.org/10.1007/s00268-017-4293-z WJSUDI 0364-2313
(2017).
Google Scholar
D. Pizzol et al.,
“Laparoscopy in low-income countries: 10-year experience and systematic literature review,”
Int. J. Environ. Res. Public Health, 18
(11), 5796 https://doi.org/10.3390/ijerph18115796
(2021).
Google Scholar
J. L. Mueller et al.,
“An accessible laparoscope for surgery in low- and middle-income countries,”
Ann. Biomed. Eng., 49
(7), 1657
–1669 https://doi.org/10.1007/s10439-020-02707-6 ABMECF 0090-6964
(2021).
Google Scholar
D. Robertson et al.,
“Assessment of laparoscopic instrument reprocessing in rural India: a mixed methods study,”
Antimicrob. Resist. Infect. Control, 10
(1), 109 https://doi.org/10.1186/s13756-021-00976-x
(2021).
Google Scholar
A. Barnes et al.,
“Improving the performance and design of a low-cost laparoscope to enable laparoscopic surgery in low-income countries,”
Biophoton. Discovery, 2
(2), 022302 https://doi.org/10.1117/1.BIOS.2.2.022302
(2025).
Google Scholar
N. E. Farrow et al.,
“Laparoscopic experience and attitudes toward a low-cost laparoscopic system among surgeons in East, Central, and Southern Africa: a survey study,”
Surg. Endosc., 35
(12), 6539
–6548 https://doi.org/10.1007/s00464-020-08151-w
(2021).
Google Scholar
S. Barter et al.,
“Evaluation of safety and feasibility of a low-cost laparoscope in a porcine model,”
(2024). Google Scholar
“Getting started with image quality testing | Imatest,”
https://www.imatest.com/docs/getting-started/ Google Scholar
Q. Wang et al.,
“Development of the local magnification method for quantitative evaluation of endoscope geometric distortion,”
J. Biomed. Opt., 21
(5), 056003 https://doi.org/10.1117/1.JBO.21.5.056003 JBOPFO 1083-3668
(2016).
Google Scholar
G. Ochoa-López, M. Revilla-León and M. Gómez-Polo,
“Impact of color temperature and illuminance of ambient light conditions on the accuracy of complete-arch digital implant scans,”
Clin. Oral Implants Res., 35
(8), 898
–905 https://doi.org/10.1111/clr.14220
(2024).
Google Scholar
“ISO/TS 17321-4:2016(en), Graphic technology and photography—colour characterization of digital still cameras (DSCs)—Part 4: programmable light emission system,”
https://www.iso.org/obp/ui/#iso:std:iso:ts:17321:-4:ed-1:v1:en Google Scholar
R. M. Soneira,
“Display color gamuts: NTSC to Rec.2020,”
Information Display, 32
(4), 26
–31 https://doi.org/10.1002/j.2637-496X.2016.tb00920.x INFDAB 0020-0042
(2016).
Google Scholar
S. Agate et al.,
“Polymer color intelligence: effect of materials, instruments, and measurement techniques–a review,”
ACS Omega, 8
(26), 23257
–23270 https://doi.org/10.1021/acsomega.2c08252
(2023).
Google Scholar
“Color correction matrix (CCM) | Imatest,”
https://www.imatest.com/docs/colormatrix/ Google Scholar
“Intensity profile of images - MATLAB & Simulink,”
https://www.mathworks.com/help/images/intensity-profile-of-images.html Google Scholar
“ImageJ/ij/gui/ProfilePlot.java at master imagej/ImageJ,”
https://github.com/imagej/ImageJ/blob/master/ij/gui/ProfilePlot.java Google Scholar
BiographyAnne Christine Barnes is a PhD student in the Fischell Department of Bioengineering at the University of Maryland College Park working to best develop low-cost laparoscopes for use in LMICs. She holds a BS degree in bioengineering from the University of Maryland College Park. Paula Kworekwa is a junior research fellow in the Biomedical Engineering Department at Makerere University, Uganda. She holds a bachelor’s degree in Biomedical Engineering from Makerere University. Her research focuses on leveraging frugal science principles to design, develop, and translate innovative global health technologies, with a particular emphasis on improving healthcare accessibility in resource-limited settings. Robert Ssekitoleko, EngD, is head of biomedical engineering at the College of Health Sciences, Makerere University in Uganda. He holds his MS degree in medical engineering from Queen Mary University of London, UK and an Engineering Doctorate in biomedical engineering from the University of Strathclyde, Glasgow, UK. His research interest is in Global Health Technologies aimed at increasing access to effective, affordable medical devices that can improve health in low- and middle-income countries. Tamara N. Fitzgerald, MD, PhD, FACS, FAAP, is an associate professor in the Division of Pediatric Surgery at Duke University. Her academic focus is global surgery capacity building and medical device design for low- and middle-income countries. She works in partnership with pediatric surgeons in sub-Saharan Africa to increase training and support for surgeons, thereby improving children’s access to surgical care. She received her BS and PhD degrees in biomedical engineering and her MD from Boston University. She completed a general surgery residency and fellowship in pediatric surgery at Yale-New Haven Hospital. Jenna L. Mueller is an assistant professor in the Fischell Department of Bioengineering at the University of Maryland College Park and in the Department of OB-GYN and Reproductive Science at the University of Maryland School of Medicine. She received her bachelor’s degree in bioengineering with a minor in global health technologies from Rice University and received both an MS and PhD degrees in biomedical engineering at Duke University for her work developing optical systems and algorithms to improve the accuracy of cancer excision during surgery. Her lab combines optical imaging, image processing, ablative therapies, and human-centered design to develop biomedical devices to solve challenges in global cancer. |
MATLAB
Distortion
Image quality
Image analysis
Laparoscopy
Image resolution
Glasses