Steve on Image Processing

November 6th, 2007

From the archives: All about pixel colors

When I started this blog in early 2006, one of my first series of articles was called "All About Pixel Colors." These articles discussed how MATLAB associates matrix values with specific screen pixel colors. The series talked about the two fundamental image display models (indexed and truecolor); the scaled indexed image variation; using indexed scaling to program brightness/contrast controls; and the grayscale and binary image conventions in the Image Processing Toolbox.

This material might be useful for people who have started reading this blog since then, so I've used our new category archive pages to gather the material together. In the sidebar on the right, under Categories, click on "Pixel colors."

Or, if you prefer, you can look at my MATLAB Digest article that was based on the blog postings.

I am slowly making more use of categories in my blog. If you have category suggestions, please let me know.

7 Responses to “From the archives: All about pixel colors”

  1. wati replied on :

    how can i convert cm to pixels

  2. Steve replied on :

    Wati—Are you looking for an answer other than multiply by the number of pixels per cm?

  3. wati replied on :

    yes..

  4. Steve replied on :

    Wati—If you don’t give me any details at all about what you mean, then that’s the best answer I can give you.

  5. thiyagu replied on :

    dear steve,
    how to find the color of an object or an particular area in an image?
    can we take the average values of the pixel in RGB format and find out the color?
    plz help me…

  6. chau nguyen replied on :

    Hi Steve,
    I need your help here.
    i’m having a research with images of stained and unstained specimens. I need to subtract the color of the stained one from unstained (background) to signify the region of interest. Could you show me a way? Should I treat them as true color images? what types of operation can we perform on true color images?
    Thanks, Steve.

  7. Steve replied on :

    Chau—See the color segmentation demos.


MathWorks
Steve Eddins is a software development manager in the MATLAB and image processing areas at MathWorks. Steve coauthored Digital Image Processing Using MATLAB. He writes here about image processing concepts, algorithm implementations, and MATLAB.

These postings are the author's and don't necessarily represent the opinions of The MathWorks.