Relaxed the requirements for a border a little

Former-commit-id: 7cf7e22665fb136fbb0c83737acc7c1ff9d6de0a
This commit is contained in:
johan 2013-12-08 11:33:21 +01:00
parent 020f2dc7d1
commit c3ba0438df

View File

@ -125,7 +125,7 @@ namespace hyperion
inline bool isBlack(const Pixel_T & color)
{
// Return the simple compare of the color against black
return color.red+color.green+color.green == 0;
return color.red < 3 && color.green < 3 && color.green < 3;
}
};
} // end namespace hyperion