Bottom-up and top-down color attention for object recognition