Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9073029
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T18:19:03+00:00 2026-06-16T18:19:03+00:00

I am currently trying to write a C++ program that is able to extract

  • 0

I am currently trying to write a C++ program that is able to extract ROI from the Y component of an image and watermark that particular ROI.
I am currently stuck at the implementation of the watermarking technique.
Upon further research , I saw the addweighted function in OpenCV and I understand that it is an implementation of linear blending.

What i want to ask is that is alpha blending considered something like a spatial addition between the pixel of the original image and the watermark ?
If not , could anyone explain the difference between alpha blending and a spatial addition between two images ?

Thank you in advance for any help rendered.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T18:19:04+00:00Added an answer on June 16, 2026 at 6:19 pm

    I’m not 100% what “spatial addition” is in this case (and google wasn’t particularly helpful), but I do understand alphablending.

    If we have two images, A and B, then the resulting image R, when blending with alpha a:
    r[x, y] = a * A[x, y] + (1-a) * B[x,y];

    So, basically, adding the pixel colours together, and blending a proportion of each image. Here we’re talking about RGB colours, I have absolutely no idea what happens if you do this in YUV colours – I’m sure there is some way of achieving the same thing – and it may even be called “spatial addition”. But all the graphics projects I’ve worked on that use alpha blending have been using RGB as the intermediate terms [at least in the parts that I’ve touched].

    I’m hoping that by describing the process, it helps you understand alphablending, and by that understand what you need to do, whether in RGB or some other format.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am currently trying to write a program that alphabetizes strings. I have one
I'm trying to write a python program that is able to interact with other
Hey, I'm trying to write a program that will accept new tasks from people,
I am currently trying to write a program that is a connect four game
there I'm currently trying to write a MIPS program that will sort the user
I am trying to write a program that reads from a list a series
I am currently trying to write some code that will accept some FTP details,
I'm currently trying to write a script that will connect to a site using
I'm currently trying to write an Artemis like game component/entity system in C++. I
I am currently trying to write an addin for PowerPoint that whenever any PowerPoint

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.