src/ImageCompare.php
private function bits($colorMean) {
		$bits = array();
		foreach ($colorMean[1] as $color) {
		    $bits[] = ($color >= $colorMean[0]) ? 1 : 0;
		}

		return $bits;

	}
private function bits($colorMean) {
		$bits = array();
		foreach ($colorMean[1] as $color) {
		    $bits[] = ($color >= $colorMean[0]) ? 1 : 0;
		}

		return $bits;

	}
private function bits ( $ colorMean ) { $ bits = array ( ) ; foreach ( $ colorMean [ 1 ] as $ color ) { $ bits [ ] = ( $ color >= $ colorMean [ 0 ] ) ? 1 : 0 ; } return $ bits ; }
Returns an array with 1 and zeros. If a color is bigger than the mean value of colors it is 1

@param array $colorMean Color Mean details.

@return array
Returns an array with 1 and zeros . If a color is bigger than the mean value of colors it is 1