Are there parameters need to be changed? before  after  Anyway, thank you very much for sharing the cocolor and mosaicing code