Abstract:
The present invention provides systems and methods for image recoloring and color standardization. The invention relates, in part, to standardization of digitized whole-slide histopathology images and digitized images of tissue microarrays (TMA). Various aspects of the invention are directed to the detection of color feature points from 3D histogram of a reference image (considered a well-stained image) and the region-based transference of color statistics between a reference image and a target image (image to be standardize). Another aspect of the present invention is an image/video colorfulness measure. A further aspect of the invention includes multimedia analytics application, including a retrieval application. Another aspect of the invention is directed to on-line viewing and recoloring of images, including but not limited to face and clothing.

Description:
PRIORITY CLAIM 
       [0001]    This application claims priority to U.S. Provisional Application Ser. No. 62/138,696 entitled “SYSTEMS AND METHODS FOR IMAGE/VIDEO RECOLORING, COLOR STANDARDIZATION, AND MULTIMEDIA ANLYTICS” filed Mar. 26, 2015, which is incorporated herein by reference in its entirety. 
     
    
     BACKGROUND OF THE INVENTION 
       [0002]    1. Field of the Invention 
         [0003]    The invention relates generally to the image color processing and measurements recoloring, and standardization. Particularly, this invention is directed to color standardization of digitized histopathology and recoloring of faces, clothes, landscapes, etc. More specifically, it includes (a) systems and methods for locally transferring color from a reference well-stained histopathology image to one or more histopathology images, such that they can be further analyzed and compared by automated computerized diagnosis systems; (b) to improvements in quality assurance for pathology using digital microscopy; (c) to system and methods for application e-commerce, including recoloring face, clothing, and other kinds of images; and (d) systems and methods for application image and/or video analytics, including image retrieval. 
         [0004]    2. Description of the Relevant Art 
         [0005]    Color standardization of histopathology plays an important role in image analysis because the performance of the classification may be adversely affected by color variations. Color variations are caused by variations in staining and scanning conditions due to image acquisition protocols, capturing-device properties, and lighting conditions. Color nonstandardness (i.e., the notion that different image regions corresponding to the same tissue will occupy different ranges in the color spectrum) is one of the most important issues in whole-slide imaging technologies, particularly since even subtle variations of color appearance might cause image misinterpretation by pathologists or computerized decision support systems. Two aspects have made the standardization of color a challenging problem: the presence of important, but subtle, diagnostically important details in color images, and the heterogeneity of tissue composition. Several approaches to histopathology color standardization have been proposed. However, none of the approaches have used a quality metric to evaluate the performance of the standardization algorithm being used and its impact on the overall quality of the image. 
         [0006]    Although several studies have been carried out to develop algorithms for color image standardization, various researchers in the field of computer-aided diagnosis of (CAD of PCa) only used color model transformations for image normalization. For instance, Red Blue Green (RGB) to Hue Saturation Intensity (HSI) transformation in order to confine color variations to the intensity channel of the HSI color space instead of affecting all three RGB channels Other perceptual color models such as CIELAB can be also used for normalizing color images. 
         [0007]    Color standardized images can be then quantitative analyzed and fairly compared to images from different laboratories and scanned using different whole-slide imaging (WSI) technologies. 
         [0008]    A particular application of the invention is directed to online apparel shopping involving a color matching scheme using color codes provided with images to be merged. For example, on-line viewing of one article, such as clothing, on another structure, including creating an item from image-data corresponding to a colored article selected by an on-line viewer from an on-line viewer site with an image of a color structure selected by the on-line viewer, and indicating whether the colored article and the colored structure satisfy a color-matching criterion. The consumer in today&#39;s market is limited to a particular retailer&#39;s or department store&#39;s inventory, selection and styles. Recent technological advances have attempted to enhance the shopping ability through the use of e-commerce, referred to as “online shopping.” There is, therefore, a commercial need for better measurement and recoloring technology. 
       SUMMARY OF THE INVENTION 
       [0009]    The present invention discloses a system and methods for standardizing the color of digitized histopathology slides based on local transference of color statistics between a reference well-stained image and a target image. Color standardization is a necessary preprocessing step prior to image description and quantitative analysis. 
         [0010]    In one embodiment, the present invention provides a method for detecting the predominant colors of a histopathology slide or region of interest. Those feature colors are selected via 3D color histogram maxima detection. The membership of the pixel of the reference and target images is determined by minimizing a distance metric, for example Euclidean distance. It is important to know that the disclosed method reference cluster membership of pixels in the reference and target images to the selected reference color features. 
         [0011]    Another embodiment of the inventions refers to the mechanism for transferring color statistics. This method computes the mean (or alpha-trimmed mean) and standard deviation for each cluster referenced to color feature points in order to transfer statistics of color channel independently between the reference and target images. Local color transference is an additive linear function and the amount of transference between specific image regions is modulated by a fuzzy membership coefficient. 
         [0012]    The methods of the present invention successfully standardize the color of histopathology images while preserving important diagnostic details and structural information of the image. 
         [0013]    The methods of the present invention may be incorporated into other schemes, for example, Systems and Methods for Quantative Analysis of Whole-Slide Histopathology Images Using Multi-Classifier Ensemble Schemes, by Sos S. Agaian, Clara M. Mosquera-Lopez and Aaron Greenblatt, Application No. PCT/US14/60178, herein incorporated by reference. Also herein incorporated by reference is Clara Mosquera-Lopez and Sos Agaian, Color Standardization of Digitized Histopathology Using Fuzzy Association of Nonstandardized Pixels with Reference 3D Color Histogram Feature Points (submitted to IEEE TRANS. ON BIOMEDICAL ENG. 2015). 
     
    
     
       BRIEF DESCRIPTION OF THE DRAWINGS 
         [0014]    Advantages of the present invention will become apparent to those skilled in the art with the benefit of the following detailed description of embodiments and upon reference to the accompanying drawings in which: 
           [0015]      FIG. 1  presents the flow diagram of the disclosed system and methods; 
           [0016]      FIG. 2  shows an illustrative example of the detected histogram feature points; 
           [0017]      FIG. 3  illustrates the results of segmenting a reference image according to the nearest neighbor dominant color; 
           [0018]      FIG. 4  presents the result of image standardization using the disclosed methods; 
           [0019]      FIG. 5  shows a flow diagram of a method for color standardization using stored reference images; 
           [0020]      FIG. 6  presents an example of face color modification using fuzzy color transference; 
           [0021]      FIG. 7  shows the colorfulness measure for several prostate cancer histopathology images; 
           [0022]      FIG. 8  shows the colorfulness measure for several flowers images; 
           [0023]      FIG. 9  shows the colorfulness measure for several plain color patches; and 
           [0024]      FIG. 10  shows the colorfulness measure for prostate cancer histopathology images of different grades (Gleason grade 3, 4, and 5). 
       
    
    
       [0025]    While the invention may be susceptible to various modifications and alternative forms, specific embodiments thereof are shown by way of example in the drawings and will herein be described in detail. The drawings may not be to scale. It should be understood, however, that the drawings and detailed description thereto are not intended to limit the invention to the particular form disclosed, but to the contrary, the intention is to cover all modifications, equivalents, and alternatives falling within the spirit and scope of the present invention as defined by the appended claims. 
       DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS 
       [0026]    It is to be understood the present invention is not limited to particular devices or methods, which may, of course, vary. It is also to be understood that the terminology used herein is for the purpose of describing particular embodiments only, and is not intended to be limiting. As used in this specification and the appended claims, the singular forms “a”, “an”, and “the” include singular and plural referents unless the content clearly dictates otherwise. Furthermore, the word “may” is used throughout this application in a permissive sense (i.e., having the potential to, being able to), not in a mandatory sense (i.e., must). The term “include,” and derivations thereof, mean “including, but not limited to.” The term “coupled” means directly or indirectly connected. 
       Local Color Correction and Recoloring in Whole-Slide Histopathology Images Using 3d Color Histogram Reference Feature Points 
       [0027]    This disclosure provides a system and methods for color standardization of biopsy images, such that tissue structures are colored in the same way, regardless the source of the tissue and the complexity of the tissue structures. The local color normalization approach disclosed here is designed to process the color of an input image or target image I t  according to a reference image I r ; I t  has a desired color distribution for a given application. For example, this preprocessing system can be used prior to feature extraction and classification in computer-aided diagnosis systems for cancerous regions from whole-slide histopathology. The system comprises 3 general blocks as illustrates in  FIG. 1 : (1) 3D color histogram feature points, (2) image pixels clustering, and (3) statistics calculation and transference. 
         [0000]    Consider an image I={f (i, j, k)|1≦i≦H, 1≦j≦W, kε{r, g, b}}, of size H×W pixels and each pixel i p  is composed by 3 color components, for example {r, g, b } or components corresponding to any other suitable color space. For the specific case of a RGB color model, each channel of the image may have pixel components with intensity levels in the interval [0, 255]. Then, the 3D color histogram of I r  can be computed as follows: 
         [0000]    
       
         
           
             
               
                 
                   
                     h 
                      
                     
                       ( 
                       
                         r 
                         , 
                         g 
                         , 
                         b 
                       
                       ) 
                     
                   
                   = 
                   
                     
                       ∑ 
                       
                         p 
                         = 
                         1 
                       
                       
                         H 
                         × 
                         W 
                       
                     
                      
                     
                       
                         1 
                         
                           
                             i 
                             p 
                           
                           = 
                           
                             { 
                             
                               r 
                               , 
                               g 
                               , 
                               b 
                             
                             } 
                           
                         
                       
                        
                       
                         ( 
                         
                           i 
                           p 
                         
                         ) 
                       
                     
                   
                 
               
               
                 
                   Equation 
                    
                   
                       
                   
                    
                   1 
                 
               
             
           
         
       
     
         [0028]    Next an iterative process is performed to find relevant local maxima in the histogram. Those more frequent points are considered histograms features and they are somehow related to important tissue structures. Initial local maxima candidates are detected using a non-overlapping sliding window of size s×s×s. A histogram point h(r,g,b) is considered a maximum if all the other pixels within the window have lower frequency. 
         [0029]    Once initial maxima are detected, the histogram is repeatedly filtered using Gaussian filters with varying standard deviations to construct histograms scales; only the maxima points are kept after filtering. The number of scales produced by iteratively filtering the 3D color histogram can be adjusted according to the application and the expected results. The final maxima points are called histogram features and examples of histogram features for Hematoxylin and Eosin stained prostate cancer tissue samples are shown in  FIG. 2 . 
         [0030]    In another embodiment, the invention provides a method for grouping image pixels using the detected histogram features. First, hard clusters are defined in the reference image I by minimizing a distance metric such as the Euclidean distance between each pixel and all possible feature points. This process results in labeling each pixel in the reference image. On the other hand, the pixels in the target are grouped using a fuzzy membership which will be used later to modulate the amount of color transference. The membership index is computed using the following equation: 
         [0000]    
       
         
           
             
               
                 
                   
                     u 
                     pj 
                   
                   = 
                   
                     1 
                     
                       
                         ∑ 
                         l 
                       
                        
                       
                         
                           ( 
                           
                             
                                
                               
                                 
                                   i 
                                   p 
                                 
                                 - 
                                 
                                   fp 
                                   j 
                                 
                               
                                
                             
                             
                                
                               
                                 
                                   i 
                                   p 
                                 
                                 - 
                                 
                                   fp 
                                   l 
                                 
                               
                                
                             
                           
                           ) 
                         
                         
                           2 
                           
                             m 
                             - 
                             1 
                           
                         
                       
                     
                   
                 
               
               
                 
                   Equation 
                    
                   
                       
                   
                    
                   2 
                 
               
             
           
         
       
     
         [0000]    In the above equation, fp are feature points and m is a real constant used to indicate the fuzziness of the clustering procedure. 
         [0031]    In the target image I t , each pixel is assigned to the cluster with the maximum membership index in order to computer cluster statistics. Once the cluster statistics are calculated in both I r  and I t  the transference of color statistics are transferred at a pixel basis between color channels independently using the following equation: 
         [0000]    
       
         
           
             
               
                 
                   
                     i 
                     
                       p 
                       , 
                       new 
                     
                   
                   = 
                   
                     
                       ∑ 
                       fp 
                     
                      
                     
                       
                         u 
                         
                           p 
                           , 
                           fp 
                         
                       
                        
                       
                         ( 
                         
                           
                             μ 
                             
                               r 
                               , 
                               fp 
                             
                           
                           + 
                           
                             
                               
                                 σ 
                                 
                                   r 
                                   , 
                                   fp 
                                 
                               
                               
                                 σ 
                                 
                                   t 
                                   , 
                                   reg 
                                 
                               
                             
                              
                             
                               ( 
                               
                                 
                                   i 
                                   p 
                                 
                                 - 
                                 
                                   μ 
                                   
                                     t 
                                     , 
                                     reg 
                                   
                                 
                               
                               ) 
                             
                           
                         
                         ) 
                       
                     
                   
                 
               
               
                 
                   Equation 
                    
                   
                       
                   
                    
                   3 
                 
               
             
           
         
       
     
         [0032]    In equation 3, u p,fp  is the membership index of the pixel p to the group identified by the feature point fp; the subscripts r,t represent the reference and target statistics, respectively. The color transference procedure can be done using a suitable color model. In case a target image is transformed before statistics transference, it must be converted back to an RGB color model. 
         [0033]    In another embodiment, fuzzy local color standardization is provided. The fuzzy local color standardization approach disclosed here is designed to alter the color of an input image I i (x, y) according to a reference image I r (x, y); I r (x, y) has a desired color distribution for a given application. The method comprises 5 general steps as illustrated in  FIG. 5 : (1) color model conversion of reference and input images from RGB to a decorrelated color model; (2) images&#39; pixels clustering; (3) pixel matching; (4) local color transference based on membership grade of pixels to a given cluster; and (5) conversion of pixels back to the original RGB color model in order to obtain the normalized output image. 
         [0034]    Pixels clustering can be performed using any fuzzy clustering algorithm. For example the fuzzy c-means may be employed. Fuzzy c-means is an iterative optimization method, which updates the degree of membership indexes and the cluster centroids as follows: 
         [0035]    In the initialization step of the algorithm, the number of desired clusters C and fuzzification parameter are defined. At this step random selection of cluster centroids 
         [0000]    
       
         
           
             c 
             j 
             
               ( 
               0 
               ) 
             
           
         
       
     
         [0000]    is performed and initial membership indexes are computed 
         [0000]    
       
         
           
             
               u 
               ij 
               
                 ( 
                 0 
                 ) 
               
             
             . 
           
         
       
     
         [0000]    For each iteration k, the cluster centroids are computed using the following equation: 
         [0000]    
       
         
           
             
               
                 
                   
                     c 
                     j 
                     
                       ( 
                       
                         k 
                         + 
                         1 
                       
                       ) 
                     
                   
                   = 
                   
                     
                       
                         ∑ 
                         
                           i 
                           = 
                           1 
                         
                         S 
                       
                        
                       
                         
                           
                             ( 
                             
                               u 
                               ij 
                               
                                 ( 
                                 k 
                                 ) 
                               
                             
                             ) 
                           
                           m 
                         
                          
                         
                           x 
                           i 
                         
                       
                     
                     
                       
                         ∑ 
                         
                           i 
                           = 
                           1 
                         
                         S 
                       
                        
                       
                         
                           ( 
                           
                             u 
                             ij 
                             
                               ( 
                               k 
                               ) 
                             
                           
                           ) 
                         
                         m 
                       
                     
                   
                 
               
               
                 
                   Equation 
                    
                   
                       
                   
                    
                   4 
                 
               
             
           
         
       
     
         [0000]    where m is a real number greater than 1 (m &gt;1) corresponding to the fuzzification parameter, u ij  is the degree of membership of 
         [0000]    
       
         
           
             
               x 
               i 
             
             ∈ 
             
               R 
               N 
             
           
         
       
     
         [0000]    in the cluster j, and 
         [0000]    
       
         
           
             
               c 
               j 
             
             ∈ 
             
               R 
               N 
             
           
         
       
     
         [0000]    is the center of the cluster. 
         [0036]    Next, the membership indexes for each pixel of the image is updated according to the following expression: 
         [0000]    
       
         
           
             
               
                 
                   
                     u 
                     ij 
                     
                       ( 
                       
                         k 
                         + 
                         1 
                       
                       ) 
                     
                   
                   = 
                   
                     1 
                     
                       
                         ∑ 
                         
                           l 
                           = 
                           1 
                         
                         C 
                       
                        
                       
                         
                           ( 
                           
                             
                                
                               
                                 
                                   x 
                                   i 
                                 
                                 - 
                                 
                                   c 
                                   j 
                                   
                                     ( 
                                     
                                       k 
                                       + 
                                       1 
                                     
                                     ) 
                                   
                                 
                               
                                
                             
                             
                                
                               
                                 
                                   x 
                                   i 
                                 
                                 - 
                                 
                                   c 
                                   l 
                                   
                                     ( 
                                     
                                       k 
                                       + 
                                       1 
                                     
                                     ) 
                                   
                                 
                               
                                
                             
                           
                           ) 
                         
                         
                           2 
                           
                             m 
                             - 
                             1 
                           
                         
                       
                     
                   
                 
               
               
                 
                   Equation 
                    
                   
                       
                   
                    
                   5 
                 
               
             
           
         
       
     
         [0000]    Cluster centroids and membership indexes are updated iteratively until one of the stop criteria is reached: 
         [0000]    
       
         
           
             
               
                  
                 
                   
                     u 
                     ij 
                     
                       ( 
                       
                         k 
                         + 
                         1 
                       
                       ) 
                     
                   
                   - 
                   
                     u 
                     ij 
                     
                       ( 
                       k 
                       ) 
                     
                   
                 
                  
               
               &lt; 
               ɛ 
             
             ∈ 
             
               ( 
               
                 0 
                 , 
                 1 
               
               ) 
             
           
         
       
     
         [0000]    or k=K , where K is a predefined maximum number of iterations and ε is a real number.
 
