In the upper equation, Hl stands for a ring filter. The size of the filter images , ,.. , will have the size of 1/10th of the width and length of the original image. The number of ring filters p is decided according to the dominant layer of initial image and corresponds to the number of notes of each scale. If the dominant layer is the red one, it will be mapped to Hidjaz scale and p=8. If the dominant layer is the green one, it will be mapped to the Major scale and the value of p=8. Finally, if the dominant layer is the blue one, the selected scale will be the Pentatonic minor and p=6. These filters will be detailed in the next section