Site Sponsors
Results 1 to 4 of 4

Thread: Questions about image intensity

  1. #1
    chinedudeoracle
    Guest

    Questions about image intensity

    Good day all,
    I am a final year computer Science student doing a project that involves image processing using java which am totally new to, and I have been faced with a major challenge. i have been able to get 2 dimensional arrays of the red, green and blue values for each pixel in an image.how can i calculate the mean grey intensity of the image from these arrays? please I would be most grateful if anyone could be of help.

  2. #2
    Administrator Bob's Avatar
    Join Date
    Oct 2007
    Location
    Prescott, Arizona
    Posts
    4,492
    Post Thanks / Like
    Images
    367

    Re: Questions about image intensity

    Seems to me that it would simply be the sum of all the r,g,b values for all of the pixels, divided by the number of pixels divided by 3.
    -bob

  3. #3
    chinedudeoracle
    Guest

    Re: Questions about image intensity

    thank you so much for the reply, but I have already done that and the results I get don't really make sense to me. I am trying to detect the presence of cataract in an eye sample by comparing the mean grey intensity of the cataract eye with that of three healthy eye samples, but I was not able to observe any definite pattern. Please could you by any mean be of help?

  4. #4
    chinedudeoracle
    Guest

    Re: Questions about image intensity

    thank you so much Bob, its now working fine i just needed to crop the images before processing them.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •