원시데이터 수집 시스템
선정목록으로

Applying Quaternions to Recognize Hidden Details in Images: Rothko as a Case Study

관련 필름·전자재료 · (13) 프리즘 필름

기본 정보

저자
  1. Adam Aharony — Department of Applied Mathematics, Holon Institute of Technology, 52 Golomb St., Holon 5810201, Israel
  2. Ron Hindi — Department of Applied Mathematics, Holon Institute of Technology, 52 Golomb St., Holon 5810201, Israel
  3. Maor Valdman — Department of Applied Mathematics, Holon Institute of Technology, 52 Golomb St., Holon 5810201, Israel
  4. Shai Gul — Department of Applied Mathematics, Holon Institute of Technology, 52 Golomb St., Holon 5810201, Israel
DOI
10.3390/mca28030066
저널
Mathematical and Computational Applications
발행년도
2023
발행기관
Multidisciplinary Digital Publishing Institute
피인용수
1
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.3390/mca28030066
토픽
Color Science and Applications
OpenAlex ID
W4382293700

평가 내용

관련도
관련
사업분야
필름·전자재료 · (13) 프리즘 필름
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '필름·전자재료 > 프리즘 필름' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

Images or paintings with homogeneous colors may appear dull to the naked eye; however, there may be numerous details in the image that are expressed through subtle changes in color. This manuscript introduces a novel approach that can uncover these concealed details via a transformation that increases the distance between adjacent pixels, ultimately leading to a newly modified version of the input image. We chose the artworks of Mark Rothko—famous for their simplicity and limited color palette—as a case study. Our approach offers a different perspective, leading to the discovery of either accidental or deliberate clusters of colors. Our method is based on the quaternion ring, wherein a suitable multiplication can be used to boost the color difference between neighboring pixels, thereby unveiling new details in the image. The quality of the transformation between the original image and the resultant versions can be measured by the ratio between the number of connected components in the original image (m) and the number of connected components in the output versions (n), which usually satisfies nm≫1. Although this procedure has been employed as a case study for artworks, it can be applied to any type of image with a similar simplicity and limited color palette.

본문 19,058자

