Automated Spectral Image Measurement Software

Similar documents
Industrial Applications of Spectral Color Technology

SPECTRAL SCANNER. Recycling

Munsell Color Science Laboratory Publications Related to Art Spectral Imaging

Colour image watermarking in real life

Color and Image Characterization of a Three CCD Seven Band Spectral Camera

Visual Imaging and the Electronic Age Color Science

High Speed Hyperspectral Chemical Imaging

Hyper-spectral features applied to colour shade grading tile classification

Bettina Selig. Centre for Image Analysis. Swedish University of Agricultural Sciences Uppsala University

Colour analysis of inhomogeneous stains on textile using flatbed scanning and image analysis

Estimation of spectral response of a consumer grade digital still camera and its application for temperature measurement

technology meets pathology Institute of Pathology, Charité Universitätsmedizin Berlin, Berlin, Germany 3 Overview

CS6640 Computational Photography. 6. Color science for digital photography Steve Marschner

Basic Hyperspectral Analysis Tutorial

GUIDE TO SELECTING HYPERSPECTRAL INSTRUMENTS

Color Cameras: Three kinds of pixels

POTENTIAL OF MULTISPECTRAL TECHNIQUES FOR MEASURING COLOR IN THE AUTOMOTIVE SECTOR

MICRO SPECTRAL SCANNER

Cvision 2. António J. R. Neves João Paulo Silva Cunha. Bernardo Cunha. IEETA / Universidade de Aveiro

H34: Putting Numbers to Colour: srgb

Comparative study of spectral reflectance estimation based on broad-band imaging systems

White Paper. Reflective Color Sensing with Avago Technologies RGB Color Sensor. Reflective Sensing System Hardware Design Considerations

A simulation tool for evaluating digital camera image quality

SilverFast. Colour Management Tutorial. LaserSoft Imaging

Efficient Gonio-spectral Imaging for Diffuse Objects Based on Optical Reflectance Properties

Image Processing. Michael Kazhdan ( /657) HB Ch FvDFH Ch. 13.1

Lecture 2. Electromagnetic radiation principles. Units, image resolutions.

Multispectral. imaging device. ADVANCED LIGHT ANALYSIS by. Most accurate homogeneity MeasureMent of spectral radiance. UMasterMS1 & UMasterMS2

Resizing Images for Competition Entry

12/02/2017. From light to colour spaces. Electromagnetic spectrum. Colour. Correlated colour temperature. Black body radiation.

Assignment: Light, Cameras, and Image Formation

Operating Manual Supplement for Model ST-4000XCM

Color Measurement with the LSS-100P

EDUCATION EXPERIMENT. Determining Color Difference (Delta E) Introduction

Instruction Manual for HyperScan Spectrometer

Improving the Collection Efficiency of Raman Scattering

Spectral and Polarization Configuration Guide for MS Series 3-CCD Cameras

Performance Comparison of Spectrometers Featuring On-Axis and Off-Axis Grating Rotation

Human Vision, Color and Basic Image Processing

Sensors and Sensing Cameras and Camera Calibration

Image and video processing (EBU723U) Colour Images. Dr. Yi-Zhe Song

Calibrating the Yule Nielsen Modified Spectral Neugebauer Model with Ink Spreading Curves Derived from Digitized RGB Calibration Patch Images

For a long time I limited myself to one color as a form of discipline. Pablo Picasso. Color Image Processing

Technical Report. Evaluating Solid State and Tungsten- Halogen Lighting for Imaging Artwork via Computer Simulation Roy S. Berns

Kigamo Scanback which fits in your view camera in place of conventional film.

Dual-FL. World's Fastest Fluorometer. Measure absorbance spectra and fluorescence simultaneously FLUORESCENCE

Method 1, Photoshop Image Image Size. Sizing Digital Images by Pixel Dimensions For Digital Competitions

Module 3 Introduction to GIS. Lecture 8 GIS data acquisition

Color Diversity Index - The effect of chromatic adaptation.

SPECTRAL IMAGE ANALYSIS FOR MEASURING RIPENESS OF TOMATOES

