描述:
As OR
input1 input2output
0 0 0
0 1 1
1 0 1
1 1 1
As NOR
input1 input2output
0 0 1
0 1 0
1 0 0
1 1 1
Code:
Such as :
/**
*Applies the image OR operator on the specified image arrays, with the specified offset and scale value
*@param src1_1d The first source image as a pixel array
*@param src2_1d The second source image as a pixel array
*@param NOR Boolean to indicate wether we should NO