본문 펼치기
Images or paintings with homogeneous colors may appear dull to the naked eye; however, there may be numerous details in the image that are expressed through subtle changes in color. This manuscript introduces a novel approach that can uncover these concealed details via a transformation that increases the distance between adjacent pixels, ultimately leading to a newly modified version of the input image. We chose the artworks of Mark Rothko-famous for their simplicity and limited color palette-as a case study. Our approach offers a different perspective, leading to the discovery of either accidental or deliberate clusters of colors. Our method is based on the quaternion ring, wherein a suitable multiplication can be used to boost the color difference between neighboring pixels, thereby unveiling new details in the image. The quality of the transformation between the original image and the resultant versions can be measured by the ratio between the number of connected components in the original image (m) and the number of connected components in the output versions (n), which usually satisfies n m 1. Although this procedure has been employed as a case study for artworks, it can be applied to any type of image with a similar simplicity and limited color palette. Introduction Our starting point for this research was a friendly discussion about Mark Rothko's artworks [1], which are characterized by their simplicity and few colors. His simple-looking artworks led us to think about the possibility of finding hidden details within them, as well as in general. Introduction This discussion made us consider the possibility of using various techniques to uncover hidden details in artworks. The intuitive approach is to explore such images using machine learning, deep learning, and general artificial intelligence, which unusually relies on methods of statistical inference. In [2], a convolutional neural network has been defined to generate artificial Rembrandt works based on his previous works. In [3], famous paintings are explored using K-means clustering, developing a system called artistic coloring, which automatically extracts the color characteristics of the artwork and applies them to color transfer. Introduction In contrast, the conservative methods are based on ideas of real analysis and calculus, as in [4], which improves the grayscale by using affine transformations on a given image. Introduction Rothko is a major figure in modern art, whose paintings are often distinguished by their simplicity and rectangles of solid colors. In our capacity as Rothko fans, we wondered if we might be able to reveal in Rothko's paintings something he did not know about his own paintings or something he considered important but which the average image viewer did not observe (or simply a digitization error). The topic of revealing details in images has already been discussed in [5,6], where different image analysis approaches are provided to reveal invisible or hardly discernible details in art and manuscripts based on blind source separation or linear discriminant analysis. Introduction In some cases, with the right procedure, an area within the image can represent two different objects, as in [7], images in which one or more secondary objects (or scenes) are hidden within a primary image. A system was presented for creating such images using a modified Poisson blending, which detects the edges of the object to be hidden, and then finds a place where it can be embedded within the scene, together with a suitable transformation. Introduction In [8], the secrets revealed by a given image are discussed from another perspective, where Escher's hidden secrets of impossible images are unveiled. Introduction In some cases, tomography equipment is considered. In [9], a non-invasive, rapid, high-definition X-ray fluorescence (XRF) elemental mapping technique was applied to a French Impressionist Degas painting using a synchrotron radiation source, showing how this technology can obtain technical details in the paint, which could not be seen in the image using conventional techniques. Introduction We propose a mathematical model that can reveal the hidden details, as a case for Mark Rothko's artworks. Our result would be first demonstrated on Figure 1, and then we explore the model's performance for each of Rothko's artworks given in Figure 2. The desired model needs to satisfy the function Z 3 256 → Z 3 256 ; it also needs to increase the distance between similar color pixels, which the human eye struggles to recognize the difference between, in a way that does not ruin the entire image. That led us to the quaternion ring H (see expression (2)), which is a set of transformations R 4 → R 4 with specific relations. It turns out that this structure of quaternions has been applied to various fields. In [10], unit graphs of symmetric, quaternion and Heisenberg groups were studied, and in [11], a public key authentication scheme over quaternions was introduced. Introduction The use of quaternions to represent pixels was previously considered in [12][13][14], which allows for consideration of the color information in a holistic and integrated fashion. In this manuscript, we use the quaternion algebraic structure for pattern recognition. Our motivation is to distinguish between small color differences, which can be significant in various applications, from satellite imaging to discovering new details in a given artwork. Introduction Our procedure can differentiate between colors that might seem identical to the naked eye but are different. Our procedure obtains an RGB image in which some colors may be similar. We transform this image using the same location for every pixel and a new color with the desired quaternion transformation, which reveals new details in the image. Lastly, our transformation can be evaluated by comparing the number of connected components using algorithms before and after the transformation (as in [15,16]). Introduction In our case study of Rothko's artworks, we believe that people familiar with his artworks will be surprised by the myriad of details that can be extracted from them. We believe that our method can provide a novel perspective of images that are typically considered to be straightforward. Preliminaries In this work, we use Z 256 , which is a set of the residues modulo 256; that is, R = {0, . . . , 255}, where the addition and multiplication are defined as follows Preliminaries This number n = 256 can be replaced with any other finite number n, which leads to Z n . Since, in this manuscript, we would like to explore the color space, we chose n = 256. The Quaternion ring is defined as follows: Preliminaries satisfying the relations Preliminaries We use the quaternion ring to define our RGB patterns. The quaternion ring is a generalization of C and can be thought of as a specific set of transformations from R 4 → R 4 . We can think of the elements of the ring as vectors of the shape (x, y, z, w), where each entry represents a color channel. In RGB, we only need three channels, so we will eliminate one of the entries. This new structure is not commutative in the sense that if you take two elements, x, y, in H, it is not true that x · y = y · x. For example, if we take x = i, which is represented by the vector (0, 1, 0, 0), and y = j, which is represented by the vector (0, 0, 1, 0), we will get that x · y is the vector (0, 0, 0, 1), while y · x is the vector (0, 0, 0, −1) (which by the modulo is an opposite color). Preliminaries In our method, we also need to evaluate the performance of our transformation, which leads us to the following definition. Preliminaries Connected components labeling is a fundamental image-processing technique used to identify and differentiate objects in a digital image. It involves analyzing the pixels of an image to determine which pixels are connected and thus form individual objects. Preliminaries Then, assigning a unique label to each object. Connected components' labeling begins by examining the pixels of an image and assigning a unique label to each object. This can be achieved by examining each pixel in the image, and assigning a label to each connected region of pixels. For example, a label might be assigned to each region of pixels that form a shape, or to each region of pixels with a certain color or shade. Once all the objects in the image have been labeled, the connected components' labeling algorithm can be used to identify and differentiate between the objects in the image. This is achieved by examining the labels of the pixels and comparing them to the labels of the other pixels in the image. If two pixels have the same label, they are considered to be part of the same object. By examining the labels, the connected components' labeling algorithm can identify the objects in the image and differentiate them from each other. Preliminaries Otsu's algorithm [17] is an algorithm in image processing used to automatically classify a given image into two (or more) classes, often referred to as the foreground and background. The algorithm is based on the idea of maximizing the interclass variance between the two classes and works by calculating the interclass variance of each possible threshold level and then selecting the threshold that maximizes the variance. The resulting threshold is then used to separate the image into two classes, with pixels within the threshold range belonging to the foreground class and those outside the range belonging to the background class. Otsu's algorithm is widely used in image segmentation and feature extraction, as it can quickly and accurately separate an image into distinct regions. Additionally, the algorithm is often used in the preprocessing of images for applications such as facial recognition, object detection, and medical imaging. Remark 1. Notice that the Otsu filter can be beneficial in revealing new details in grayscale images through the selection of appropriate parameters in edge detection; however, our technique generalizes this to the RGB format. Our Results The human eye is usually unable to discern the differences between colors such as (0, 0, 255) and (0, 0, 252), which are both very similar blue colors. When an image is composed of such pixels, it appears to be a single-hued image. The primary objective of the manuscript is to distinguish areas with similar colors in (R, G, B) format by a transformation T, which increases the distance between similar pixels in a given sub-image. For example, given two neighborhoods, n i and n j , which are located relatively close to each other and similar in their (R, G, B) color definition, T can transform them to the same location but yield a better color separation (as we will show and explain later on in Table 1). This characterization can highlight nuances that may seem esoteric, yet are of great importance in certain image-processing applications. We are confident that our technique can successfully perform this kind of separation, whereas common filters based on gradient techniques (see the comparison in Figure 3) often have difficulty recognizing differences in colors in a given location neighborhood. Figure 1 presents a typical Rothko artwork, characterized by visual simplicity, a limited number of colors, and its acclaimed rectangular shapes. This manuscript uses Rothko's artworks as a case study to meet the requirements of the problem, which involves distinguishing between similar colors within an image. To accomplish this, we employ the Quaternion ring, which is a map R 4 → R 4 that needs to be matched to a transformation on the RGB color space, i.e., Z 3 256 → Z 3 256 . To separate similar pixels, such as p 1 = (0, 0, 255) and p 2 = (0, 0, 252), we define a function that transforms them such that the distance d(p 1 , p 2 ) d(p 1 ,p 2 ), wherep 1 ,p 2 are the pixels after the transformation. Our technique is based on the given algebraic structure, which, with the right function, can reveal separation. Care must be taken with the transformation of the pixels: if d(p 1 , p 2 ) = d(p 1 ,p 2 ) + ε (where ε is a small integer), the hidden parts of the image will not appear if the transformation is not significant enough from the original. Conversely, if the pixel transformation results in too large of a distance between every two neighbors, the image will become chaotic, as shown in Figure 4. This image was obtained by a transformation, which significantly increases the metric between neighboring pixels and transforms the pixels to 'far' in the color space (compared to the original Figure 1); in this case, it is defined by H 2 , resulting in a noisy image. Our Results To succeed in this separation, trial and error are key to discovering the appropriate distance, which reveals areas with distinct color differences, leading to the completion of the clustering process. Ultimately, our results will be measured by the number of clusters in the image before and after transforming the neighboring structure in the given color space. Our Results Notice that multiplication by quaternions, such as i · H =⇒ |i · H| = |H|, will not lead to the desired result, since it only changes the colors, but d(p 1 , p 2 ) = d(p 1 ,p 2 ). We are now ready to apply our method to reveal hidden details. Figure 5a shows a solid color image; however, upon closer inspection, there are a few small changes compared to an absolute solid color image. Some of the pixels are defined by an arbitrary color in RGB; let this color be (r, g, b), and some by (r + 1, g + 1, b + 1), which are too subtle for the human eye to detect. We choose the quaternion transformation obtained by H · (2 + i + 3j), which leads to Figure 5b-e are obtained by nullifying the first, second, third, and fourth elements of the vector, respectively. This result is obtained by increasing the distances between neighboring pixels, thus revealing the smiley in the image (see further details in the following Section 3.2). Find the Hidden Details Note that this technique works as expected when adding random noise to the image, see Figure 6. Demonstrating Our Technique on Rothko's Artwork No. 1 In this subsection, we explore different quaternion transformations of Rothko's artwork in Figure 1. These different multiplication transformations lead to vastly different results. We will now describe each of them. Demonstrating Our Technique on Rothko's Artwork No. 1 Firstly, consider the multiplication transformation Demonstrating Our Technique on Rothko's Artwork No. 1 This transformation increases the Euclidean distance by between H and H · (1 + k) by √ 2, which is our initial choice of increasing distances between neighboring pixels. To reduce the dimension to represent an RGB image, one of the vector components must be eliminated. Demonstrating Our Technique on Rothko's Artwork No. 1 As an example, consider the fourth component a + d = 0, which leads to (2a, b + c, −b + c). Now, since the desired output is an RGB image, we choose R = a, G = b, and B = c, i.e., (2R, G + B, B − G) where we apply modulo 256 on each channel, see Figure 7d. In a similar way, Figure 7a is obtained by eliminating the first component by the rule a − d = 0, Figure 7b is obtained by eliminating the second component by the rule b + c = 0, and Figure 7c is obtained by eliminating the third component by the rule −b + c = 0. Notice that by multiplying from the left, we obtain the vector (a − d, b − c, b + c, a + d). Demonstrating Our Technique on Rothko's Artwork No. 1 Secondly, consider the multiplication transformation H · (2 + i + 3j) = (2a − b − 3c, a + 2b − 3d, 3a + 2c + d, 3b − c + 2d) ∈ R 4 . This transformation increases the distance between H and H · (2 + i + 3j) by √ 12 = 2 √ 3, which is larger than the previous transformation due to our expectation that it should be increased (a justification will be given in the next Section 4). In a similar manner, we reduce the amount of vector components from four to three, which leads to Figure 8. Table 1 compares between an area in the source image and the transformed image. We explore the location (i, j) ∈ N 2 of the images where i ∈ [230, 234] and j ∈ [662, 666], which define a color pixel(i, j). As we can observe from the source image, neighboring pixels are relatively close in the color space. However, in the transformed image, there is a marked contrast between them, which subsequently leads to better color separation. Demonstrating Our Technique on Rothko's Artwork No. 1 Note that every quaternion polynomial from degree ≥ 2 leads to a chaotic image, as in Figure 4. Estimations and Comparison for Measuring the Quaternion Transformation Performance Despite the similar number of colors in the source and transformed images, we must provide a quantitative measure to verify the presence of greater visual detail in the transformed image. These visual details are obtained through the quaternion transformation, which leads to a sharp color change in the vicinity of a given pixel in the transformed image. This sharp color change creates different color areas, which can be thought of as different connected components. We evaluate our procedure by the number of connected components; that is, a comparison between the number of connected component labeling in the source image and the transformed image, which was obtained by the Quaternion transformation. Our procedure for the estimation is as follows: The given image is converted to grayscale, then a threshold mask is obtained using Otsu's method, which outputs a black-and-white image to which we apply the connected component labeling algorithm (in our case, we chose the Spaghetti Labeling algorithm), and return the number of connected components. Estimations and Comparison for Measuring the Quaternion Transformation Performance This procedure was applied to ten images of Rothko; the results are presented in Table 2a,b, which compares the number of connected components before and after applying a given quaternion transformation. This indicates a lower bound of a factor of 2 for Rothko's No. 2 artwork in the dataset and an upper bound of almost 500. Summary This manuscript presents a quantitative measure to verify the presence of greater visual detail in images of Rothko using a quaternion transformation. A procedure was carried out to compare the number of connected components before and after the quaternion transformation. We defined a performance metric as the ratio between the connected components after and before the transformation. The results demonstrate a lower bound of a factor of two and an upper bound of almost 500, indicating a significant difference in visual detail between the source and transformed images. Data Availability Statement: Our data set (as a case study) contains famous artworks of Mark Rothko , all in Figure 2, which were downloaded from the internet. All other figures are produced by us. Conflicts of Interest: The authors declare no conflict of interest.

