src/main/java/ch/wetwer/moviefleur/helper/AdditiveCombiner.java
/**
     * @param pixelLeft  Pixel for Red Colors
     * @param pixelRight Pixel for Green and Blue Colors
     *
     * @return the combined rgb-int value of both images
     */
@param pixelLeft  Pixel for Red Colors
@param pixelRight Pixel for Green and Blue Colors

@return the combined rgb-int value of both images
@param pixelLeft Pixel for Red Colors @param pixelRight Pixel for Green and Blue Colors @return the combined rgb - int value of both images
public static int additive(int pixelLeft, int pixelRight) {
        Color left = new Color(pixelLeft);
        Color right = new Color(pixelRight);
        int rgb = right.getRed() + left.getRed();
        rgb = (rgb << 8) + right.getGreen() + left.getGreen();
        rgb = (rgb << 8) + right.getBlue() + left.getBlue();
        return rgb;
    }
public static int additive ( int pixelLeft , int pixelRight ) { Color left = new Color ( pixelLeft ) ; Color right = new Color ( pixelRight ) ; int rgb = right . getRed ( ) + left . getRed ( ) ; rgb = ( rgb << 8 ) + right . getGreen ( ) + left . getGreen ( ) ; rgb = ( rgb << 8 ) + right . getBlue ( ) + left . getBlue ( ) ; return rgb ; }
@param pixelLeft  Pixel for Red Colors
 @param pixelRight Pixel for Green and Blue Colors
@param pixelLeft Pixel for Red Colors @param pixelRight Pixel for Green and Blue Colors