Enhanced Random Forest with Image/Patch-Level Learning for Image Understanding