섹션 본문 35문단 · 18,177자

(제목 없음)

1Images or paintings with homogeneous colors may appear dull to the naked eye; however, there may be numerous details in the image that are expressed through subtle changes in color. This manuscript introduces a novel approach that can uncover these concealed details via a transformation that increases the distance between adjacent pixels, ultimately leading to a newly modified version of the input image. We chose the artworks of Mark Rothko-famous for their simplicity and limited color palette-as a case study. Our approach offers a different perspective, leading to the discovery of either accidental or deliberate clusters of colors. Our method is based on the quaternion ring, wherein a suitable multiplication can be used to boost the color difference between neighboring pixels, thereby unveiling new details in the image. The quality of the transformation between the original image and the resultant versions can be measured by the ratio between the number of connected components in the original image (m) and the number of connected components in the output versions (n), which usually satisfies n m 1. Although this procedure has been employed as a case study for artworks, it can be applied to any type of image with a similar simplicity and limited color palette.

Introduction

2Our starting point for this research was a friendly discussion about Mark Rothko's artworks [1], which are characterized by their simplicity and few colors. His simple-looking artworks led us to think about the possibility of finding hidden details within them, as well as in general.

3This discussion made us consider the possibility of using various techniques to uncover hidden details in artworks. The intuitive approach is to explore such images using machine learning, deep learning, and general artificial intelligence, which unusually relies on methods of statistical inference. In [2], a convolutional neural network has been defined to generate artificial Rembrandt works based on his previous works. In [3], famous paintings are explored using K-means clustering, developing a system called artistic coloring, which automatically extracts the color characteristics of the artwork and applies them to color transfer.

