mirror of
				https://github.com/hyperion-project/hyperion.ng.git
				synced 2025-03-01 10:33:28 +00:00 
			
		
		
		
	Bugfix in Borderdetector
green was checked twice in isBlack(). Should have been green and blue. Former-commit-id: c21a5feffa2245414bbf2b224e8a4dc8955f5e00
This commit is contained in:
		| @@ -1,4 +1,3 @@ | ||||
|  | ||||
| #pragma once | ||||
|  | ||||
| // Utils includes | ||||
| @@ -126,7 +125,7 @@ namespace hyperion | ||||
| 		inline bool isBlack(const Pixel_T & color) | ||||
| 		{ | ||||
| 			// Return the simple compare of the color against black | ||||
| 			return color.red < _blackborderThreshold && color.green < _blackborderThreshold && color.green < _blackborderThreshold; | ||||
| 			return color.red < _blackborderThreshold && color.green < _blackborderThreshold && color.blue < _blackborderThreshold; | ||||
| 		} | ||||
|  | ||||
| 	private: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user