Once the clusters have been defined for the reference and input image, they are matched using a distance measure between centroids. Color transference is performed by local transference of color statistics between corresponding clusters. The color transference function may be linear or non-linear and the influence of the transformation is controlled by the membership grade of each pixel to a given cluster. For example, the following linear function may be employed for color transference:
 
         [0000]    
       
         
           
             
               
                 
                   
                     
                       I 
                       i 
                       
                         norm 
                         , 
                         ch 
                       
                     
                      
                     
                       ( 
                       
                         x 
                         , 
                         y 
                       
                       ) 
                     
                   
                   = 
                   
                     
                       
                         I 
                         i 
                         ch 
                       
                        
                       
                         ( 
                         
                           x 
                           , 
                           y 
                         
                         ) 
                       
                     
                     + 
                     
                       
                         u 
                         
                           
                             ( 
                             
                               x 
                               , 
                               y 
                             
                             ) 
                           
                            
                           j 
                         
                       
                        
                       
                         ( 
                         
                           
                             ( 
                             
                               α 
                               - 
                               
                                 μ 
                                 
                                   Ir 
                                   , 
                                   j 
                                 
                                 ch 
                               
                             
                             ) 
                           
                           + 
                           
                             
                               
                                 σ 
                                 
                                   Ir 
                                   , 
                                   j 
                                 
                                 ch 
                               
                               
                                 σ 
                                 
                                   Ii 
                                   , 
                                   j 
                                 
                                 ch 
                               
                             
                              
                             
                               ( 
                               
                                 
                                   
                                     I 
                                     i 
                                     ch 
                                   
                                    
                                   
                                     ( 
                                     
                                       x 
                                       , 
                                       y 
                                     
                                     ) 
                                   
                                 
                                 - 
                                 
                                   ( 
                                   
                                     α 
                                     - 
                                     
                                       μ 
                                       
                                         Ii 
                                         , 
                                         j 
                                       
                                       ch 
                                     
                                   
                                   ) 
                                 
                               
                               ) 
                             
                           
                           - 
                           
                             
                               I 
                               i 
                               ch 
                             
                              
                             
                               ( 
                               
                                 x 
                                 , 
                                 y 
                               
                               ) 
                             
                           
                         
                         ) 
                       
                     
                   
                 
               
               
                 
                   Equation 
                    
                   
                       
                   
                    
                   6 
                 
               
             
           
         
       
     
         [0000]    As can be seen from the equation above, if a pixel has a strong association to the j th  cluster, u (x,y)j  will be close to 1 and the pixel will be transformed. If the pixel is not a member of the j th  cluster, u (x,y)j  will tend to zero and the pixel will remain practically unmodified. In Equation 3, 
         [0000]    
       
         
           
             ( 
             
               α 
               - 
               
                 μ 
                 Ij 
                 ch 
               
             
             ) 
           
         
       
     
         [0000]    is the alpha-trimmed mean of the pixels belonging to the j th  cluster in the channel ch, and 
         [0000]    
       
         
           
             σ 
             Ij 
             ch 
           
         
       
     
         [0000]    is their standard deviation. 
       Optimal Image and Video Standardization 
       [0037]    This embodiment of the invention discloses a method for adjusting the parameters of a color standardization method. This method is suitable for any parametric global or local color standardization method. For example, it can be used to select the most similar reference images or to set the number of cluster used for local color transference. 
         [0038]    Given an image I 0  and a set of reference standardized color images I j , j=1, 2, . . . , J the problem is to recolor I 0  such that the processed image is similar in color to the reference images, but its structural information is minimally altered. Or, stated more formally: 
         [0000]    Problem: for a given 
         [0039]    image I={I n,k }, n=1, 2, . . . , N; k=1, 2, . . . , K; 
         [0040]    a set of reference standardized color images I j , j=1, 2, . . . , J, and 
         [0041]    a image colorfulness measure F(Color at   _   pixel (I n,k )) 
         [0042]    a color differences C(I j , I 0 , j=1, 2, . . . J), for example 
         [0000]    
       
         
           
             
               
                 C 
                  
                 
                   ( 
                   
                     
                       I 
                       j 
                     
                     , 
                     
                       I 
                       0 
                     
                     , 
                     
                       j 
                       = 
                       1 
                     
                     , 
                     2 
                     , 
                     
                       … 
                        
                       
                           
                       
                        
                       J 
                     
                   
                   ) 
                 
               
               = 
               
                 
                   1 
                   J 
                 
                  
                 
                   
                     ∑ 
                     j 
                     
                         
                     
                   
                    
                   
                       
                   
                    
                   
                     [ 
                     
                       
                         
                           Color 
                           colorfulness 
                         
                          
                         
                           ( 
                           
                             I 
                             j 
                           
                           ) 
                         
                       
                       - 
                       
                         
                           Color 
                           colorfulness 
                         
                          
                         
                           ( 
                           
                             I 
                             0 
                           
                           ) 
                         
                       
                     
                     ] 
                   
                 
               
             
             , 
           
         
       
     
         [0043]    where Color colorfulness (.) is an image colorfulness measure 
         [0044]    an image structural similarity measure D(I, I 0 ) 
         [0000]    recolor the given image I
 
