Key Facts
- Category
- Design
- Input Types
- file, select, number
- Output Type
- file
- Sample Coverage
- 4
- API Ready
- Yes
Overview
The Image Boolean OR tool allows you to combine two images by applying a bitwise OR operation, effectively creating a union mask of the input files.
When to Use
- •When you need to merge two separate binary masks into a single unified shape.
- •When you want to combine overlapping visual elements from two distinct image layers.
- •When preparing image data for computer vision tasks that require union-based segmentation.
How It Works
- •Upload your first image file to serve as the primary base layer.
- •Upload your second image file to be combined with the first.
- •Select your preferred output format and adjust the quality settings if necessary.
- •Process the images to generate a new file containing the combined bitwise union.
Use Cases
Examples
1. Merging Silhouette Masks
Graphic Designer- Background
- The designer has two separate black-and-white masks representing different parts of a logo.
- Problem
- Need to combine these two masks into a single file to use as a unified stencil.
- How to Use
- Upload both mask images and select PNG as the output format to maintain transparency.
- Example Config
-
format: png, quality: 100 - Outcome
- A single PNG file containing the union of both silhouettes, ready for use as a master stencil.
2. Combining Feature Maps
Data Scientist- Background
- Working on a computer vision project with two separate binary maps of detected objects.
- Problem
- Need to create a single map that includes all detected objects from both sources.
- How to Use
- Upload both feature maps and run the Boolean OR operation.
- Example Config
-
format: png - Outcome
- A consolidated binary map showing all detected objects from both input files.
Try with Samples
image, png, jpgRelated Hubs
FAQ
What does the OR operation do to my images?
It compares the pixels of both images and keeps the pixel if it is present in either the first or the second image, creating a union of both.
Which file formats are supported?
You can upload JPEG, PNG, WebP, GIF, BMP, and TIFF files.
Why should I choose PNG as the output format?
PNG is recommended because it supports transparency, which is ideal for preserving the integrity of masks and combined shapes.
Is there a file size limit?
Yes, each uploaded image file must be 10MB or smaller.
Can I adjust the output quality?
Yes, you can set the quality between 1 and 100 for lossy formats like JPEG or WebP.