Using Color Appearance Models in Device-Independent Color Imaging. R. I. T Munsell Color Science Laboratory

Color. Fredo Durand Many slides by Victor Ostromoukhov. Color Vision 1

Spectral Based Color Reproduction Compatible with srgb System under Mixed Illumination Conditions for E-Commerce

In Situ Measured Spectral Radiation of Natural Objects

Confocal Raman Microscopy (WITec Alpha 300R)

basiccolor cockpit Manual

Multichannel Spectral Image Enhancement for Visualizing Diabetic Retinopathy Lesions

CHAPTER-2. Application of Video Spectral Comparator for Examination of Printed Material

Imaging Photometer and Colorimeter

A collection of hyperspectral images for imaging systems research Torbjørn Skauli a,b, Joyce Farrell *a

What Makes Push-broom Hyperspectral Imaging Advantageous for Art Applications. Timo Hyvärinen SPECIM, Spectral Imaging Ltd Oulu Finland

Multispectral imaging and image processing

Color and color constancy

WITec Alpha 300R Quick Operation Summary October 2018

Image acquisition. In both cases, the digital sensing element is one of the following: Line array Area array. Single sensor

Digital Imaging Rochester Institute of Technology

BV NNET User manual. V0.2 (Draft) Rémi Lecerf, Marie Weiss

Quantifying mixed adaptation in cross-media color reproduction

Color and Color Model. Chap. 12 Intro. to Computer Graphics, Spring 2009, Y. G. Shin

Digitization and fundamental techniques

Announcements. The appearance of colors

Prediction of Color Appearance Change of Digital Images under Different Lighting Conditions Based on Visible Spectral Data

Calibration of Leica Scanscope AT2

New LEDs improve the quality of illumination of fullcolor holograms recorded with red 660 nm, green 532 nm and blue 440 nm lasers

Multispectral Imaging

Calibration and characterization of spectral imaging systems

Instruction manual for Ocean Optics USB4000 and QE65 Pro spectroradiometers

Colour Management Workflow

Using DIAGNOSE.EXE with a ColorQuest 45/0

TIEA311 Tietokonegrafiikan perusteet kevät 2017

Color Restoration of RGBN Multispectral Filter Array Sensor Images Based on Spectral Decomposition

Aqualog. CDOM Measurements Made Easy PARTICLE CHARACTERIZATION ELEMENTAL ANALYSIS FLUORESCENCE GRATINGS & OEM SPECTROMETERS OPTICAL COMPONENTS RAMAN

Colorimetry and Color Modeling

Student Attendance Monitoring System Via Face Detection and Recognition System

Color Computer Vision Spring 2018, Lecture 15

Munsell Color Science Laboratory Technical Report. Direct Digital Imaging of Vincent van Gogh s Self-Portrait A Personal View

Luminance Adaptation Model for Increasing the Dynamic. Range of an Imaging System Based on a CCD Camera

Book Cover Recognition Project

Wavelengths and Colors. Ankit Mohan MAS.131/531 Fall 2009

Aqualog. Water Quality Measurements Made Easy FLUORESCENCE

A compact spectral camera for VIS-NIR imaging

Sunderland, NE England

Nikon D2x Simple Spectral Model for HDR Images

The only simultaneous absorbance and f uorescence system for water quality analysis! Aqualog

Observing a colour and a spectrum of light mixed by a digital projector

Measurement of Visual Resolution of Display Screens

High Resolution Spectral Video Capture & Computational Photography Xun Cao ( 曹汛 )

Multiplex Image Projection using Multi-Band Projectors

Laser Induced Fluorescence Imaging Of Thermal Damage in Polymer Composites Using LabView and IMAQ Vision

Section 2 Image quality, radiometric analysis, preprocessing

Transcription:

