Thanks to visit codestin.com
Credit goes to github.com

Skip to content

RaduPelin/Binary-Operations-Between-Images

Repository files navigation

Binary Operations Between Images

The aplication takes two bmp files and generates all the supported results that came from the pixel binary interactions between images or within each image.

Input Files:

Image 1

FIRST

Image 2

SECOND

A. Operations between images:

1. Image 1 AND Image 2

AND

2. Image 1 OR Image 2

OR

3. Image 1 XOR Image 2

XOR

4. Image 1 NAND Image 2

NAND

5. Image 1 NOR Image 2

NOR

6. Image 1 XNOR Image 2

XNOR

B. Operations in the smame file:

7. NOT (within the image)

E.g.: NOT Image 1

NOT

8. SHIFT LEFT

8.1 - All pixel values with 1, 2, 3, 4 bits
8.2 - Only the red value with 1, 2, 3, 4 bits
8.3 - Only the blue value with 1, 2, 3, 4 bits
8.4 - Only the green value with 1, 2, 3, 4 bits.

E.g.: Image 1 Shift Left Blue Colour 2 bits

LEFT

9. SHIFT RIGHT

9.1 - All pixel values with 1, 2, 3, 4 bits
9.2 - Only the red value with 1, 2, 3, 4 bits
9.3 - Only the blue value with 1, 2, 3, 4 bits
9.4 - Only the green value with 1, 2, 3, 4 bits.

E.g.: Image 1 Shift Right Blue Colour 2 bits

RIGHT

About

Perform binary operations between and within images

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages