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 5929483
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T14:25:38+00:00 2026-05-22T14:25:38+00:00

Ok. To be short suppose: I have a monochrome image; And initially it represented

  • 0

Ok. To be short suppose:

  1. I have a monochrome image; And initially it represented in RGB color space.

  2. I don’t know in what sequence I shall do this, but I need to convert image to YUV space (a) and load it into PictureBox control (b) and make few color scribbles;

  3. And finally I need to learn/know somehow what pixels were colored.

    And how do I draw lines/dots on loaded image in PictureBox?

Have any ideas?

  • 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-05-22T14:25:39+00:00Added an answer on May 22, 2026 at 2:25 pm

    Converting a monochrome image from RGB to YUV is very simple:

    Y = R
    U = 0
    V = 0
    

    Y is the luminance, calculated as 0.299 * R + 0.587 * G + 0.114 * B, but as R = G = B for a monochome image, it’s the same as (0.299+0.587+0.114) * R which is simply 1 * R.

    U is calculated as 0.436 * ((B - Y) / 0.886), but as Y = B it is always zero.

    V is calculated as 0.615 * ((R - Y) / 0.701), but as Y = R it is alwaus zero.


    To draw lines on a Bitmap object, you use the Graphics.FromImage method to create a Graphics object for it, then use the DrawLine method to draw lines.

    To draw pixels, use the SetPixel method of the Bitmap object.

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

Sidebar

Related Questions

To be short, suppose I have a string 'next' , next = 123rpq and
Suppose you have a text-field in your webpage. The value inside text-field is This
Lets suppose i have a field with short defined getter setter like following: public
Suppose we have a packet struct Foo { short size; // 2 short type;
Suppose I have a column in a table which may hold information as short
I have two tables suppose table 1 has two columns with short names and
Short and easy question, but I seem to have a writer's block here: Suppose
suppose I have an object like this: class Spline { public: Spline(std::size_t const dim);
I don't know how to phrase the question very well in a short subject
Suppose I have a simple multidimensional structure, like this one: somestr<-array(sample.int(2, 120, replace=TRUE), dim=c(4,5,6))

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.