This is Matlab implementation of the algorithm that loads (or searches for) Compact Texture Unit codes, 
to be used for texture codification based on the concept of Compact Texture Unit, 
proposed in [1] and [2].


NB: To start use the main function: main_ctu_code_load_search.m   

Example:
-------

>> M = 3; N = 37; 
>> Curent_CTU_code = main_ctu_code_load_search (M,N)


A directory (CTU_Codes_Database)is created in your local disk to save CTU codes in the file : CTU_Codes_Loaded.mat
Valid code is found
__________________________________________________________
 New codes for the case of M=3 and N=37 have been found and added to the local database  
          valid: 1
     SpatialRes: 37
    SpectralRes: 3
      HistResol: 741
           code: [1 2 39]

__________________________________________________________

Curent_CTU_code = 

          valid: 1
     SpatialRes: 37
    SpectralRes: 3
      HistResol: 741
           code: [1 2 39]



>>
_____________________________________________________________
Copyright 2015 Abdelmounaime Safia
Last Revision January , 4, 2015

REFERENCES:
----------

 [1]	A. Safia and D. He, “Improving the Texture Spectrum Model Using a Compact Texture  Unit Descriptor”
        J. Commun. Comput., vol. 10, no. 2, pp. 1–18, 2013.

 [2]	A. Safia and D.-C. He, “Multiband compact texture unit descriptor for intra-band and inter-band texture analysis”
           ISPRS J. Photogramm. Remote Sens., 2014. 