4In contrast, the conservative methods are based on ideas of real analysis and calculus, as in [4], which improves the grayscale by using affine transformations on a given image.

5Rothko is a major figure in modern art, whose paintings are often distinguished by their simplicity and rectangles of solid colors. In our capacity as Rothko fans, we wondered if we might be able to reveal in Rothko's paintings something he did not know about his own paintings or something he considered important but which the average image viewer did not observe (or simply a digitization error). The topic of revealing details in images has already been discussed in [5,6], where different image analysis approaches are provided to reveal invisible or hardly discernible details in art and manuscripts based on blind source separation or linear discriminant analysis.

6In some cases, with the right procedure, an area within the image can represent two different objects, as in [7], images in which one or more secondary objects (or scenes) are hidden within a primary image. A system was presented for creating such images using a modified Poisson blending, which detects the edges of the object to be hidden, and then finds a place where it can be embedded within the scene, together with a suitable transformation.

7In [8], the secrets revealed by a given image are discussed from another perspective, where Escher's hidden secrets of impossible images are unveiled.

8In some cases, tomography equipment is considered. In [9], a non-invasive, rapid, high-definition X-ray fluorescence (XRF) elemental mapping technique was applied to a French Impressionist Degas painting using a synchrotron radiation source, showing how this technology can obtain technical details in the paint, which could not be seen in the image using conventional techniques.

