Real-world lighting often consists of multiple illuminants with different spectra. Separating and manipulating these illuminants in post-process is a challenging problem that requires either significant manual input or calibrated scene geometry and lighting. In this work, we leverage a flash/no-flash image pair to analyze and edit scene illuminants based on their spectral differences. We derive a novel physics-based relationship between color variations in the observed flash/no-flash intensities and the spectra and surface shading corresponding to individual scene illuminants. Our technique uses this constraint to automatically separate an image into constituent images lit by each illuminant. This separation can be used to support applications like white balancing, lighting editing, and RGB photometric stereo, where we demonstrate results that outperform state-of-the-art techniques on a wide range of images.
more »
« less
Color Saturation: Upper and Lower Percentage Histogram Manipulation
There are various color correction techniques that can be applied to digital photographs to account for environmental lighting variations. This manuscript contains a proposed method for such color correction. The method involves saturating an image by a specified percentage of its pixels via upper and lower percentage histogram manipulation using the image’s RGB histograms. Variations of this new technique, the white balance (WB) correction method, and a multivariable fit are used to test its performance against common color correction techniques. The findings demonstrate that the upper and lower percentage histogram manipulation method is not only more applicable to photos because it doesn’t require calibration regions to be sampled but it is also more consistent in its correction of photos when there are substantial gray scale features (e.g. a black and white grid or text). Our motivation for testing these techniques is to find the most robust color correction technique that is broadly applicable (not requiring a color checker chart) and is consistent across different lighting. KEYWORDS: Color Correction; Histogram Manipulation; Saturation; White Balance; Scientific Image Analysis; Color Comparisons; Euclidean Distance; Standard Deviation; Color Difference
more »
« less
- Award ID(s):
- 1916850
- PAR ID:
- 10468476
- Editor(s):
- Bendinskas, Kestutis; Contento, Tony; Newell, Peter
- Publisher / Repository:
- American Journal of Undergraduate research
- Date Published:
- Journal Name:
- American Journal of Undergraduate Research
- Edition / Version:
- 1
- Volume:
- 20
- Issue:
- 1
- ISSN:
- 1536-4585
- Page Range / eLocation ID:
- 59 to 76
- Subject(s) / Keyword(s):
- Color Correction Histogram Manipulation Saturation White Balance Scientific Image Analysis Color Comparisons Euclidean Distance Standard Deviation Color Difference
- Format(s):
- Medium: X Other: pdf
- Sponsoring Org:
- National Science Foundation
More Like this
-
-
de Bruijne, M. (Ed.)Spatial transcriptomics techniques such as STARmap [15] enable the subcellular detection of RNA transcripts within complex tissue sections. The data from these techniques are impacted by optical microscopy limitations, such as shading or vignetting effects from uneven illumination during image capture. Downstream analysis of these sparse spatially resolved transcripts is dependent upon the correction of these artefacts. This paper introduces a novel non-parametric vignetting correction tool for spatial transcriptomic images, which estimates the illumination field and background using an efficient iterative sliced histogram normalization routine. We show that our method outperforms the state-of-the-art shading correction techniques both in terms of illumination and background field estimation and requires fewer input images to perform the estimation adequately. We further demonstrate an important downstream application of our technique, showing that spatial transcriptomic volumes corrected by our method yield a higher and more uniform gene expression spot-calling in the rodent hippocampus. Python code and a demo file to reproduce our results are provided in the supplementary material and at this github page: https://github.com/BoveyRao/Non-parametric-vc-for-sparse-st.more » « less
-
Lighting consumes 10% of the global electricity. White laser lighting, utilizing either direct color mixing or phosphor-conversion, can potentially boost the efficiency well beyond existing light emitting diodes (LEDs) especially at high current density. Here we present a compact, universal packaging platform for both laser lighting schemes, which is simultaneously scalable to wavelength division multiplexing for visible light communication. Using commercially available laser diodes and optical components, low-speckle contrast ≤ 5% and uniform illumination is achieved by multi-stage scattering and photon recycling through a mixing rod and static diffusers in a truncated-pyramidal reflective cavity. We demonstrate a high luminous efficacy of 274 lm/Wofor phosphor-converted laser lighting and 150 lm/Wofor direct red-green-blue laser mixing, respectively, in reference to the input optical power. In the former case, the luminous efficacy achieved for practical lighting is even higher than most of the previous reports measured using integrating spheres. In the latter case of direct laser color mixing, to our best knowledge, this is the first time to achieve a luminous efficacy approaching their phosphor-conversion counterparts in a compact package applicable to practical lighting. With future improvement of blue laser diode efficiency and development of yellow/amber/orange laser diodes, we envision that this universal white laser package can potentially achieve a luminous efficacy > 275 lm/Wein reference to the input electrical power, ~ 1.5x higher than state-of-the-art LED lighting and exceeding the target of 249 lm/Wefor 2035.more » « less
-
In this paper, we propose a novel strep throat detection method using a smartphone with an add-on gadget. Our smartphone-based strep throat detection method is based on the use of camera and flashlight embedded in a smartphone. The proposed algorithm acquires throat image using a smartphone with a gadget, processes the acquired images using color transformation and color correction algorithms, and finally classifies streptococcal pharyngitis (or strep) throat from healthy throat using machine learning techniques. Our developed gadget was designed to minimize the reflection of light entering the camera sensor. The scope of this paper is confined to binary classification between strep and healthy throats. Specifically, we adopted k-fold validation technique for classification, which finds the best decision boundary from training and validation sets and applies the acquired best decision boundary to the test sets. Experimental results show that our proposed detection method detects strep throats with 93.75% accuracy, 88% specificity, and 87.5% sensitivity on average.more » « less
-
Abstract We propose a novel framework that combines state-of-the-art deep learning approaches with pre- and post-processing algorithms for particle detection in complex/heterogeneous backgrounds common in the manufacturing domain. Traditional methods, like size analyzers and those based on dilution, image processing, or deep learning, typically excel with homogeneous backgrounds. Yet, they often fall short in accurately detecting particles against the intricate and varied backgrounds characteristic of heterogeneous particle–substrate (HPS) interfaces in manufacturing. To address this, we've developed a flexible framework designed to detect particles in diverse environments and input types. Our modular framework hinges on model selection and AI-guided particle detection as its core, with preprocessing and postprocessing as integral components, creating a four-step process. This system is versatile, allowing for various preprocessing, AI model selections, and post-processing strategies. We demonstrate this with an entrainment-based particle delivery method, transferring various particles onto substrates that mimic the HPS interface. By altering particle and substrate properties (e.g., material type, size, roughness, shape) and process parameters (e.g., capillary number) during particle entrainment, we capture images under different ambient lighting conditions, introducing a range of HPS background complexities. In the preprocessing phase, we apply image enhancement and sharpening techniques to improve detection accuracy. Specifically, image enhancement adjusts the dynamic range and histogram, while sharpening increases contrast by combining the high pass filter output with the base image. We introduce an image classifier model (based on the type of heterogeneity), employing Transfer Learning with MobileNet as a Model Selector, to identify the most appropriate AI model (i.e., YOLO model) for analyzing each specific image, thereby enhancing detection accuracy across particle–substrate variations. Following image classification based on heterogeneity, the relevant YOLO model is employed for particle identification, with a distinct YOLO model generated for each heterogeneity type, improving overall classification performance. In the post-processing phase, domain knowledge is used to minimize false positives. Our analysis indicates that the AI-guided framework maintains consistent precision and recall across various HPS conditions, with the harmonic mean of these metrics comparable to those of individual AI model outcomes. This tool shows potential for advancing in-situ process monitoring across multiple manufacturing operations, including high-density powder-based 3D printing, powder metallurgy, extreme environment coatings, particle categorization, and semiconductor manufacturing.more » « less
An official website of the United States government