Automated Spectral Image Measurement Software Jukka Antikainen 1, Markku Hauta-Kasari 1, Jussi Parkkinen 1 and Timo Jaaskelainen 2 1 Department of Computer Science and Statistics, 2 Department of Physics, University of Joensuu, Finland Abstract In this paper, we describe how the line scanning based spectral colour measurement system can be automated and what benefits we can achieve with it. We introduce spectral colour measuring software which we produced for capturing spectral images. Main point of the paper is to describe, how we can automatize capturing of spectral images by using line spectral camera and multiple sample sliders. In this case, spectral camera measurement system contains one spectral camera and three sample sliders in x, y and z directions. Sample sliders can be different sizes and they can have different gear ratios. We can control spectral camera features and sample sliders options directly from graphical user interface. Introduction Colors and their accurately defined spectra are showing important factor in many industrial targets such as in quality control and recognizing product authenticity. Line scanning based spectral cameras has been used in many research and industrial targets 1,2. When we are going to make measurements, we need to use some kind of software to do that. Sometimes we can simply use spectral camera's manufacture provided software for measurements. But then, when we must measure and imagine larger objects automatically with line based spectral camera, we may need to use automated software to do that. Because spectral imaging isn't so commonly used and spectral measurement systems are typically very dissimilar, there aren't commercial programs which we can use. Thus, we need to generate own spectral measurement software for our spectral imaging system. Created software is designed to be easily implemented to another line based spectral imaging system. Software supports currently two different line scanning based spectral cameras. Used spectral camera in this paper was ImSpector V10 direct sight imaging spectrograph 1 combined with Adimec 1600m/D 1600x1200 CCD camera. Camera's spectral wavelength area is between 400nm-1000nm. Another supported spectral camera is ImSpector V8 spectrograph combined with PixelFly 230XS CCD camera which spectral wavelength range is from 380 nm to 780 nm. Spectral Imaging System Spectral imaging system is build from sample sliders and line scanning based spectral camera 3. Sample sliders forms x, y, z -table where we can move measured sample. Usually we use only x, y -directions for the measurements. Sample is illuminated with a filtered halogen lamp Spectralight III daylight simulator. Spectral camera and the light source forms 45 degrees angle to surface of the target object. Figure 1 shows spectral imaging system configuration with two sample sliders, Spectralight III illuminator and Adimec 1600m/D spectral camera. Main idea of the measurement process is that we measure one line s spectra and move the target a little bit and measure another line. This procedure continues until all wanted areas are measured. With this spectral imaging system, we can scan large objects spectra automatically. Sample size is limited only by the sample sliders sizes which are 120 cm in x, y -directions. The spectral imaging system is presented with more detail in Reference 3. The 9th International Symposium on Multispectral Colour Science and Application 195

Figure 2. Spectral camera's live preview spectra from Figure 1. Spectral imaging system. A is illuminator, B is X,Ytable and C is spectral camera. Spectral Measuring Software Measuring software is written in C++ using Microsoft Foundation Class library (MFC). MFC-library and all simultaneously parts are created by using threads. Threads provide more efficient measurements and management for the system 4. Software works currently only under Windows operating system environment. All devices are controlled by our created drivers except spectral camera is controlled by manufacture provided drivers. Figure 2 is main window from created software's graphical user interface where we can for instance live preview measured line spectra. Live previewing is multi threaded so we can use program at the same time when we are previewing the target spectra. In preview window, measured line width is presented in horizontal direction and line's spectra are presented in vertical direction. Figure 2 shows, how spectra are presented when we measure one line from printed color table. Gray levels in lower figure corresponds the intensity in 12 bits of the spectral components from 400 nm to 1000 nm in vertical direction. measured line (grey line) using A lamp. From the upper menus we can select all necessary things such camera options, sample slider options, image wavelength correction and all measurement system configuration options which are needed for the measurement process. Thus, we can easily configure spectral camera's options like integration time from the graphical user interface. Spectral camera's configuration window is presented in Figure 3. We can change spectral camera's options on the same time, when we are live previewing target's line spectra. In this way we can easily seek and configure wanted camera options for each measurement cases. Figure 3. Configuring spectral camera's options. Measuring system contains sample sliders whose without we can't measure large objects. There are different sliders with different gear ratios so we have 196 Copyright 2007

