Updated the color checker detection code.

-Fixed several parts which may cause native crash.
-Added assert to testingimage class.

Change-Id: I862b4b372747beb20ae84dd2f86350946a8a8922
2 files changed