Such that the color differences
 
         [0000]    
       
         
           
             
               
                 C 
                  
                 
                   ( 
                   
                     
                       I 
                       j 
                     
                     , 
                     
                       I 
                       0 
                     
                     , 
                     
                       j 
                       = 
                       1 
                     
                     , 
                     2 
                     , 
                     
                       … 
                        
                       
                           
                       
                        
                       J 
                     
                   
                   ) 
                 
               
                
               
                 → 
                 j 
               
                
               
                 
                     
                 
                  
                 
                     
                 
               
                
               
                 is 
                  
                 
                     
                 
                  
                 minimum 
               
             
             , 
             
               
 
             
              
             or 
             , 
             
               
 
             
              
             
               
                 
                   C 
                   ɛ 
                 
                  
                 
                   ( 
                   
                     I 
                     , 
                     
                       I 
                       j 
                     
                   
                   ) 
                 
               
               = 
               
                 { 
                 
                   
                     | 
                     
                       
                          
                         
                           I 
                           - 
                           
                             I 
                             j 
                           
                         
                          
                       
                       ≤ 
                       ɛ 
                     
                   
                   , 
                   
                     
                       for 
                        
                       
                           
                       
                        
                       j 
                     
                     = 
                     1 
                   
                   , 
                   2 
                   , 
                   3 
                   , 
                   
                     4 
                      
                     
                         
                     
                      
                     … 
                   
                    
                   
                       
                   
                   , 
                   J 
                 
                 } 
               
             
           
         
       
     
       Subject to 
       [0045]        D ( I, I   0 ,)→max
 
         [0000]    Example of the image colorfulness measure C ε (I, I j )
 