to configure each sample slider individually. If gear ratios are misconfigured, movement sizes could be wrong. Therefore, gear ratios should be correctly configured for accurate measurements. Figure 4 presents sample sliders configuration window where we can set all necessary options for each sample sliders. Sample sliders uses serial port connection whereby we can easily control them. Most important part of the program is showed in Figure 6 where all measurement options can be modified. In software, we can automatically create corrected data from measured raw data and reduce scanned image sizes. For example if we want only wavelengths from 400 nm to 1000 nm by 5 nm steps, which is still a good sampling resolution for most of cases 5. We can reduce image size to tenth part from the original raw image. Figure 4. Configuring needed sample sliders options. These options can be different for another sample sliders. We can easily change sample sliders because we can choose individual gear ratios and speed options for each of them. Therefore, the software can be easily configured to another system with different sample sliders. We can easily move sample sliders from graphical user interface and configure origin position for the sample sliders. Origin position is starting point of the measurement. Figure 5 presents dialog for controlling sample sliders directly. If we need to measure multiple samples we need to set origin only once for the measurement process, assuming that, samples are always placed at the same position. Figure 5. Configuring sample sliders positions and setting the initial position for the sliders. Figure 6. Main measurement dialog where all measurements options can be selected. Figure 6 shows what options we can use in measurement process. We can choose a size for the sample and how the sample is related to the measurement process, does the sample moving or is the spectral camera moving around the sample. Software can automatically calculate amount of movement for the sample sliders so that scanned spectral lines produces square pixels. Movement step calculation is done by dividing measured line width at the spatial resolution which is in this case 1600. Movement step is directly proportional to measured line width. If the line is wider then movement step is longer. When movement step is increased, measuring accuracy and the measuring time are decreased. Program shows, how much space measured image will take in raw format and how much space is taken when we like to make wavelength correction to the image. Software also shows how many lines its have to measure for covering whole measure area. When spectral lines are measured in correct step sizes, we can afterwards produce RGB -images from the target object. If movement value was wrong, regenerated images are stretched and if we want to The 9th International Symposium on Multispectral Colour Science and Application 197

keep original geometry of the scanned objects, they need to be modify with various pixel combination routines. If movement value is too high, we may loose important spectral information from the measured target. Figure 7 show RGB -presentation of measured color checker board. where user can afterwards make corrections to the measured data. With wavelength correction we can make multiple spectral images from the target using different wavelengths. This could be useful in some in cases were we like to make comparison between images with different wavelengths. Figure 9. Spectral image correction with selectable references and wavelengths Figure 7. Measured spectral image from color checker board converted to RGB-image. When we are making measurements, we need to measure white and black references which we can use for correcting measured data. We can shoot references with simple dialog which is showed in Figure 10. We can choose, how many repeated measurements we like to take for averaging the reference values. In this way we can reduce possibilities of noise errors. We can use this same dialog to measure both black and white references. Figure 10. Acquiring reference images which can be used for correcting measured data. Figure 8. Selected green boxes spectra from Figure 7. RGB -conversion is done by following steps: first measured spectra are converted to CIE XYZ 6 tristimulus values using D65 illumination source and after that, those values are converted to srgb values 7. As we can see, the measured spectral image looks accurate and color presentation seems to be similar compared to original image. There is option in the software s source code were we can choose which illumination we use in conversion process from spectral image to RGB - image. Figure 9 presents image correction window Wavelength correction Every pixel on the CCD camera responses one wavelength value. The correct wavelength value in current pixel depends from spectral camera's properties. If we want to use only wavelength values from 400 nm to 1000 nm by 5 nm step, we must calculate those wavelengths from raw spectral image. We can automatically select desired wavelengths λ from the measured spectral image by using second degree polynomial λ= An 2 + Bn + C (1) 198 Copyright 2007

