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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T06:11:18+00:00 2026-05-14T06:11:18+00:00

Or say does 1 denotes white for an RGB image? I have this question

  • 0

Or say does 1 denotes white for an RGB image?

I have this question because of this answer:

How to convert a grayscale matrix to an RGB matrix in MATLAB?

Can someone clarify it?

  • 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-14T06:11:19+00:00Added an answer on May 14, 2026 at 6:11 am

    Image data in MATLAB can be stored as different data types. The type of image as well as the data type it is stored as will determine what constitutes the color “white”:

    • A grayscale image matrix (which has one data value per pixel) can be any one of the following data types: uint8, uint16, int16, single, or double. From the documentation:

      For a matrix of class single or
      double, using the default grayscale
      colormap, the intensity 0 represents
      black and the intensity 1 represents
      white. For a matrix of type uint8,
      uint16, or int16, the intensity
      intmin(class(I)) represents black and
      the intensity intmax(class(I))
      represents white.

    • An RGB image matrix (which has three data values per pixel: red, green, and blue) can be any one of the following data types: uint8, uint16, single, or double. From the documentation:

      In a truecolor array of class single
      or double, each color component is a
      value between 0 and 1. A pixel whose
      color components are (0,0,0) is
      displayed as black, and a pixel whose
      color components are (1,1,1) is
      displayed as white.

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

Sidebar

Related Questions

Say I have a class ObjectA (a view controller for example), that does this
Say I have a linq query select r in db.Roles where r.RoleName DOES NOT
How does one do this in c#? Let's say that myclass has : private
What does 'this' keyword refer to when used in global object? Let's say for
Lets say I have a WelcomeActivity. All it does is show you a welcome
I have a console application. A class (let's say Worker) does some work in
http://php.net/manual/en/function.trim.php The manual entry does say that I can remove any specified leading or
The documentation does not say much besides: Private: Changes made to the resulting buffer
What does it mean to say - Engineering scalability into applications. Are there design
How does CouchDB handles conflicts while doing bi-directional replication? For example: Lets say there

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.