9We propose a mathematical model that can reveal the hidden details, as a case for Mark Rothko's artworks. Our result would be first demonstrated on Figure 1, and then we explore the model's performance for each of Rothko's artworks given in Figure 2. The desired model needs to satisfy the function Z 3 256 → Z 3 256 ; it also needs to increase the distance between similar color pixels, which the human eye struggles to recognize the difference between, in a way that does not ruin the entire image. That led us to the quaternion ring H (see expression (2)), which is a set of transformations R 4 → R 4 with specific relations. It turns out that this structure of quaternions has been applied to various fields. In [10], unit graphs of symmetric, quaternion and Heisenberg groups were studied, and in [11], a public key authentication scheme over quaternions was introduced.

10The use of quaternions to represent pixels was previously considered in [12][13][14], which allows for consideration of the color information in a holistic and integrated fashion. In this manuscript, we use the quaternion algebraic structure for pattern recognition. Our motivation is to distinguish between small color differences, which can be significant in various applications, from satellite imaging to discovering new details in a given artwork.

11Our procedure can differentiate between colors that might seem identical to the naked eye but are different. Our procedure obtains an RGB image in which some colors may be similar. We transform this image using the same location for every pixel and a new color with the desired quaternion transformation, which reveals new details in the image. Lastly, our transformation can be evaluated by comparing the number of connected components using algorithms before and after the transformation (as in [15,16]).