where constants A, B and C are obtained from spectral camera's manufacturer and n is spectral camera's pixel in spectral direction. There could be situations when we can not get exact value for wanted wavelength. Therefore, we may need to interpolate wanted wavelength value from its neighbour pixel values. Used Data Format Measuring software uses simple binary format for saving the results. Binary format can be easily converted to another spectral image formats 8. Binary data contains header block and measured spectral lines. File structure S is build as follows S = [H, L 1, L 2,..., L n-1, L n ], where H is a header block and L i are measured lines. Thus, each measured files contains file header H which tells basic information of the file H = [width, height, resolution, depth], where width is spectral camera's spatial resolution multiplied by measured columns, height is measured lines count, resolution is used spectral camera's spectral resolution and depth is used spectral camera's pixel depth. If depth is 8 bit, then software use only 8 bits for each number, but if depth are 10 bit or 12 bit then we must use 16 bits for saving each pixel. After header block, file contains all measured lines L i. Saving structure for each line and their spectra are done as follows L i = [1. pixel, 2. pixel,..., d. pixel], where i is line number index and d is used spectral camera spatial resolution. Each pixel contains as many numbers of spectral values than spectral camera's have spectral resolution. Applications Created software can be used in many scientific research and industrial targets. Software was been used in many different scientific cases like wood measurements, skin color detection, art measurements and many other important research areas. Many paper industrial projects are considering measurements of printed texts and images ink dots and those quality. Results We have been created useful and speed efficient software for measuring spectral images. Measuring speed depends very much about used spectral camera's integration time. If we can use more efficient illumination, measuring time will be decreased. Conclusion The software developed in this study can be easily modified for different line scanning based spectral camera models. The proposed system has been used in many scientific and industrial projects at the University of Joensuu, Finland. We have also planned to implement a second spectral camera in to the automated process. In that way, we could use two spectral cameras with different spectral areas at the same time and program can automatically combine different wavelengths to one long continuous spectrum from visible wavelength area to infrared. Acknowledgements We like to give acknowledgements to Kimmo Tamminen, for his great work and efforts with first version of the measurement software. References 1. T. Hyvärinen, E. Herrala and A. Dall'Ava, Direct sight imaging spectrograph: a unique add-on compononet brings spectral imaging to industrial applications, in Proceedings, IS & T/SPIE's Symposium on Electronic Imaging: Science and Technology (EI98), San Jose, California, USA, January 25-30, vol. 3302-21, 1998. 2. Lari Härkönen, J. Birgitta Martinkauppi, Hannu Laamanen, Markku Hauta-Kasari et al., Spectral based optimization of screen images for industrial product presentation, in Proc. of SPIE vol. 6062, 2006. 3. Hannu Laamanen, Timo Jääskeläinen Markku Hauta-Kasari, Jussi Parkkinen and Kimiyoshi Miyata, Imaging Spectrograph Based Spectral Imaging System, CGIV 2004: The Second European Conference on Colour in Graphics, Imaging and Vision, 2004. The 9th International Symposium on Multispectral Colour Science and Application 199

4. S. T. Jones and C. N. Thai, Multi-Threaded Design of Spectral Imaging Software, ASAE Annual International Meeting, 2005. 5. J. Lehtonen, J. Parkkinen and T. Jaaskelainen: Optimal Sampling of Color Spectra, Journal of Optical Society of America A 23(12), p. 2983-2988, 2006. 6. R.W.G. Hunt: Measuring Colour, Fountain Press, Third Edition, 1998. 7. Roy S. Berns: Billmeyer and Saltzman s principles of color technology, New York: John Wiley & Sons, Third edition, 2000. 8. T. Jetsu, P.Herzog, M. Yamaquchi, T. Jaaskelainen and J. Parkkinen: Standardization of Multispectral Image Formats, AIC Colour 05-10 th Congress of the International Colour Association, 2005. Biography Jukka Antikainen graduated as Master of Science in Computer Science from the University of Kuopio 2006. The subject of master thesis was parallelization of matrix operations. Now he has started to work with his doctoral thesis in University of Joensuu at InFotonics Center. Thesis is concerning about spectral colour research in industrial applications, like generating new spectral measurement systems for different industrial targets. 200 Copyright 2007