Note, that
 
         [0046]    1. 
         [0000]    
       
         
           
             
               
                 C 
                 ɛ 
               
                
               
                 ( 
                 
                   I 
                   , 
                   
                     I 
                     j 
                   
                 
                 ) 
               
             
              
             
               → 
               
                 is 
                  
                 
                     
                 
                  
                 minimum 
               
             
              
             
               C 
               0 
             
           
         
       
     
         [0000]    a colorfulness measure comparing the input and the reference images must be minimized in order to ensure that images have similar color distribution. In the case of a set of several images are used for reference, the colorfulness condition become 
         [0000]    
       
         
           
             
               
                 C 
                 ɛ 
               
                
               
                 ( 
                 
                   I 
                   , 
                   
                     I 
                     j 
                   
                 
                 ) 
               
             
             = 
             
               
                 { 
                 
                   
                     | 
                     
                       
                          
                         
                           I 
                           - 
                           
                             I 
                             j 
                           
                         
                          
                       
                       ≤ 
                       ɛ 
                     
                   
                   , 
                   
                     
                       for 
                        
                       
                           
                       
                        
                       j 
                     
                     = 
                     1 
                   
                   , 
                   2 
                   , 
                   3 
                   , 
                   
                     4 
                      
                     
                         
                     
                      
                     … 
                   
                    
                   
                       
                   
                   , 
                   N 
                 
                 } 
               
               . 
             
           
         
       
     
         [0047]    2. 
         [0000]    
       
         
           
             
               D 
                
               
                 ( 
                 
                   
                     I 
                     p 
                   
                   , 
                   I 
                 
                 ) 
               
             
              
             
               → 
               
                 is 
                  
                 
                     
                 
                  
                 maximum 
               
             
              
             
               D 
               0 
             
           
         
       
     
         [0000]    a image structural similarity measure comparing the original input image and the standardized image must be maximized in order to ensure that structural information such as edges is preserved after color processing.
 