12In our case study of Rothko's artworks, we believe that people familiar with his artworks will be surprised by the myriad of details that can be extracted from them. We believe that our method can provide a novel perspective of images that are typically considered to be straightforward.

Preliminaries

13In this work, we use Z 256 , which is a set of the residues modulo 256; that is, R = {0, . . . , 255}, where the addition and multiplication are defined as follows

14This number n = 256 can be replaced with any other finite number n, which leads to Z n . Since, in this manuscript, we would like to explore the color space, we chose n = 256. The Quaternion ring is defined as follows:

15satisfying the relations

16We use the quaternion ring to define our RGB patterns. The quaternion ring is a generalization of C and can be thought of as a specific set of transformations from R 4 → R 4 . We can think of the elements of the ring as vectors of the shape (x, y, z, w), where each entry represents a color channel. In RGB, we only need three channels, so we will eliminate one of the entries. This new structure is not commutative in the sense that if you take two elements, x, y, in H, it is not true that x · y = y · x. For example, if we take x = i, which is represented by the vector (0, 1, 0, 0), and y = j, which is represented by the vector (0, 0, 1, 0), we will get that x · y is the vector (0, 0, 0, 1), while y · x is the vector (0, 0, 0, −1) (which by the modulo is an opposite color).

17In our method, we also need to evaluate the performance of our transformation, which leads us to the following definition.

18Connected components labeling is a fundamental image-processing technique used to identify and differentiate objects in a digital image. It involves analyzing the pixels of an image to determine which pixels are connected and thus form individual objects.

19Then, assigning a unique label to each object. Connected components' labeling begins by examining the pixels of an image and assigning a unique label to each object. This can be achieved by examining each pixel in the image, and assigning a label to each connected region of pixels. For example, a label might be assigned to each region of pixels that form a shape, or to each region of pixels with a certain color or shade. Once all the objects in the image have been labeled, the connected components' labeling algorithm can be used to identify and differentiate between the objects in the image. This is achieved by examining the labels of the pixels and comparing them to the labels of the other pixels in the image. If two pixels have the same label, they are considered to be part of the same object. By examining the labels, the connected components' labeling algorithm can identify the objects in the image and differentiate them from each other.

20Otsu's algorithm [17] is an algorithm in image processing used to automatically classify a given image into two (or more) classes, often referred to as the foreground and background. The algorithm is based on the idea of maximizing the interclass variance between the two classes and works by calculating the interclass variance of each possible threshold level and then selecting the threshold that maximizes the variance. The resulting threshold is then used to separate the image into two classes, with pixels within the threshold range belonging to the foreground class and those outside the range belonging to the background class. Otsu's algorithm is widely used in image segmentation and feature extraction, as it can quickly and accurately separate an image into distinct regions. Additionally, the algorithm is often used in the preprocessing of images for applications such as facial recognition, object detection, and medical imaging.

Remark 1.

21Notice that the Otsu filter can be beneficial in revealing new details in grayscale images through the selection of appropriate parameters in edge detection; however, our technique generalizes this to the RGB format.

Our Results

