And I guess the reason is line 19 and 20 which lead to more calculate. But if even this simple calculate can not undertake, how can I do other complex image processing? Cause I believe Processing is powerful, so can anyone points out where goes wrong that I do not know? Thanks first.