Examples of the colorfulness measure include:
 
       Colorfulness Measure 
     Example I 
       [0048]    1. Generate the CIELUV and CIELAB 
         [0049]    2. Calculate the Lightness (L*), two color axis (u*, v*) or (a*,b*) 
         [0050]    3. Compute the color differences 
         [0051]    4. Average color differences 
         [0052]    New Colorfulness Measure 
       Example II 
       [0053]    Algorithm of Calculation of a New Colorfulness Measure 
         [0054]    1. Convert a color {R,G,B} image I={I n,k }=1, 2, . . . , N; k=1, 2, . . . , K into normalized r, g, b by using the following formulas:
       a) r=R/R, r=G/G, b=B/B, 0≦r,g,b≦1; (for the classical subtraction case);
           where   
               
 
         [0000]    
       
         
           
             R 
             = 
             
               { 
               
                 
                   
                     
                       
                         
                           1 
                           , 
                         
                       
                       
                         
                           if 
                            
                           
                               
                           
                            
                           unicolor 
                         
                       
                     
                     
                       
                         
                           
                             
                               R 
                               0 
                             
                             = 
                             
                               
                                 max 
                                 
                                   n 
                                   , 
                                   k 
                                 
                               
                                
                               
                                 [ 
                                 
                                   R 
                                   
                                     n 
                                     , 
                                     k 
                                   
                                 
                                 ] 
                               
                             
                           
                           , 
                         
                       
                       
                         
                           if 
                            
                           
                               
                           
                            
                           image 
                            
                           
                               
                           
                            
                           has 
                            
                           
                             
                                 
                             
                              
                             
                                 
                             
                           
                            
                           texture 
                         
                       
                     
                   
                    
                   
                     
 
                   
                    
                   G 
                 
                 = 
                 
                   { 
                   
                     
                       
                         
                           
                             
                               1 
                               , 
                             
                           
                           
                             
                               if 
                                
                               
                                   
                               
                                
                               unicolor 
                             
                           
                         
                         
                           
                             
                               
                                 
                                   G 
                                   0 
                                 
                                 = 
                                 
                                   
                                     max 
                                     
                                       n 
                                       , 
                                       k 
                                     
                                   
                                    
                                   
                                     [ 
                                     
                                       G 
                                       
                                         n 
                                         , 
                                         k 
                                       
                                     
                                     ] 
                                   
                                 
                               
                               , 
                             
                           
                           
                             
                               if 
                                
                               
                                   
                               
                                
                               image 
                                
                               
                                   
                               
                                
                               has 
                                
                               
                                 
                                     
                                 
                                  
                                 
                                     
                                 
                               
                                
                               texture 
                             
                           
                         
                       
                        
                       
                         
 
                       
                        
                       B 
                     
                     = 
                     
                       { 
                       
                         
                           
                             
                               1 
                               , 
                             
                           
                           
                             
                               if 
                                
                               
                                   
                               
                                
                               unicolor 
                             
                           
                         
                         
                           
                             
                               
                                 
                                   B 
                                   0 
                                 
                                 = 
                                 
                                   
                                     max 
                                     
                                       n 
                                       , 
                                       k 
                                     
                                   
                                    
                                   
                                     [ 
                                     
                                       B 
                                       
                                         n 
                                         , 
                                         k 
                                       
                                     
                                     ] 
                                   
                                 
                               
                               , 
                             
                           
                           
                             
                               if 
                                
                               
                                   
                               
                                
                               image 
                                
                               
                                   
                               
                                
                               has 
                                
                               
                                 
                                     
                                 
                                  
                                 
                                     
                                 
                               
                                
                               texture 
                             
                           
                         
                       
                     
                   
                 
               
             
           
         
       
     
         [0057]    b) r=(M−R)/(M−R) max , r=(M−G)/(M−G) max , b=(M−B)/(M−B) max , 0≦r,g,b≦1; (for the PLIP subtraction case), where 
         [0000]    
       
         
           
             M 
             = 
             
               
                 max 
                 
                   
                     R 
                     0 
                   
                   , 
                   
                     G 
                     0 
                   
                   , 
                   
                     B 
                     0 
                   
                 
               
                
               
                 { 
                 
                   
                     
                       R 
                       0 
                     
                     = 
                     
                       
                         max 
                         
                           n 
                           , 
                           k 
                         
                       
                        
                       
                         [ 
                         
                           R 
                           
                             n 
                             , 
                             k 
                           
                         
                         ] 
                       
                     
                   
                   , 
                   
                     
                       G 
                       0 
                     
                     = 
                     
                       
                         max 
                         
                           n 
                           , 
                           k 
                         
                       
                        
                       
                         [ 
                         
                           G 
                           
                             n 
                             , 
                             k 
                           
                         
                         ] 
                       
                     
                   
                   , 
                   
                     
                       B 
                       0 
                     
                     = 
                     
                       
                         max 
                         
                           n 
                           , 
                           k 
                         
                       
                        
                       
                         [ 
                         
                           B 
                           
                             n 
                             , 
                             k 
                           
                         
                         ] 
                       
                     
                   
                 
                 } 
               
             
           
         
       
     
         [0000]    2. Calculate an image pixel I n,k  colorfulness measure 
         [0000]    
       
         
           
             
               
                 
                   
                     
                       Color 
                       
                         at 
                          
                         _ 
                          
                         pixe 
                          
                         l 
                       
                     
                      
                     
                       ( 
                       
                         I 
                         
                           n 
                           , 
                           k 
                         
                       
                       ) 
                     
                   
                   = 
                   
                     { 
                     
                       
                         
                           
                             
                               
                                 
                                   
                                     0 
                                      
                                     
                                         
                                     
                                      
                                     if 
                                      
                                     
                                         
                                     
                                      
                                     
                                       
                                         ( 
                                         
                                           
                                             r 
                                             
                                               n 
                                               , 
                                               k 
                                             
                                           
                                            
                                           • 
                                            
                                           
                                               
                                           
                                            
                                           
                                             g 
                                             
                                               n 
                                               , 
                                               k 
                                             
                                           
                                         
                                         ) 
                                       
                                       2 
                                     
                                   
                                   + 
                                   
                                     
                                       ( 
                                       
                                         
                                           r 
                                           
                                             n 
                                             , 
                                             k 
                                           
                                         
                                          
                                         • 
                                          
                                         
                                             
                                         
                                          
                                         
                                           b 
                                           
                                             n 
                                             , 
                                             k 
                                           
                                         
                                       
                                       ) 
                                     
                                      
                                     
                                       ( 
                                       
                                         
                                           g 
                                           
                                             n 
                                             , 
                                             k 
                                           
                                         
                                          
                                         • 
                                          
                                         
                                             
                                         
                                          
                                         
                                           b 
                                           
                                             n 
                                             , 
                                             k 
                                           
                                         
                                       
                                       ) 
                                     
                                   
                                 
                                 = 
                                 0 
                               
                             
                           
                           
                             
                               
                                 cos 
                                  
                                 
                                   [ 
                                   
                                     
                                       
                                         α 
                                          
                                         
                                           ( 
                                           
                                             
                                               r 
                                               
                                                 n 
                                                 , 
                                                 k 
                                               
                                             
                                              
                                             • 
                                              
                                             
                                                 
                                             
                                              
                                             
                                               g 
                                               
                                                 n 
                                                 , 
                                                 k 
                                               
                                             
                                           
                                           ) 
                                         
                                       
                                       + 
                                       
                                         β 
                                          
                                         
                                           ( 
                                           
                                             
                                               r 
                                               
                                                 n 
                                                 , 
                                                 k 
                                               
                                             
                                              
                                             • 
                                              
                                             
                                                 
                                             
                                              
                                             
                                               b 
                                               
                                                 n 
                                                 , 
                                                 k 
                                               
                                             
                                           
                                           ) 
                                         
                                       
                                       + 
                                       
                                         γ 
                                          
                                         
                                           ( 
                                           
                                             
                                               g 
                                               
                                                 n 
                                                 , 
                                                 k 
                                               
                                             
                                              
                                             • 
                                              
                                             
                                                 
                                             
                                              
                                             
                                               b 
                                               
                                                 n 
                                                 , 
                                                 k 
                                               
                                             
                                           
                                           ) 
                                         
                                       
                                     
                                     
                                       
                                         
                                           
                                             2 
                                             [ 
                                             
                                               
                                                 
                                                   ( 
                                                   
                                                     
                                                       r 
                                                       
                                                         n 
                                                         , 
                                                         m 
                                                       
                                                     
                                                      
                                                     • 
                                                      
                                                     
                                                         
                                                     
                                                      
                                                     
                                                       g 
                                                       
                                                         n 
                                                         , 
                                                         k 
                                                       
                                                     
                                                   
                                                   ) 
                                                 
                                                 2 
                                               
                                               + 
                                               
                                                 
                                                   ( 
                                                   
                                                     
                                                       g 
                                                       
                                                         n 
                                                         , 
                                                         m 
                                                       
                                                     
                                                      
                                                     • 
                                                      
                                                     
                                                         
                                                     
                                                      
                                                     
                                                       b 
                                                       
                                                         n 
                                                         , 
                                                         k 
                                                       
                                                     
                                                   
                                                   ) 
                                                 
                                                 2 
                                               
                                               + 
                                             
                                           
                                         
                                       
                                       
                                         
                                           
                                             
                                               
                                                 2 
                                                  
                                                 
                                                   ( 
                                                   
                                                     
                                                       r 
                                                       
                                                         n 
                                                         , 
                                                         k 
                                                       
                                                     
                                                      
                                                     • 
                                                      
                                                     
                                                         
                                                     
                                                      
                                                     
                                                       b 
                                                       
                                                         n 
                                                         , 
                                                         k 
                                                       
                                                     
                                                   
                                                   ) 
                                                 
                                                  
                                                 
                                                   ( 
                                                   
                                                     
                                                       g 
                                                       
                                                         n 
                                                         , 
                                                         k 
                                                       
                                                     
                                                      
                                                     • 
                                                      
                                                     
                                                         
                                                     
                                                      
                                                     
                                                       b 
                                                       
                                                         n 
                                                         , 
                                                         k 
                                                       
                                                     
                                                   
                                                   ) 
                                                 
                                               
                                               ] 
                                             
                                             
                                               1 
                                               / 
                                               λ 
                                             
                                           
                                         
                                       
                                     
                                   
                                   ] 
                                 
                               
                             
                           
                         
                          
                         
                           
 
                         
                          
                         
                             
                         
                          
                         or 
                       
                       , 
                       
                         
 
                       
                        
                       
                         
                           
                             Color 
                             
                               at 
                                
                               _ 
                                
                               pixe 
                                
                               l 
                             
                           
                            
                           
                             ( 
                             
                               I 
                               
                                 n 
                                 , 
                                 k 
                               
                             
                             ) 
                           
                         
                         = 
                         
                           { 
                           
                             
                               
                                 
                                   
                                     
                                       0 
                                        
                                       
                                           
                                       
                                        
                                       if 
                                        
                                       
                                           
                                       
                                        
                                       
                                         
                                           ( 
                                           
                                             
                                               r 
                                               
                                                 n 
                                                 , 
                                                 k 
                                               
                                             
                                              
                                             • 
                                              
                                             
                                                 
                                             
                                              
                                             
                                               g 
                                               
                                                 n 
                                                 , 
                                                 k 
                                               
                                             
                                           
                                           ) 
                                         
                                         2 
                                       
                                     
                                     + 
                                     
                                       
                                         ( 
                                         
                                           
                                             r 
                                             
                                               n 
                                               , 
                                               k 
                                             
                                           
                                            
                                           • 
                                            
                                           
                                               
                                           
                                            
                                           
                                             b 
                                             
                                               n 
                                               , 
                                               k 
                                             
                                           
                                         
                                         ) 
                                       
                                        
                                       
                                         ( 
                                         
                                           
                                             g 
                                             
                                               n 
                                               , 
                                               k 
                                             
                                           
                                            
                                           • 
                                            
                                           
                                               
                                           
                                            
                                           
                                             b 
                                             
                                               n 
                                               , 
                                               k 
                                             
                                           
                                         
                                         ) 
                                       
                                     
                                   
                                   = 
                                   0 
                                 
                               
                             
                             
                               
                                 
                                   
                                     
                                       α 
                                        
                                       
                                         ( 
                                         
                                           
                                             r 
                                             
                                               n 
                                               , 
                                               k 
                                             
                                           
                                            
                                           • 
                                            
                                           
                                               
                                           
                                            
                                           
                                             g 
                                             
                                               n 
                                               , 
                                               k 
                                             
                                           
                                         
                                         ) 
                                       
                                     
                                     + 
                                     
                                       β 
                                        
                                       
                                         ( 
                                         
                                           
                                             r 
                                             
                                               n 
                                               , 
                                               k 
                                             
                                           
                                            
                                           • 
                                            
                                           
                                               
                                           
                                            
                                           
                                             b 
                                             
                                               n 
                                               , 
                                               k 
                                             
                                           
                                         
                                         ) 
                                       
                                     
                                     + 
                                     
                                       γ 
                                        
                                       
                                         ( 
                                         
                                           
                                             g 
                                             
                                               n 
                                               , 
                                               k 
                                             
                                           
                                            
                                           • 
                                            
                                           
                                               
                                           
                                            
                                           
                                             b 
                                             
                                               n 
                                               , 
                                               k 
                                             
                                           
                                         
                                         ) 
                                       
                                     
                                   
                                   
                                     
                                       
                                         
                                           2 
                                           [ 
                                           
                                             
                                               
                                                 ( 
                                                 
                                                   
                                                     r 
                                                     
                                                       n 
                                                       , 
                                                       m 
                                                     
                                                   
                                                    
                                                   • 
                                                    
                                                   
                                                       
                                                   
                                                    
                                                   
                                                     g 
                                                     
                                                       n 
                                                       , 
                                                       k 
                                                     
                                                   
                                                 
                                                 ) 
                                               
                                               2 
                                             
                                             + 
                                             
                                               
                                                 ( 
                                                 
                                                   
                                                     g 
                                                     
                                                       n 
                                                       , 
                                                       m 
                                                     
                                                   
                                                    
                                                   • 
                                                    
                                                   
                                                       
                                                   
                                                    
                                                   
                                                     b 
                                                     
                                                       n 
                                                       , 
                                                       k 
                                                     
                                                   
                                                 
                                                 ) 
                                               
                                               2 
                                             
                                             + 
                                           
                                         
                                       
                                     
                                     
                                       
                                         
                                           
                                             
                                               2 
                                                
                                               
                                                 ( 
                                                 
                                                   
                                                     r 
                                                     
                                                       n 
                                                       , 
                                                       k 
                                                     
                                                   
                                                    
                                                   • 
                                                    
                                                   
                                                       
                                                   
                                                    
                                                   
                                                     b 
                                                     
                                                       n 
                                                       , 
                                                       k 
                                                     
                                                   
                                                 
                                                 ) 
                                               
                                                
                                               
                                                 ( 
                                                 
                                                   
                                                     g 
                                                     
                                                       n 
                                                       , 
                                                       k 
                                                     
                                                   
                                                    
                                                   • 
                                                    
                                                   
                                                       
                                                   
                                                    
                                                   
                                                     b 
                                                     
                                                       n 
                                                       , 
                                                       k 
                                                     
                                                   
                                                 
                                                 ) 
                                               
                                             
                                             ] 
                                           
                                           
                                             1 
                                             / 
                                             λ 
                                           
                                         
                                       
                                     
                                   
                                 
                               
                             
                           
                         
                       
                     
                   
                 
               
               
                 
                   Equation 
                    
                   
                       
                   
                    
                   7 
                 
               
             
           
         
       
     
         [0000]    where           is classical or parametric log subtraction operation and α, β, γ, λ are constants.
 
3. Calculate a function F(Color at   _   pixel (I n,m )) as the image colorfulness measure. For example, function F could be defined as:
 
         [0058]    a) Average based an image colorfulness measure: 
         [0000]    
       
         
           
             
               
                 
                   
                     
                       Color 
                       colorfulness 
                     
                      
                     
                       ( 
                       I 
                       ) 
                     
                   
                   = 
                   
                     
                       1 
                       
                         ( 
                         
                           NK 
                           - 
                           O 
                         
                         ) 
                       
                     
                      
                     
                       
                         ∑ 
                         
                           n 
                           , 
                           k 
                         
                         
                             
                         
                       
                        
                       
                           
                       
                        
                       
                         
                           Color 
                           
                             at 
                              
                             _ 
                              
                             pixel 
                           
                         
                          
                         
                           ( 
                           
                             I 
                             
                               n 
                               , 
                               k 
                             
                           
                           ) 
                         
                       
                     
                   
                 
               
               
                 
                   Equation 
                    
                   
                       
                   
                    
                   8 
                 
               
             
           
         
       
     
         [0059]    Where MK is the total number of pixels of M×K image I=[I n,k ] and where O is the number of pixels of M×K image, where (r n,k            g n,k ) 2 +(r n,k            b n,k )(g n,k            b n,k )=0 
         [0060]    b) Entropy based an image colorfulness 
         [0000]    
       
         
           
             
               
                 Color 
                 colorfulness 
               
                
               
                 ( 
                 I 
                 ) 
               
             
             = 
             
               { 
               
                 
                   
                     
                       
                         
                           
                             0 
                              
                             
                                 
                             
                              
                             
                               
                                 ( 
                                 
                                   
                                     r 
                                     
                                       n 
                                       , 
                                       k 
                                     
                                   
                                    
                                   • 
                                    
                                   
                                       
                                   
                                    
                                   
                                     g 
                                     
                                       n 
                                       , 
                                       k 
                                     
                                   
                                 
                                 ) 
                               
                               2 
                             
                           
                           + 
                           
                             
                               ( 
                               
                                 
                                   r 
                                   
                                     n 
                                     , 
                                     k 
                                   
                                 
                                  
                                 • 
                                  
                                 
                                     
                                 
                                  
                                 
                                   b 
                                   
                                     n 
                                     , 
                                     k 
                                   
                                 
                               
                               ) 
                             
                              
                             
                               ( 
                               
                                 
                                   g 
                                   
                                     n 
                                     , 
                                     k 
                                   
                                 
                                  
                                 • 
                                  
                                 
                                     
                                 
                                  
                                 
                                   b 
                                   
                                     n 
                                     , 
                                     k 
                                   
                                 
                               
                               ) 
                             
                           
                         
                         = 
                         0 
                       
                        
                       
                           
                       
                     
                   
                 
                 
                   
                     
                       
                         1 
                         
                           ( 
                           
                             NK 
                             - 
                             O 
                           
                           ) 
                         
                       
                        
                       
                         
                           ∑ 
                           
                             n 
                             , 
                             k 
                           
                           
                               
                           
                         
                          
                         
                             
                         
                          
                         
                           
                             
                               
                                 Color 
                                 
                                   at 
                                    
                                   _ 
                                    
                                   pixel 
                                 
                               
                                
                               
                                 ( 
                                 
                                   I 
                                   
                                     n 
                                     , 
                                     k 
                                   
                                 
                                 ) 
                               
                             
                             
                               
                                 max 
                                 
                                   n 
                                   , 
                                   k 
                                 
                               
                                
                               
                                 [ 
                                 
                                   
                                     Color 
                                     
                                       at 
                                        
                                       _ 
                                        
                                       pixel 
                                     
                                   
                                    
                                   
                                     ( 
                                     
                                       I 
                                       
                                         n 
                                         , 
                                         k 
                                       
                                     
                                     ) 
                                   
                                 
                                 ] 
                               
                             
                           
                            
                           
                             log 
                              
                             
                               [ 
                               
                                 
                                   
                                     
                                       Color 
                                       
                                         at 
                                          
                                         _ 
                                          
                                         pixel 
                                       
                                     
                                      
                                     
                                       ( 
                                       
                                         I 
                                         
                                           n 
                                           , 
                                           k 
                                         
                                       
                                       ) 
                                     
                                   
                                   
                                     
                                       max 
                                       
                                         n 
                                         , 
                                         k 
                                       
                                     
                                      
                                     
                                       [ 
                                       
                                         
                                           Color 
                                           
                                             at 
                                              
                                             _ 
                                              
                                             pixel 
                                           
                                         
                                          
                                         
                                           ( 
                                           
                                             I 
                                             
                                               n 
                                               , 
                                               k 
                                             
                                           
                                           ) 
                                         
                                       
                                       ] 
                                     
                                   
                                 
                                 + 
                                 1 
                               
                               ] 
                             
                           
                         
                       
                     
                   
                 
               
             
           
         
       
     
         [0061]    Where MK is the total number of pixels of M×K image I=[I n,k ] and where O is the number of pixels of M×K image, where (r n,k            g n,k ) 2 +(r n,k            b n,k )(g n,k            b n,k )=0 
         [0062]    4. Compute the color differences
       C(I, I 0 )=Color colorfulness (I)−Color colorfulness (I 0 )       
 
       New Colorfulness Measure 
     Example III 
       [0064]    1. Compute the 3D color histogram for both the reference and input images. 
         [0065]    2. Find the n more relevant colors in the reference and input images using scale space maxima detection in the 3D color histogram. 
         [0066]    3. Find the average and entropy of the more relevant colors. 
         [0067]    4. Compare the resulting colorfulness measure between reference and input image. 
         [0000]    In addition to the aforementioned colorfulness measure, additional examples of measures that can be used for colorfulness quantitative analysis may be found in these references: A Othman and K. Martinez, Colour appearance descriptors for image browsing and retrieval, PROC. SPIE ELECTRONIC IMAGING 2008, 2008; G. Wyszecki and W. Stiles,  Color science: Concepts and methods, quantitative data and formulae , New York, NY: John Wiley &amp; Sons, 1982; C. Gao, K. Panetta and S. Agaian, Color image attribute and quality measurements, PROC. SPIE SENSING TECHNOLOGY+APPLICATIONS, 2014.;K. Panetta, C. Gao and S. Agaian, No reference Color Image Contrast and Quality Measures, IEEE TRANS. ON CONSUMER ELECTRONICS, vol. 59, no. 3, pp. 643-651, 2013.
 
For illustrative purposes, for the equations contained herein utilize the universal image quality index Q proposed by Wang and Bovik:
 
         [0000]    
       
         
           
             
               
                 
                   Q 
                   = 
                   
                     
                       
                         σ 
                         xy 
                       
                       
                         
                           σ 
                           x 
                         
                          
                         
                           σ 
                           y 
                         
                       
                     
                      
                     
                       
                         2 
                          
                         
                           x 
                           _ 
                         
                          
                         
                             
                         
                          
                         
                           y 
                           _ 
                         
                       
                       
                         
                           
                             ( 
                             
                               x 
                               _ 
                             
                             ) 
                           
                           2 
                         
                         + 
                         
                           
                             ( 
                             
                               y 
                               _ 
                             
                             ) 
                           
                           2 
                         
                       
                     
                      
                     
                       
                         2 
                          
                         
                           σ 
                           x 
                         
                          
                         
                           σ 
                           y 
                         
                       
                       
                         
                           σ 
                           x 
                           2 
                         
                         + 
                         
                           σ 
                           y 
                           2 
                         
                       
                     
                   
                 
               
               
                 
                   Equation 
                    
                   
                       
                   
                    
                   8 
                 
               
             
           
         
       
     
         [0000]    Where σ xy  is the covariance of random variables representing gray levels in the original and processed image, σ x  is the standard deviation of the pixel intensities of the original image, σ y  is the standard deviation of the pixel intensities of the processed image,  x  is the average of pixel intensities of the original image, and  y  is the average of pixel intensities of the processed image. However, other similarity and quality measures can be employed. Examples of other image quality/similarity are as follows: 4-EGSSIM by S. Nercessian, S. Agaian and K. Panetta, “An image similarity measure using enhanced human visual system characteristics,” in Proc. SPIE Defense, Security, and Sensing, 2011 and S-EME by E. A. Silva, K. A. Panetta and S. S. Agaian, “Quantify similarity with measurement of enhancement by entropy,” in Proc. SPIE Mobile Multimedia/Image Processing for Military and Security Applications, 2007. 
         [0068]    The following examples are included to demonstrate preferred embodiments of the invention. It should be appreciated by those of skill in the art that the techniques disclosed in the examples which follow represent techniques discovered by the inventor to function well in the practice of the invention, and thus can be considered to constitute preferred modes for its practice. However, those of skill in the art should, in light of the present disclosure, appreciate that many changes can be made in the specific embodiments which are disclosed and still obtain a like or similar result without departing from the spirit and scope of the invention. 
       EXAMPLE I 
     Color Standardization of Tissue Microarray Cores of Prostate Tissue 
       [0069]    A batch of 360 H&amp;E-stained tissue microarray cores of prostate tissue were standardized using the disclosed method. Local standardization of image pixels associated with broad prostate tissue structures (e.g., lumen, stroma, and epithelium) is carried out having as reference image the image shown in  FIG. 3 . The following steps were executed: (1) unsupervised color space feature extraction using scale space maxima detection for defining reference colors from a well-stained histopathology slide, (2) feature association between the resulting reference clusters and target clusters, and (3) weighted linear mapping of statistical moments (mean and standard deviation) from the reference image to target images. The standardized images are tested for assessing color consistency using normalized median intensity (NMI) (the lower the standard deviation of the NMI the better the color constancy) from segmented regions, and the resulting quality of the standardize image is evaluated using the universal image quality index (Q). Before standardization, the NMI standard deviation measure for the image set was 0.0310 and after standardization the resulting NMI standard deviation is 0.0097. Besides, the 95% confidence interval for the mean of the Q index is [0.9798, 0.9821], which indicates low distortion produced by the standardization algorithm. Examples of standardized images are shown in  FIG. 4 . 
       EXAMPLE II 
     Face Color Transference 
       [0070]    The example in  FIG. 6  shows the results obtained using the fuzzy color transference in skin color lightening. The reference skin color centroid is detected by finding the most frequent color (3D histogram global maximum) within the skin area previously selected by the user. In the same way the centroid color are found for the target image. Since the only cluster in this example is the face, the mean and standard deviation of the face pixels are computer for each channel and for both reference and target image. Then, color transference is performed from the reference to the target image using the following equation: 
         [0000]    
       
         
           
             
               
                 I 
                 i 
                 
                   norm 
                   , 
                   ch 
                 
               
                
               
                 ( 
                 
                   x 
                   , 
                   y 
                 
                 ) 
               
             
             = 
             
               
                 
                   I 
                   i 
                   ch 
                 
                  
                 
                   ( 
                   
                     x 
                     , 
                     y 
                   
                   ) 
                 
               
               + 
               
                 
                   u 
                   
                     
                       ( 
                       
                         x 
                         , 
                         y 
                       
                       ) 
                     
                      
                     j 
                   
                 
                  
                 
                   ( 
                   
                     
                       ( 
                       
                         α 
                         - 
                         
                           μ 
                           
                             Ir 
                             , 
                             j 
                           
                           ch 
                         
                       
                       ) 
                     
                     + 
                     
                       
                         
                           σ 
                           
                             Ir 
                             , 
                             j 
                           
                           ch 
                         
                         
                           σ 
                           
                             Ii 
                             , 
                             j 
                           
                           ch 
                         
                       
                        
                       
                         ( 
                         
                           
                             
                               I 
                               i 
                               ch 
                             
                              
                             
                               ( 
                               
                                 x 
                                 , 
                                 y 
                               
                               ) 
                             
                           
                           - 
                           
                             ( 
                             
                               α 
                               - 
                               
                                 μ 
                                 
                                   Ii 
                                   , 
                                   j 
                                 
                                 ch 
                               
                             
                             ) 
                           
                         
                         ) 
                       
                     
                     - 
                     
                       
                         I 
                         i 
                         ch 
                       
                        
                       
                         ( 
                         
                           x 
                           , 
                           y 
                         
                         ) 
                       
                     
                   
                   ) 
                 
               
             
           
         
       
     
         [0000]    In this example, the color model using for color processing is lab color space. Once all transformation a performed in a per-pixel basis, image pixels in the target image are converted to RGB for visualization or storage. 
       Additional Embodiments 
       [0071]    The present invention which is described hereinbefore with reference to flowchart and/or block diagram illustrations of methods, systems, devices, simulations, and computer program products in accordance with some embodiments of the invention has been illustrated in detail by using a computer system. For instance, the flowchart and/or block diagrams further illustrate exemplary operations of the computer systems and methods of  FIG. 1  to  FIG. 10 . It is also conceivable that each block of the flowchart and/or block diagram illustrations, and combinations of blocks in the flowchart and/or block diagram illustrations, may be implemented by any computer program instructions and/or hardware. These computer program instructions may be provided to a processor of a general purpose computer, a microprocessor, a portable device such as cell phones, a special purpose computer or device, or other programmable data processing apparatus to produce a device, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowcharts and/or block diagrams or blocks. The computer program may also be supplied from a remote source embodied in a carrier medium such as an electronic signal, including a radio frequency carrier wave or an optical carrier wave. 
         [0072]    In this patent, certain U.S. patents, U.S. patent applications, and other materials (e.g., articles) have been incorporated by reference. The text of such U.S. patents, U.S. patent applications, and other materials is, however, only incorporated by reference to the extent that no conflict exists between such text and the other statements and drawings set forth herein. In the event of such conflict, then any such conflicting text in such incorporated by reference U.S. patents, U.S. patent applications, and other materials is specifically not incorporated by reference in this patent. 
         [0073]    Further modifications and alternative embodiments of various aspects of the invention will be apparent to those skilled in the art in view of this description. Accordingly, this description is to be construed as illustrative only and is for the purpose of teaching those skilled in the art the general manner of carrying out the invention. It is to be understood that the forms of the invention shown and described herein are to be taken as examples of embodiments. 
         [0074]    Elements and materials may be substituted for those illustrated and described herein, parts and processes may be reversed, and certain features of the invention may be utilized independently, all as would be apparent to one skilled in the art after having the benefit of this description of the invention. Changes may be made in the elements described herein without departing from the spirit and scope of the invention as described in the following claims.