Calculate cents representation(Not use recurse)
Image process