Extraction of Color Information and Visualization of Color Differences between Digital Images through Pixel-by-Pixel Color-Difference Mapping
필름·전자재료 · (16) CPI(투명 폴리이미드)
기본 정보
- 저자
- DOI
- 10.3390/heritage5040202
- 저널
- Heritage
- 발행년도
- 2022
- 발행기관
- Multidisciplinary Digital Publishing Institute
- 피인용수
- 16
- 라이선스
- cc-by
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.3390/heritage5040202
- 토픽
- Color Science and Applications
- OpenAlex ID
- W4311624588
평가 내용
- 관련도
- 사업분야
- 필름·전자재료 · (16) CPI(투명 폴리이미드)
- 부 분야
- –
- R&D 측면
- –
- 확신도
- –
- 근거 용어
- –
- 판단 근거
- 임베딩 유사도 기반 평가로 '필름·전자재료 > CPI(투명 폴리이미드)' 분야에 선정된 논문입니다.
- R&D 활용 포인트
- –
- 평가 입력
- –
초록
본문 55,836자
본문 펼치기
섹션 본문 74문단 · 53,632자
(제목 없음)
1A novel method of extracting color information on a pixel-by-pixel basis or by the average of the regions of interest (ROIs) from digital images is proposed and demonstrated using newly developed and customized image-processing/analysis software (PicMan).For quantitative and statistical analyses of color, the newly developed software can be used for digital archive or digital forensic applications in various fields.The color differences between unrelated, similar, or identical scenes and or objects were quantified in various formats of desired color spaces such as RGB, HSV, XYZ, CIE L*a*b*, Munsell color, and hexadecimal color values.The color differences were visualized as images of pixel-by-pixel mapping of the ∆L*, ∆a*, ∆b*, ∆E RGB , ∆E HSV , and ∆E* L*a*b* values and block comparison images of desired block sizes.Various color analyses and color-difference mapping examples using an aged and damaged oil painting before and after restoration were introduced.The effects of the image file format differences between PNG and JPG on color distortion are demonstrated by statistics and pixel-by-pixel color-difference mapping.A portrait of Chuk-ki Yoo (兪拓基, 1691-1767) on silk from the 18th century from Korea was used for further color analysis for whole and selected areas.A collector's ownership stamp of Chuk-ki Yoo stamped in red ink on the text areas in one of his book collections was extracted using the image-processing software and superimposed on the original image as a visualization enhancement example.Image analysis, processing, modification, enhancement, and highlighting, as well as statistical color analysis of digital images in most formats, can conveniently and efficiently be performed using one piece of dedicated software (PicMan).The pixel-by-pixel color information extraction and color comparison technique can be very effective for a variety of applications in art and cultural heritage objects.
Introduction
2Although the true color reproduction of objects is still a challenge in digital photography, huge numbers of digital images are generated and shared on a daily basis.Colorimetric measurement devices have been introduced for quantitative color analyses and data-driven objective decision-making processes in many applications including food science, biology, pharmacy, medicine, agriculture, art, and cultural heritage, to name a few.However, conventional point-of-use colorimetric devices suffer from poor spatial resolution due to the minimum sampling area requirement (greater than a few millimeters in diameter) and require direct contact with objects under illumination from an internal light source [1][2][3][4].The colorimetric mapping of any object regardless of size and shape requires significant effort for sampling and the manual processing of the measurement data afterward.Even with these efforts, the number of data points is limited to the actual number of measurements.It is impractical to manually acquire more than a few hundred discrete measurement data, which is usually far from satisfactory for data visualization to comfortably draw statistical analysis-based reasoning or conclusions.
3A noncontact, telemetric, color measurement technique with increased spatial resolution is strongly desired to enable the instantaneous acquisition of vast amounts of color information pertaining to the object while providing ease of use.True color reproductions of objects and scenes are still quite a challenge in photography [5,6].The ultimate goal is to create digital images that are not distinguishable from real-world objects and scenes.The color of objects or scenes varies depending on the lighting and viewing conditions (such as viewing angle, relative direction to the light source, etc.).Nevertheless, digital photography is one of the best options for instantly capturing the color information of objects and scenes under lateral and controlled lighting conditions.Document scanners with an internal light source can be an excellent resource to provide controlled lighting at a predetermined distance between the scanning line camera and a document [7,8].Digital cameras can be used for the same purpose as document scanners.Compared to a dedicated scanner, a camera image is subject to a degree of distortion, reflections, and shadows and may exhibit low contrast.Image blur can happen when the camera is moved or disturbed during exposure [8].
4Nowadays, most digital cameras including smartphone cameras can take very realistic photographs.The color differences between digital photographs and real objects cannot be easily noticed when digital photographs are taken under well-controlled lighting conditions and adhere to predetermined standards for the intensity, direction, quality, color, and spectrum of a light source.Many efforts have been made to utilize digital image files generated from digital cameras and scanners for the quantification of the color information of objects with higher spatial resolution without using conventional chroma meters [2][3][4][5][6][9][10][11].
5Most commercially available image-editing software is designed for color, brightness, and contrast adjustments for viewing and printing.There is no image analysis software for quantitative, statistical, and dimensional analyses of the color, brightness, and contrast of regions of interest (ROIs).Due to the difficulties of image analysis and the labor-intensive nature of image analysis tasks using multiple types of software, only a very small fraction of (digital) image data is utilized.It is important and necessary to develop a new userfriendly image-processing/analysis software with the desired functions for quantitative, statistical, and dimensional analyses of the color, brightness, and contrast of ROIs to promote the efficient utilization of image data.This led the authors to develop user-friendly, unified image-processing software, which can support various formats of digital image and movie files [2,3,11].
6In this paper, a novel method of the extraction of quantitative color information from digital images and visualization of color differences between digital images through pixelby-pixel color-difference mapping is proposed.A newly developed and customized image analysis/processing software (PicMan) [2,3,[11][12][13][14][15][16] was utilized for demonstrating the proposed concept of quantitative color characterization, image maneuvering, and statistical color analysis of full or partial areas of digital images of art and cultural heritage subjects.
Image Analysis/Processing Software (PicMan)
7In the digital information age, we are surrounded by a flood of digital information in our daily lives.Digital photographs, images, videos, documents, and music can be reviewed, played, and edited for an intended purpose using more than one type of software.Depending on the complexity of the desired task, a handful of image-editing application software requiring tremendous resources (processing capability and memory) can run on PCs simultaneously in the background to perform very specific tasks.With the increase in image file sizes, the demand for computing resources is increasing exponentially.Image processing and analysis are very different tasks compared to image editing.If we can develop integrated software suitable for frequently needed image editing, processing, and analysis functions with image, video, and numerical data exporting capabilities, it will make image analysis and processing much simpler and more convenient.A regular PC with reasonable capabilities can handle a lot of tasks without opening multiple applications and switching between applications for specific tasks.
8To address these deficiencies, the authors' group has been developing user-friendly software (PicMan, WaferMasters, Inc., Dublin, CA, USA) for image-based dimensional analysis, quantitative color analysis, statistical analysis, and various image-maneuvering (pattern selection, highlighting, editing, etc.) functions.A few of these functions have been applied to archaeology, cultural heritage, and conservation science studies, as have been reported previously [2,3].PicMan can process and analyze various formats of digital image and video files such as JPG, BMP, GIF, PNG, TGA, TIFF, PDF, CR2, DM3, ND2, MIRAX, MOV, MP4, AVI, WMV, etc.
9From the image and video files containing plentiful information generated digitally, only a very small fraction of data is ever utilized.This is mainly due to the difficulties in image analysis and the labor-intensive nature of the image analysis task.All image data contain coordinate, color, brightness, contrast, dimension, and time-related information that can be extracted for useful applications.They are ready to be extracted for further analysis and interpretation of their uniqueness and significance.To promote the efficient utilization of image data, it is important to develop user-friendly image-processing/analysis software with application-specific, customized functions that can significantly simplify workflow and enhance productivity with accuracy and reliability.
10All images have a set of pixel information on the x and y coordinates and RGB brightness.Combinations of RGB brightness values determine the color and overall brightness.The pixel-to-pixel RGB brightness difference determines the contrast and shape of an object.Everything starts from the pixel information.Combining the RGB brightness (8 bits per channel) values is very useful in that it can generate millions of colors (2 8 brightness values × 3 channels = 2 8×3 colors = 2 24 colors = 16,777,216 colors) in displays and monitor screens.However, it is less useful for us to understand and interpret how we recognize and feel colors from visual stimulation by differences in the spectrum of light (wavelength dependence of brightness in the visible wavelength range of 400-700 nm or 400-780 nm).Thus, many different concepts of color spaces have been introduced to characterize and classify colors in quantitative and traceable manners.
11The most popular color spaces used across disciplines are RGB, HSV, L*a*b*, and Munsell color.The RGB and L*a*b* color spaces are based on cartesian coordinates.The HSV and Munsell color spaces use cylindrical coordinates.Since all photographic images are based on combinations of RGB channel brightness, the color information in the other color spaces is calculated from the RGB values using corresponding transformation formulas.For conversion between RGB and L*a*b* color spaces, a new cartesian coordinate of XYZ is introduced.Details of color space transformations can be found elsewhere [17][18][19].
12All 16,777,216 colors are assigned to six-digit hexadecimal color codes for computer graphics.The capability of pixel-by-pixel color extraction, as well as the extraction of the average color for selected areas, can be very useful for quantitative color characterization.All colors can be quantified as numerical values or corresponding codes in all color spaces for many applications including archaeology, cultural heritage, and conservation science studies.
13In the following section, the extraction of color information from sample digital images using the newly developed image-processing/analysis software (PicMan) is introduced using sample images and discussions of possible applications in cultural heritage characterization and conservation science are presented.
Results and Discussion
14Two photographic images of an aged and damaged oil painting on canvas before and after restoration from the website of a gallery located in Franklin, Massachusetts [20], were selected as example images for color information extraction, color analysis, and image comparisons using PicMan.A photograph of a portrait of Chuk-ki Yoo (兪拓基, 1691-1767) on silk from the 18th century during the Joseon Dynasty in Korea [21] was also tested.A seal image from a book named Garyewonryu (가례원류: 家禮源流) belonging to Chuk-ki Yoo (兪拓基, 1691-1767) [22] was used for color analysis, selection of pixels with a specific color range, and image modification as an application example of the modified image.
15For best results, images should be photographed or scanned under standard lighting and image acquisition conditions.The validity of L*a*b* values converted from RGB values should be confirmed by colorimeter measurements.Since the colorimeters simply do not have pixel-by-pixel spatial resolution and provide the average L*a*b* values within a few millimeters of the diameter area [1], a separate color checkerboard may be used for color calibration and validation.
Block-by-Block Image Comparisons before and after Restoration
16Figure 1 shows the combined images of a girl in an aged and damaged oil painting on canvas before and after restoration in the PNG image format [20].Craquelure reduction, canvas stabilization, lining the painting, and oil painting cleaning were carried out through restoration work.The color became very vivid after restoration.The two images looked identical in terms of the size and proportion of the girl.However, the two images did not perfectly overlap.The image after restoration was cropped slightly and shifted to the right and the width was slightly narrower than the image before restoration.One other important thing to note is that the image before restoration was rotated approximately 1
17• in the counterclockwise direction.To compare the two images properly, the image ′ s crop size and rotation must be corrected before proper pixel-by-pixel image comparisons.The image shift, cropping, and rotation were done manually by comparing the overlapped images.The image size was matched to 442 × 652 pixels by adjusting the rotation and cropping only the common areas between the two images.The size and rotation-adjusted images were saved as PNG image files, the same as the source image file, so as not to lose or modify the original color information.A screen capture of PicMan comparing the two images before and after restoration is shown in Figure 2. The two images on the left and in the center are the source image files for the image comparison.The image on the right shows the block-by-block image comparison results.The block size can be varied depending on the image size and degree of pattern complexity of the images for optimum visualization results.The block size applied in Figure 2 was 50 × 50 pixels.The top-left triangles show the image before restoration and the bottom-right triangles show the image after restoration.The color differences between the before and after images can be easily recognized without alternately looking at two images and committing them to memory.The imaginary differential operation of the two images is not quite accurate and cannot communicate one's findings to others.Our memory and observation are not as good as we might think.In addition, we cannot record our findings from this mental exercise.The block comparison results of different block sizes can be exported as separate images for record-keeping and clear communication with others.
18Heritage 2022, 5 3928 The color difference analysis did not consider/differentiate the glossy appearance of the painting surface due to the varnish (as seen in the upper-left area of the artwork in Figure 2).The computed color difference was not a difference, possibly due to changes in terms of the degradation of the painting materials but most likely due to the removal of aged and altered varnish in the restoration process.In this study, the image comparison technique is given as an example of the color-difference characterization of images taken under controlled lighting and photography conditions after calibration.Proper lighting, photography, and calibration are required for proper color-difference characterization.The practice for accurate colorimetry measurements from digital cameras can be found in previous reports [5,23,24].
Pixel-by-Pixel Image Comparison before and after Restoration
19Figure 3 shows a summary of the pixel-by-pixel image comparisons of the images of a girl before and after restoration.The pixel-by-pixel color differences were mapped in terms of the CIE ∆L*, CIE ∆a*, CIE ∆b*, and CIE ∆E* values at full scale (100% scale), which can be seen in the top row, and at quarter scale (25% of full scale), which can be seen in the bottom row.Since the color differences along the a* and b* axes were small compared to the lightness L* axis, the full-scale pixel-by-pixel color-difference mapping images for the ∆a* and ∆b* values did not show significant color shifts.The ∆a*, ∆b*, and ∆E* values became much more recognizable at a 4x magnified scale (equivalent to 25% of full scale).
20The CIE ∆L* and CIE ∆E* values only have a magnitude in the brightness and overall color difference.Thus, the resulting image becomes grayscale.The ∆a* and ∆b* values can be negative, zero (i.e., no color difference along the a* or b* axis), or positive.The CIE L*a*b* color space expresses color as three values: L* for perceptual lightness and a* and b* for the four unique colors of human vision, red, green, blue, and yellow.The lightness value L* defines black as 0 and white as 100.The a* axis is relative to the green-red opponent colors, green (negative a* values) to red (positive a* value).Similarly, the b* axis is relative to the blue-yellow opponent colors, blue (negative b* values) to yellow (positive b* value).The a* and b* axes are independent in the range of −128 to 127.
21In Figure 3, the degrees of the color shifts along the a* and b* axes can be easily recognized pixel by pixel.The color difference ∆E* can easily be determined pixel by pixel.This type of detailed color difference characterization cannot be measured or visualized by conventional chroma meter measurements [1][2][3][4][5][6].
Effect of Image File Format Conversion on Color
22Image data can be saved in many different formats.Raster images, such as photographs and scanned documents, are constructed by a series of pixels, or individual blocks, to form an image.We often recklessly save images in JPG format for convenience and file size.The JPG format is designed for the lossy compression of images in return for a filesize reduction.The JPG compression algorithm is designed to operate well on photographs and paintings of realistic scenes with smooth variations of tone and color.For applications where the trueness and traceability of the original color of images are of great concern, it is important to understand and set rules for the image file format of choice.The image file format conversion should be avoided as much as possible because it may modify or damage the integrity of the original images in terms of color, shape, and sharpness.To verify the effect of the JPG compression of photographic images on image quality, the PNG images of an oil painting of a girl (a) before and (b) after restoration were saved as JPG images (c and d), as seen in Figure 4.
23Image data can be saved in many different formats.Raster images, such as photographs and scanned documents, are constructed by a series of pixels, or individual blocks, to form an image.We often recklessly save images in JPG format for convenience and file size.The JPG format is designed for the lossy compression of images in return for a filesize reduction.The JPG compression algorithm is designed to operate well on photographs and paintings of realistic scenes with smooth variations of tone and color.For applications where the trueness and traceability of the original color of images are of great concern, it is important to understand and set rules for the image file format of choice.The image file format conversion should be avoided as much as possible because it may modify or damage the integrity of the original images in terms of color, shape, and sharpness.To verify the effect of the JPG compression of photographic images on image quality, the The image size did not change before and after file conversion.However, the file sizes of the JPG images were reduced to a fraction of the original sizes of the PNG images (365 KB → 59.4 KB before restoration and 481 KB → 73.4 KB after restoration).The color differences between the PNG and JPG images were minimal.Without paying great attention, it is difficult to notice any differences between them.The only area with noticeable color changes was the top-left corner of the images before restoration (Figure 4a,c).The JPG image is a little brighter than the original PNG image.This is all that we can say about the differences between the PNG and JPG files.
24To evaluate the differences between the PNG and JPG files statistically, the color information from all the pixels (442 × 652 pixels = 288,184 pixels) of the four images was exported as CSV files to generate a histogram for the RGB, HSV, and L*a*b* color spaces.For simplicity, the RGB and L*a*b* histograms and statistics are discussed in this paper.Figure 5 shows the histograms of the RGB brightness for the PNG (a and d) and JPG (b and e) images before and after restoration and the differences (c and f) between the PNG and JPG files of the same images.The distribution of the RGB brightness before restoration was skewed left (darker side), whereas it was spread more broadly after restoration.The effect of restoration on the apparent color of the images can also be recognized in the histograms.The area under the individual RGB histogram curves should be equal to the total number of pixels (288,184 pixels).As seen in Figure 5a-c, sharp RGB peaks below the brightness level of 96 in the PNG image (a) became dull in the JPG image (b) before restoration and the differences in histograms between the PNG and JPG images appeared to be quite large (c), suggesting a significant modification of colors from the PNG → JPG conversion.
25The RBG statistics for all pixels (442 × 652 = 288,184 pixels) of the PNG and JPG files of the oil painting of a girl before and after restoration are summarized in Table 1.The minimum, average, maximum, range, and standard deviation of the RGB brightness of the 288,184 pixels from each image (PNG and JPG images before and after restoration) are shown.The differences between the before and after restoration are summarized in the three columns on the right in Table 1.The differences between the PNG and JPG images are summarized in the five rows at the bottom of the table.From a statistics point of view, the differences between the PNG and JPG files seem to be very small because they were averaged from the total number of pixels (288,184 pixels) per image.The differences between the PNG and JPG images before and after restoration are very small for the same reason.It is obvious that pixel-by-pixel color-difference mapping has the highest sensitivity to the exact location information of the affected pixels.A histogram can be considered a projected graph of RGB brightness binning ignoring the pixel location information.The dimension of the image data was significantly reduced, as seen in the histogram and the statistics summarized in Table 1.The importance of pixel-by-pixel color-difference mapping cannot be overemphasized.The RBG statistics for all pixels (442 × 652 = 288,184 pixels) of the PNG and JPG files of the oil painting of a girl before and after restoration are summarized in Table 1.The minimum, average, maximum, range, and standard deviation of the RGB brightness of the 288,184 pixels from each image (PNG and JPG images before and after restoration) are shown.The differences between the before and after restoration are summarized in the three columns on the right in Table 1.The differences between the PNG and JPG images are summarized in the five rows at the bottom of the table.From a statistics point of view, the differences between the PNG and JPG files seem to be very small because they were averaged from the total number of pixels (288,184 pixels) per image.The differences For completeness, the histograms and statistics of the CIE L*a*b* values of all pixels (442 × 652 = 288,184 pixels) of the PNG and JPG files of the oil painting of a girl before and after restoration are summarized in Figures 6 and 7 and Table 2.The area under the individual L*a*b* histogram curves should be equal to the total number of pixels (288,184 pixels).The color difference ∆E* and overall color difference between the PNG and JPG files (∆E * PNG−JPG : ∆E * ab or ∆E * ) were also calculated to understand the impact of restoration and image file format conversion.The ∆E* was calculated using the following CIE76 formula:
26where ∆E * ab ≈ 2.3 corresponds to a JND (just noticeable difference).There are other revisions for color difference calculation formulas such as CIE94 and CIE∆E2000 [3,4,25,26].
27The lightness L* histograms of the images before (Figure 6a) and after (Figure 7a) restoration show significant differences in distribution reflected from the source images, as shown in Figure 4.The a* and b* axes' distributions also showed significant differences before and after restoration (Figures 6b,c, and 7b,c).The differences between the PNG and JPG files are also quite noticeable in Figures 6d-f and 7d-f.This verifies that the colors of the JPG files were different from those of the source PNG files even though the changes were not large enough to be distinguished by the human eye without very careful observation.
28Compared to the RGB expression of colors, the L*a*b* expression is more insightful for understanding the lightness, as well as color balance, in the a*b* plane of RGYB.The HSV (hue, saturation, value) color space only makes assumptions based on the RGB balance in the cylindrical coordinates.It is an alternative representation of the RGB color model and was designed in the 1970s by computer graphics researchers to more closely align with the way human vision perceives and the color-making attributes from the additive colors of RGB used in monitors and displays [27].
Application Examples using a Portrait and a Book Ownership Seal
29The extraction of the color information and the statistical analysis of the extracted color information were applied to a photograph of a portrait of Chuk-ki Yoo (兪拓基, 1691-1767) on silk from the 18th century during the Joseon Dynasty (1392-1910) in Korea, as shown in Figure 8 3.
30Figure 10 shows a screen capture from PicMan displaying the line intensity graphs of the RGB and its average intensity across A-A ′ on the top of the screen and the quantified color information of the individual pixels and averages of the selected square-or circleshaped regions of interest (ROIs) on the image in RGB, HSV, and L*a*b* formats.The width and diameter of the square can be selected up to 100 pixels in 1-pixel increments.As for the selected ROIs, 40 × 40 pixels (=1600 pixels) were used for averaging the color information, as seen in Figure 10.The single-pixel color information can be considered an interactive chroma meter with a pixel resolution.The color information can also be displayed in hexadecimal color codes or the Munsell color format, whichever is more convenient.All displayed values and graphical data can be exported as CSV or image files of desired formats for record-keeping and further analyses and/or comparisons.The upper row in Figure 11 shows the color inversion and grayscale conversion of the original image.The background areas removed from the portrait and the outline image of the portrait using the color selection and illustration functions in PicMan are shown in the lower row in Figure 11.The total number of pixels in the background-removed image was 270,707 out of 719,280 pixels, which was 37.64% of the total area of the portrait.The area of the silk background was measured at 448,573 pixels, which is equal to 62.36% of the total area of the portrait.Outline images can also be easily generated by detecting the pixels with significant color and/or brightness changes compared to the neighboring pixels in the original image.
31Figure 12 shows the RGB and CIE L*a*b* histograms for the silk area (448,573 pixels) of the portrait of Chuk-ki Yoo (兪拓基, 1691-1767), former Prime Minister during part of the Joseon Dynasty (1392-1910) in Korea.Since the color of the silk was relatively uniform, the RGB and L*a*b* histograms were quite narrow and symmetrical.By comparing them with the RGB and CIE L*a*b* histograms for the entire portrait shown in Figure 9, the distribution of the RGB and L*a*b* values of the 270,707 pixels (for the background-removed portrait) can be distinguished.The upper row in Figure 11 shows the color inversion and grayscale conversion of the original image.The background areas removed from the portrait and the outline image of the portrait using the color selection and illustration functions in PicMan are shown in the lower row in Figure 11.The total number of pixels in the background-removed image was 270,707 out of 719,280 pixels, which was 37.64% of the total area of the portrait.The area of the silk background was measured at 448,573 pixels, which is equal to 62.36% of the total area of the portrait.Outline images can also be easily generated by detecting the pixels with significant color and/or brightness changes compared to the neighboring pixels in the original image.Other useful applications of color-based selection/elimination functions with color homogenization and transparency capabilities are shown in Figure 13.For color analysis, the selection of pixels within specific color ranges, image modifications, and application examples are shown.The modified image of a seal from a book named Garyewonryu (가례원류: 家禮源流) belonging to Chuk-ki Yoo (兪拓基, 1691-1767) [22] was used.The seal-image highlighting was carried out with a series of actions: background removal, color homogenization, background transparency, and superposition of the modified image on the original image.Similarly, paper color homogenization can be applied if needed.
32For the physical restoration of paper-based cultural heritage items, any mistakes can result in permanent damage to the item.Photoprints of paper-based cultural heritage documents and paintings are frequently created for introduction to the public.A large portion of paper-based cultural heritage and rare books are in poor condition due to physical damage, decoloring, darkening, foxing, and so on.A photocopy of the as-is condition may not be suitable for the purpose intended.Digital restoration can be an excellent alternative without risking damage to the original.The evaluation of the quantitative color information and digital filtering of noise by color can greatly improve legibility.Newly developed and added functions of the image-processing/analysis software (PicMan) have made these rather complex tasks very simple without the need to use other software.PicMan is designed as an execution file that is <20 MB in size and no installation is required.The small file size of PicMan also significantly frees up computing resources and memory.In addition, there is no need to open other software that requires CPU and memory sharing of the computing device.This greatly reduces the requirement for computing resources such as hardware specifications and memory requirements.Almost all tasks can be performed using tablets or laptops.Relatively large image files can be handled using tablets and laptops with general specifications.This provides great freedom in the working environment.Complex tasks can be accomplished anywhere at any time.
33Image capture using the integrated cameras of laptops and tablets can be accomplished using PicMan and the resulting digital photographs and video files can be instantly analyzed and processed as needed.The software allows for the use of a USB camera.The camera can be utilized as an image-capturing device and controlled through Pic-Man.Digital photographs, images, and video files from other devices or the internet can be analyzed in the same way.Other useful applications of color-based selection/elimination functions with color homogenization and transparency capabilities are shown in Figure 13.For color analysis, the selection of pixels within specific color ranges, image modifications, and application examples are shown.The modified image of a seal from a book named Garyewonryu (가례원류: 家禮源流) belonging to Chuk-ki Yoo (兪拓基, 1691-1767) [22] was used.The seal-image highlighting was carried out with a series of actions: background removal, color homogenization, background transparency, and superposition of the modified image on the original image.Similarly, paper color homogenization can be applied if needed.
34For the physical restoration of paper-based cultural heritage items, any mistakes can result in permanent damage to the item.Photoprints of paper-based cultural heritage documents and paintings are frequently created for introduction to the public.A large portion of paper-based cultural heritage and rare books are in poor condition due to physical damage, decoloring, darkening, foxing, and so on.A photocopy of the as-is condition may not be suitable for the purpose intended.Digital restoration can be an excellent alternative without risking damage to the original.The evaluation of the quantitative color information and digital filtering of noise by color can greatly improve legibility.Newly developed and added functions of the image-processing/analysis software (PicMan) have made these rather complex tasks very simple without the need to use other software.PicMan is designed as an execution file that is <20 MB in size and no installation is required.The small file size of PicMan also significantly frees up computing resources and memory.In addition, there is no need to open other software that requires CPU and memory sharing of the computing device.This greatly reduces the requirement for computing resources such as hardware specifications and memory requirements.Almost all tasks can be performed using tablets or laptops.Relatively large image files can be handled using tablets and laptops with general specifications.This provides great freedom in the working environment.Complex tasks can be accomplished anywhere at any time.
35Image capture using the integrated cameras of laptops and tablets can be accomplished using PicMan and the resulting digital photographs and video files can be instantly analyzed and processed as needed.The software allows for the use of a USB camera.The camera can be utilized as an image-capturing device and controlled through PicMan.Digital photographs, images, and video files from other devices or the internet can be analyzed in the same way.
Conclusions and Recommendations
36In our daily lives, our eyes are stimulated by photons, energized particles, or electromagnetic waves and we perceive them as color and brightness in the visible energy (3.1-1.77eV or 3.1-1.59eV) or wavelength (400-700 nm or 400-780 nm) ranges.Each individual has a different experience with the same colors and color information, which cannot be accurately communicated using descriptive language.If a different language is used, the translation between languages adds more distortions to the true meaning of the speaker.The meaning and expression of colors differ from language to language, culture to culture, region to region, country to country, industry to industry, and person to person.To avoid or at least reduce uncertainties and communication/interpretation errors, color information should be described in quantitative terms.In this digital era, this is not an impossible task, even though we still need to improve how it is defined and utilized.All digital images are made up of pixels with color information in a quantitative manner.Indeed, all pixels are expressed as hexadecimal code containing RGB brightness information in the range of 0-255, assuming 24-bit (8-bit per channel) images.As long as we select a hexadecimal color code, it would indicate the same color around the world.Of course, the color representation on different monitors may differ slightly.However, the integrity of the color information is stored in the image file.In the past, the only quantitative way to characterize and express color was by measuring the average color of a sampling area (typically a few mm in diameter) using a chroma meter.Due to the poor spatial resolution of the chroma meter measurement, the color of a small area or sampling area with non-
37In our daily lives, our eyes are stimulated by photons, energized particles, or electromagnetic waves and we perceive them as color and brightness in the visible energy (3.1-1.77eV or 3.1-1.59eV) or wavelength (400-700 nm or 400-780 nm) ranges.Each individual has a different experience with the same colors and color information, which cannot be accurately communicated using descriptive language.If a different language is used, the translation between languages adds more distortions to the true meaning of the speaker.The meaning and expression of colors differ from language to language, culture to culture, region to region, country to country, industry to industry, and person to person.To avoid or at least reduce uncertainties and communication/interpretation errors, color information should be described in quantitative terms.In this digital era, this is not an impossible task, even though we still need to improve how it is defined and utilized.All digital images are made up of pixels with color information in a quantitative manner.Indeed, all pixels are expressed as hexadecimal code containing RGB brightness information in the range of 0-255, assuming 24-bit (8-bit per channel) images.As long as we select a hexadecimal color code, it would indicate the same color around the world.Of course, the color representation on different monitors may differ slightly.However, the integrity of the color information is stored in the image file.In the past, the only quantitative way to characterize and express color was by measuring the average color of a sampling area (typically a few mm in diameter) using a chroma meter.Due to the poor spatial resolution of the chroma meter measurement, the color of a small area or sampling area with nonuniform colors cannot be measured and recorded correctly.By using digital photographs and pixel-by-pixel color extraction techniques, the pixel resolution of the color information can be extracted and utilized for further analysis, reproduction, and utilization.
38In this paper, a novel method for extracting color information on a pixel-by-pixel basis or by the average of the regions of interest (ROI) from digital images has been proposed.The proposed concept has been demonstrated using newly developed and customized image-processing/analysis software (PicMan).The software can be used for quantitative analysis, statistical analysis, digital archiving of color, and digital forensic applications in various fields.The color differences between images, which were of unrelated, similar, or identical scenes and objects, were quantified in various formats of desired color spaces.The color information of individual pixels was extracted as RGB, HSV, XYZ, CIE L*a*b*, Munsell color, and hexadecimal color values.The color differences were also visualized as images of pixel-by-pixel mapping of ∆L*, ∆a*, ∆b*, ∆E RGB , ∆E HSV , and ∆E L*a*b* values and block comparison images of desired block sizes.The effects of the image file format differences between PNG and JPG on color distortion were investigated and demonstrated by statistics and pixel-by-pixel color-difference mapping.Image analysis, processing, modification, enhancement, and highlighting, as well as statistical color analysis of any digital images in most formats, can be conveniently and efficiently performed using one dedicated piece of software (PicMan).It can be used for a variety of applications for art and cultural heritage objects.
39Art restoration is intended to preserve the integrity and value of an original work of art.Many artworks are in need of repair because they have decayed over long periods of time due to storage and climatic conditions, which can have a significant impact on the condition of the artwork [28].Art restoration is any attempt to preserve and repair drawings, paintings, sculptures, architecture, or other objects of fine and decorative art, whose condition has been negatively altered due to various causes.Quantitative color characterizations from digital images have become increasingly important for recording and documenting color changes over time to properly plan art restoration strategies as museums and cultural institutions work toward protecting invaluable cultural collections.
40Recently, in medical fields, attempts to link pain to individual artistic expression have been reported in an objective and quantitative fashion using Frida Kahlo (1907-1954)'s artworks [29].The intention was to use the linkage to integrate art into the therapeutic armory for pain and pain-related disorders.Frida Kahlo was a Mexican artist who is remembered for her self-portraits expressing pain and passion with bold and vibrant colors.Her artworks were used to examine the effects of physical and emotional pain (rage) on artistic expression with quantitative color analysis results.Quantitative color analyses are required in many areas, including medicine, pharmaceutical, biology, food science, agriculture, animal science, fashion, painting, design, and many other fields.When the proposed method becomes available and has been practiced, the more active usage of quantitative color information in various fields is expected [11,30].No color information should be overlooked due to a lack of convenient image analysis/processing software.
Heritage 2022, 5 3927 Figure 1 .
41Figure 1.Sample images of aged and damaged oil painting before and after cleaning and restoration.Craquelure reduction, canvas stabilization, alignment of the painting, and oil painting cleaning were carried out during the restoration work [20].A screen capture of PicMan comparing the two images before and after restoration is shown in Figure 2. The two images on the left and in the center are the source image files for the image comparison.The image on the right shows the block-by-block image comparison results.The block size can be varied depending on the image size and degree of pattern complexity of the images for optimum visualization results.The block size applied in Figure 2 was 50 × 50 pixels.The top-left triangles show the image before restoration and the bottom-right triangles show the image after restoration.The color differences between
Figure 1 .
42Figure 1.Sample images of aged and damaged oil painting before and after cleaning and restoration.Craquelure reduction, canvas stabilization, alignment of the painting, and oil painting cleaning were carried out during the restoration work [20].
Figure 2 .
43Figure 2. Screen capture of image-processing/analysis software (PicMan) performing block comparison of images of a girl with a doll in her right arm before and after restoration.The block size was set at 50 × 50 pixels.Upper-left and lower-right triangles show partial images before and after restoration for an easy comparison of the image size matching, color, damage, and cracks.
Figure 3
44Figure 3 shows a summary of the pixel-by-pixel image comparisons of the images of a girl before and after restoration.The pixel-by-pixel color differences were mapped in terms of the CIE ΔL*, CIE Δa*, CIE Δb*, and CIE ΔΕ* values at full scale (100% scale), which can be seen in the top row, and at quarter scale (25% of full scale), which can be seen in the bottom row.Since the color differences along the a* and b* axes were small compared to the lightness L* axis, the full-scale pixel-by-pixel color-difference mapping images for the Δa* and Δb* values did not show significant color shifts.The Δa*, Δb*, and ΔΕ* values became much more recognizable at a 4x magnified scale (equivalent to 25% of full scale).The CIE ΔL* and CIE ΔΕ* values only have a magnitude in the brightness and overall color difference.Thus, the resulting image becomes grayscale.The Δa* and Δb* values can be negative, zero (i.e., no color difference along the a* or b* axis), or positive.The CIE L*a*b* color space expresses color as three values: L* for perceptual lightness and a* and b* for the four unique colors of human vision, red, green, blue, and yellow.The lightness value L* defines black as 0 and white as 100.The a* axis is relative to the green-red opponent colors, green (negative a* values) to red (positive a* value).Similarly, the b* axis is relative to the blue-yellow opponent colors, blue (negative b* values) to yellow (positive
Figure 2 .
45Figure 2. Screen capture of image-processing/analysis software (PicMan) performing block comparison of images of a girl with a doll in her right arm before and after restoration.The block size was set at 50 × 50 pixels.Upper-left and lower-right triangles show partial images before and after restoration for an easy comparison of the image size matching, color, damage, and cracks.
Figure 3 .
46Figure 3. Pixel-by-pixel color-difference maps of images of a girl with a doll in her right arm before and after restoration.Color-difference maps were exported from PicMan in CIE ΔL*, CIE Δa*, CIE Δb*, CIE ΔΕ* at full scale and quarter scale (25% of full scale).Legends are also given for easy recognition of pixel-by-pixel brightness, color shift, and color difference.
47Figure 3. Pixel-by-pixel color-difference maps of images of a girl with a doll in her right arm before and after restoration.Color-difference maps were exported from PicMan in CIE ∆L*, CIE ∆a*, CIE ∆b*, CIE ∆Ε* at full scale and quarter scale (25% of full scale).Legends are also given for easy recognition of pixel-by-pixel brightness, color shift, and color difference.
Figure 4 .
48Figure 4. Oil painting images of a girl before (a) and after (b) restoration in PNG file format and their newly saved images (c,d) in JPG format.Number of pixels and image sizes were kept constant.Image file size was significantly reduced by saving it in JPG format.
49Figure 4. Oil painting images of a girl before (a) and after (b) restoration in PNG file format and their newly saved images (c,d) in JPG format.Number of pixels and image sizes were kept constant.Image file size was significantly reduced by saving it in JPG format.
Figure 5 .
50Figure 5. Graphical summary of color information in RGB expression of all pixels in the PNG and JPG images before and after restoration.Histograms of RGB brightness before restoration: (a) PNG, (b) JPG, (c) difference between PNG and JPG.Histograms of RGB brightness after restoration: (d) PNG, (e) JPG, (f) difference between PNG and JPG.
51Figure 5. Graphical summary of color information in RGB expression of all pixels in the PNG and JPG images before and after restoration.Histograms of RGB brightness before restoration: (a) PNG, (b) JPG, (c) difference between PNG and JPG.Histograms of RGB brightness after restoration: (d) PNG, (e) JPG, (f) difference between PNG and JPG.
Figure 6 .
52Figure 6.Graphical summary of color information in CIE L*a*b* values of all pixels in the PNG and JPG images before restoration.Histograms of CIE L*a*b* values of PNG and JPG files before restoration: (a) L*, (b) a*, (c) b*.Histograms of differences in CIE L*a*b* values between PNG and JPG files before restoration: (d) ΔL*, (e) Δa*, (f) Δb*.Compared to the RGB expression of colors, the L*a*b* expression is more insightful for understanding the lightness, as well as color balance, in the a*b* plane of RGYB.The HSV (hue, saturation, value) color space only makes assumptions based on the RGB balance in the cylindrical coordinates.It is an alternative representation of the RGB color model and was designed in the 1970s by computer graphics researchers to more closely align with the way human vision perceives and the color-making attributes from the additive colors of RGB used in monitors and displays[27].
53Figure 6.Graphical summary of color information in CIE L*a*b* values of all pixels in the PNG and JPG images before restoration.Histograms of CIE L*a*b* values of PNG and JPG files before restoration: (a) L*, (b) a*, (c) b*.Histograms of differences in CIE L*a*b* values between PNG and JPG files before restoration: (d) ∆L*, (e) ∆a*, (f) ∆b*.
Figure 7 .
54Figure 7. Graphical summary of color information in CIE L*a*b* values of all pixels in the PNG and JPG images after restoration.Histograms of CIE L*a*b* values of PNG and JPG files after restoration: (a) L*, (b) a*, (c) b*.Histograms of differences between PNG and JPG files in CIE L*a*b* values after restoration: (d) ΔL*, (e) Δa*, (f) Δb*.
55Figure 7. Graphical summary of color information in CIE L*a*b* values of all pixels in the PNG and JPG images after restoration.Histograms of CIE L*a*b* values of PNG and JPG files after restoration: (a) L*, (b) a*, (c) b*.Histograms of differences between PNG and JPG files in CIE L*a*b* values after restoration: (d) ∆L*, (e) ∆a*, (f) ∆b*.
56[21].The portrait PNG image file was 740 × 972 pixels (=719,280 pixels) in physical dimensions and 1.37 MB in file size.The RGB and CIE L*a*b* histograms of the image were plotted after extracting the RGB and L*a*b* values of all pixels using PicMan and are shown in Figure 9.The area below the RGB and L*a*b* curves should be the same and equal to 719,280 pixels.The brightness distribution of the RGB colors was visualized by graphing the binning results of the RGB brightness range of 0 to 255 in increments of 1.The distribution of the lightness and relative position of color in the RGYB plane was visualized by plotting the L*a*b* binning results in increments of 0.1.The statistical summary of the RGB and CIE L*a*b* of all pixels (740 × 972 pixels = 719,280 pixels) comprising the portrait image is shown in Table
Figure 8 .
57Figure 8.A portrait of Chuk-ki Yoo (兪拓基, 1691-1767), former Prime Minister during part of the Joseon Dynasty (1392-1910) in Korea.
Figure 9 .
58Figure 9. RGB and CIE L*a*b* histograms of the portrait of Chuk-ki Yoo (兪拓基, 1691-1767), former Prime Minister during part of the Joseon Dynasty (1392-1910) in Korea.
Figure 8 .
59Figure 8.A portrait of Chuk-ki Yoo (兪拓基, 1691-1767), former Prime Minister during part of the Joseon Dynasty (1392-1910) in Korea.
60Figure 8.A portrait of Chuk-ki Yoo (兪拓基, 1691-1767), former Prime Minister during part of the Joseon Dynasty (1392-1910) in Korea.
Figure 9 .
61Figure 9. RGB and CIE L*a*b* histograms of the portrait of Chuk-ki Yoo (兪拓基, 1691-1767), former Prime Minister during part of the Joseon Dynasty (1392-1910) in Korea.
62Figure 9. RGB and CIE L*a*b* histograms of the portrait of Chuk-ki Yoo (兪拓基, 1691-1767), former Prime Minister during part of the Joseon Dynasty (1392-1910) in Korea.
Figure 10 .
63Figure 10.A portrait of Chuk-ki Yoo (兪拓基, 1691-1767), former Prime Minister during part of the Joseon Dynasty (1392-1910) in Korea, under color information extraction in the RGB, HSV, L*a*b*, Munsell, and hexadecimal color spaces using PicMan.Color information can be extracted either pixel by pixel or as the average of predetermined square-or circle-shaped regions of interest.
64Figure 10.A portrait of Chuk-ki Yoo (兪拓基, 1691-1767), former Prime Minister during part of the Joseon Dynasty (1392-1910) in Korea, under color information extraction in the RGB, HSV, L*a*b*, Munsell, and hexadecimal color spaces using PicMan.Color information can be extracted either pixel by pixel or as the average of predetermined square-or circle-shaped regions of interest.
Figure 11 .
65Figure 11.Original image of the portrait of Chuk-ki Yoo (兪拓基, 1691-1767) and a few examples of image modifications (inversion, grayscale conversion, selection, masking, and outline extraction) using PicMan for paper-based cultural heritage applications.
Figure 12
66Figure 12 shows the RGB and CIE L*a*b* histograms for the silk area (448,573 pixels) of the portrait of Chuk-ki Yoo (兪拓基, 1691-1767), former Prime Minister during part of the Joseon Dynasty (1392-1910) in Korea.Since the color of the silk was relatively uniform, the RGB and L*a*b* histograms were quite narrow and symmetrical.By comparing them with the RGB and CIE L*a*b* histograms for the entire portrait shown in Figure 9, the distribution of the RGB and L*a*b* values of the 270,707 pixels (for the background-removed portrait) can be distinguished.
Figure 11 .
67Figure 11.Original image of the portrait of Chuk-ki Yoo (兪拓基, 1691-1767) and a few examples of image modifications (inversion, grayscale conversion, selection, masking, and outline extraction) using PicMan for paper-based cultural heritage applications.
Figure 12 .
68Figure 12.RGB and CIE L*a*b* histograms of the silk area of the portrait of Chuk-ki Yoo (兪拓基, 1691-1767), former Prime Minister during part of the Joseon Dynasty (1392-1910) in Korea.
69Figure 12.RGB and CIE L*a*b* histograms of the silk area of the portrait of Chuk-ki Yoo (兪拓基, 1691-1767), former Prime Minister during part of the Joseon Dynasty (1392-1910) in Korea.
Figure 13 .
70Figure 13.Seal image highlighting example of background removal, color homogenization, background transparency maximization, and superposition of the image with a transparent background on the original image.A seal image from a book named Garyewonryu (가례원류:家禮源流) belonging to Chuk-ki Yoo (兪拓基, 1691-1767) was used as an example.
71Figure 13.Seal image highlighting example of background removal, color homogenization, background transparency maximization, and superposition of the image with a transparent background on the original image.A seal image from a book named Garyewonryu (가례원류: 家禮源流) belonging to Chuk-ki Yoo (兪拓基, 1691-1767) was used as an example.
Table 1 .
72Statistical summary of RGB of all pixels (442 × 652 = 288,184 pixels) of PNG and JPG files of the oil painting of a girl before and after restoration.
Table 2 .
73Statistical summary of CIE L*a*b* values of all pixels (442 × 652 = 288,184 pixels) of PNG and JPG files of the oil painting of a girl before and after restoration.Overall ∆E* between the PNG and JPG files before and after restoration (columns on the right) are also calculated (bottom row).
Table 3 .
74Statistical summary of RGB and CIE L*a*b* values of all pixels (740 × 972 pixels = 719,280 pixels) of a PNG image of a portrait of Chuk-ki Yoo.
참고문헌 17건
- Evaluation of the Colorimetric Performance of Single-Sensor Image Acquisition Systems Employing Colour and Multispectral Filter Array Lecture notes in computer science · Springer Science+Business Media · 2015 10.1007/978-3-319-15979-9_18
- Development of a UV to IR extension to the standard colorimetry, based on a seven band modified DSLR camera to better characterize surfaces, tissues and fabrics Proceedings of SPIE, the International Society for Optical Engineering/Proceedings of SPIE · SPIE · 2011 10.1117/12.889560
- Consistent image-based measurement and classification of skin color 2005 10.1109/icip.2005.1530070
- Turning a Digital Camera into an Absolute 2D Tele‐Colorimeter Computer Graphics Forum · Wiley · 2018 10.1111/cgf.13393
- Image-Based Quantitative Analysis of Foxing Stains on Old Printed Paper Documents Heritage · Multidisciplinary Digital Publishing Institute · 2019 10.3390/heritage2030164
- Accurate device-independent colorimetric measurements using smartphones PLoS ONE · Public Library of Science · 2020 10.1371/journal.pone.0230561
- Development of a tablet PC-based portable device for colorimetric determination of assays including COVID-19 and other pathogenic microorganisms RSC Advances · Royal Society of Chemistry · 2020 10.1039/d0ra05866a
- Turning Image Sensors into Position and Time Sensitive Quantitative Colorimetric Data Sources with the Aid of Novel Image Processing/Analysis Software Sensors · Multidisciplinary Digital Publishing Institute · 2020 10.3390/s20226418
- Digital Image Comparisons for Investigating Aging Effects and Artificial Modifications Using Image Analysis Software Journal of Conservation Science · The Korean Society of Conservation Science for Cultural Heritage · 2021 10.12654/jcs.2021.37.1.01
- Image scanner technology Photogrammetric Engineering & Remote Sensing · American Society for Photogrammetry and Remote Sensing · 1980
- A Low-Cost Digital Colorimetry Setup to Investigate the Relationship between Water Color and Its Chemical Composition Sensors · Multidisciplinary Digital Publishing Institute · 2021 10.3390/s21206699
- Extraction of Colour Information from Digital Images Towards Cultural Heritage Characterisation Applications Deleted Journal · 2021 10.26721/spafajournal.2021.v5.690
- A Study on Digital Color Reproduction for Recording Color Appearance of Cultural Heritage Journal of Conservation Science · The Korean Society of Conservation Science for Cultural Heritage · 2022 10.12654/jcs.2022.38.2.09
- The World’s Oldest Book Printed by Movable Metal Type in Korea in 1239: The Song of Enlightenment Heritage · Multidisciplinary Digital Publishing Institute · 2022 10.3390/heritage5020059
- How Was the World’s Oldest Metal-Type-Printed Book (The Song of Enlightenment, Korea, 1239) Misidentified for Nearly 50 Years? Heritage · Multidisciplinary Digital Publishing Institute · 2022 10.3390/heritage5030092
- The art of pain: A quantitative color analysis of the self-portraits of Frida Kahlo Frontiers in Human Neuroscience · Frontiers Media · 2022 10.3389/fnhum.2022.1000656
- Direct Evidence of Metal Type Printing in The Song of Enlightenment, Korea, 1239 Heritage · Multidisciplinary Digital Publishing Institute · 2022 10.3390/heritage5040171