×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Reading values of pixels in an image

Reading values of pixels in an image

Reading values of pixels in an image

(OP)
Hello all,

I have a fairly trivial question, applied to a more specific problem.

I am trying to sort through a multitude of satellite images.  Some of these images weren't well read by the sensor and have blacked out pixels.  The images with too many blacked out pixels will be discarded.

Basically, I want to read all the pixels of a 75x75 matrix and know how many pixels are blacked out.

Thanks for the help,
Bruno

RE: Reading values of pixels in an image

You have to break down the problem:

What value constitutes a blacked out image
(image ranges could be 0-255 or 0-1 or something else)

instead if your problem is like finding number of entries in a matrix which are greater than a value x, then the answer would be:

sum(A>=x)

where x is the level of black
and A is your image matrix

let me know if it helps

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources