Direct Histogram Specify (continued)  
                        The discrete formulation of the procedure is shown below:                          
                        Example: Consider the 64 × 64, 8 level image used in the previous example. The histogram of this image is shown. 
                        
                          
                              
                            Figure (5.8)                               | 
                           
                                                
                        Step 1:  Obtain the histogram equally mapping (as done previously)                          
                        
                        
                              | 
                            | 
                            | 
                         
                        
                              | 
                            790   | 
                          0.19  | 
                         
                        
                              | 
                          1023  | 
                          0.25  | 
                         
                        
                              | 
                          850  | 
                          0.21  | 
                         
                        
                              | 
                          985  | 
                          0.24  | 
                         
                        
                              | 
                          448  | 
                          0.11  | 
                         
                        
                          |   | 
                            | 
                            | 
                         
                                             
                        Step 2:  Next compute the transformed function                        
                          
                      This yields the values  
                        
                        
                        
                        
                        
                        
                        
                                                                      (continued in the next slide)   |