22The human eye is usually unable to discern the differences between colors such as (0, 0, 255) and (0, 0, 252), which are both very similar blue colors. When an image is composed of such pixels, it appears to be a single-hued image. The primary objective of the manuscript is to distinguish areas with similar colors in (R, G, B) format by a transformation T, which increases the distance between similar pixels in a given sub-image. For example, given two neighborhoods, n i and n j , which are located relatively close to each other and similar in their (R, G, B) color definition, T can transform them to the same location but yield a better color separation (as we will show and explain later on in Table 1). This characterization can highlight nuances that may seem esoteric, yet are of great importance in certain image-processing applications. We are confident that our technique can successfully perform this kind of separation, whereas common filters based on gradient techniques (see the comparison in Figure 3) often have difficulty recognizing differences in colors in a given location neighborhood. Figure 1 presents a typical Rothko artwork, characterized by visual simplicity, a limited number of colors, and its acclaimed rectangular shapes. This manuscript uses Rothko's artworks as a case study to meet the requirements of the problem, which involves distinguishing between similar colors within an image. To accomplish this, we employ the Quaternion ring, which is a map R 4 → R 4 that needs to be matched to a transformation on the RGB color space, i.e., Z 3 256 → Z 3 256 . To separate similar pixels, such as p 1 = (0, 0, 255) and p 2 = (0, 0, 252), we define a function that transforms them such that the distance d(p 1 , p 2 ) d(p 1 ,p 2 ), wherep 1 ,p 2 are the pixels after the transformation. Our technique is based on the given algebraic structure, which, with the right function, can reveal separation. Care must be taken with the transformation of the pixels: if d(p 1 , p 2 ) = d(p 1 ,p 2 ) + ε (where ε is a small integer), the hidden parts of the image will not appear if the transformation is not significant enough from the original. Conversely, if the pixel transformation results in too large of a distance between every two neighbors, the image will become chaotic, as shown in Figure 4. This image was obtained by a transformation, which significantly increases the metric between neighboring pixels and transforms the pixels to 'far' in the color space (compared to the original Figure 1); in this case, it is defined by H 2 , resulting in a noisy image.

23To succeed in this separation, trial and error are key to discovering the appropriate distance, which reveals areas with distinct color differences, leading to the completion of the clustering process. Ultimately, our results will be measured by the number of clusters in the image before and after transforming the neighboring structure in the given color space.

24Notice that multiplication by quaternions, such as i · H =⇒ |i · H| = |H|, will not lead to the desired result, since it only changes the colors, but d(p 1 , p 2 ) = d(p 1 ,p 2 ). We are now ready to apply our method to reveal hidden details. Figure 5a shows a solid color image; however, upon closer inspection, there are a few small changes compared to an absolute solid color image. Some of the pixels are defined by an arbitrary color in RGB; let this color be (r, g, b), and some by (r + 1, g + 1, b + 1), which are too subtle for the human eye to detect. We choose the quaternion transformation obtained by H · (2 + i + 3j), which leads to Figure 5b-e are obtained by nullifying the first, second, third, and fourth elements of the vector, respectively. This result is obtained by increasing the distances between neighboring pixels, thus revealing the smiley in the image (see further details in the following Section 3.2).

Find the Hidden Details

25Note that this technique works as expected when adding random noise to the image, see Figure 6.

Demonstrating Our Technique on Rothko's Artwork No. 1

26In this subsection, we explore different quaternion transformations of Rothko's artwork in Figure 1. These different multiplication transformations lead to vastly different results. We will now describe each of them.

27Firstly, consider the multiplication transformation

28This transformation increases the Euclidean distance by between H and H · (1 + k) by √ 2, which is our initial choice of increasing distances between neighboring pixels. To reduce the dimension to represent an RGB image, one of the vector components must be eliminated.

29As an example, consider the fourth component a + d = 0, which leads to (2a, b + c, −b + c). Now, since the desired output is an RGB image, we choose R = a, G = b, and B = c, i.e., (2R, G + B, B − G) where we apply modulo 256 on each channel, see Figure 7d. In a similar way, Figure 7a is obtained by eliminating the first component by the rule a − d = 0, Figure 7b is obtained by eliminating the second component by the rule b + c = 0, and Figure 7c is obtained by eliminating the third component by the rule −b + c = 0. Notice that by multiplying from the left, we obtain the vector (a − d, b − c, b + c, a + d).

30Secondly, consider the multiplication transformation H · (2 + i + 3j) = (2a − b − 3c, a + 2b − 3d, 3a + 2c + d, 3b − c + 2d) ∈ R 4 . This transformation increases the distance between H and H · (2 + i + 3j) by √ 12 = 2 √ 3, which is larger than the previous transformation due to our expectation that it should be increased (a justification will be given in the next Section 4). In a similar manner, we reduce the amount of vector components from four to three, which leads to Figure 8. Table 1 compares between an area in the source image and the transformed image. We explore the location (i, j) ∈ N 2 of the images where i ∈ [230, 234] and j ∈ [662, 666], which define a color pixel(i, j). As we can observe from the source image, neighboring pixels are relatively close in the color space. However, in the transformed image, there is a marked contrast between them, which subsequently leads to better color separation.

31Note that every quaternion polynomial from degree ≥ 2 leads to a chaotic image, as in Figure 4.

Estimations and Comparison for Measuring the Quaternion Transformation Performance

32Despite the similar number of colors in the source and transformed images, we must provide a quantitative measure to verify the presence of greater visual detail in the transformed image. These visual details are obtained through the quaternion transformation, which leads to a sharp color change in the vicinity of a given pixel in the transformed image. This sharp color change creates different color areas, which can be thought of as different connected components. We evaluate our procedure by the number of connected components; that is, a comparison between the number of connected component labeling in the source image and the transformed image, which was obtained by the Quaternion transformation. Our procedure for the estimation is as follows: The given image is converted to grayscale, then a threshold mask is obtained using Otsu's method, which outputs a black-and-white image to which we apply the connected component labeling algorithm (in our case, we chose the Spaghetti Labeling algorithm), and return the number of connected components.

33This procedure was applied to ten images of Rothko; the results are presented in Table 2a,b, which compares the number of connected components before and after applying a given quaternion transformation. This indicates a lower bound of a factor of 2 for Rothko's No. 2 artwork in the dataset and an upper bound of almost 500.

Summary

34This manuscript presents a quantitative measure to verify the presence of greater visual detail in images of Rothko using a quaternion transformation. A procedure was carried out to compare the number of connected components before and after the quaternion transformation. We defined a performance metric as the ratio between the connected components after and before the transformation. The results demonstrate a lower bound of a factor of two and an upper bound of almost 500, indicating a significant difference in visual detail between the source and transformed images. Data Availability Statement: Our data set (as a case study) contains famous artworks of Mark Rothko , all in Figure 2, which were downloaded from the internet. All other figures are produced by us.

Conflicts of Interest:

35The authors declare no conflict of interest.

참고문헌 14건

  1. Quaternion Fourier Transforms for Signal and Image Processing 2014 10.1002/9781118930908
  2. FCM-Based Model Selection Algorithms for Determining the Number of Clusters Pattern Recognition · Elsevier BV · 2004 10.1016/j.patcog.2004.03.012
  3. Color Image Analysis by Quaternion-Type Moments Journal of Mathematical Imaging and Vision · Springer Science+Business Media · 2014 10.1007/s10851-014-0511-6
  4. A Threshold Selection Method from Gray-Level Histograms IEEE Transactions on Systems Man and Cybernetics · Institute of Electrical and Electronics Engineers · 1979 10.1109/tsmc.1979.4310076
  5. Hidden images 2011 10.1145/2024676.2024681
  6. Artistic Coloring: Color Transfer from Painting International Journal of Pattern Recognition and Artificial Intelligence · World Scientific · 2016 10.1142/s0218001416540057
  7. A Hidden Portrait by Edgar Degas Scientific Reports · Nature Portfolio · 2016 10.1038/srep29594
  8. Rational Spline Image Upscaling with Constraint Parameters Mathematical and Computational Applications · Multidisciplinary Digital Publishing Institute · 2016 10.3390/mca21040048
  9. Unit graphs and subgraphs of Symmetric, Quaternion and Heisenberg groups Journal of Information and Optimization Sciences · Taylor & Francis · 2017 10.1080/02522667.2016.1250455
  10. The connected-component labeling problem: A review of state-of-the-art algorithms Pattern Recognition · Elsevier BV · 2017 10.1016/j.patcog.2017.04.018
  11. Image Fragile Watermarking through Quaternion Linear Transform in Secret Space Journal of Imaging · Multidisciplinary Digital Publishing Institute · 2017 10.3390/jimaging3030034
  12. Analytical and mathematical methods for revealing hidden details in ancient manuscripts and paintings: A review Journal of Advanced Research · Elsevier BV · 2019 10.1016/j.jare.2019.01.003
  13. Unveiling the Secrets of Escher’s Lithographs Journal of Imaging · Multidisciplinary Digital Publishing Institute · 2020 10.3390/jimaging6020005
  14. Public key authentication scheme over quaternions Journal of Discrete Mathematical Sciences and Cryptography · Taylor & Francis · 2020 10.1080/09720529.2020.1800786