Jump to content

  • Log in with Facebook Log in with Twitter Log in with Windows Live Log In with Google      Sign In   
  • Create Account

Submit your paper to J Biol Methods today!
Photo
- - - - -

Turning a gray-scale image into a data set


  • Please log in to reply
2 replies to this topic

#1 Inmost sun

Inmost sun

    Veteran

  • Active Members
  • PipPipPipPipPipPipPipPipPipPip
  • 303 posts
60
Excellent

Posted 21 July 2012 - 01:13 AM

suppose I have a gray-scale image: what I like to do is putting over a grid, and for each parcel the corresponding gray-scale value should be given;

maybe there is something in ImageJ/Fiji...? any contribution is welcome...

#2 pcrman

pcrman

    Epigenetist

  • Global Moderators
  • PipPipPipPipPipPipPipPipPipPip
  • 1,165 posts
67
Excellent

Posted 21 July 2012 - 08:36 AM

ImageJ may do it or you can find such plugin for photoshop. Without a plugin, you can do it manually in PS. You turn on the grids or draw grid over your image, then use the marque selection tool to select individual area, then go to Image -> histogram which will give you the mean value +/- SD, median and # of pixels.

#3 DELETEMYACCOUNTPLEASE

DELETEMYACCOUNTPLEASE

    Y U NOT DELETE MY ACCOUNT?

  • Active Members
  • PipPipPipPipPip
  • 58 posts
1
Neutral

Posted 09 August 2012 - 12:50 PM

If you know python, or are willing to learn it, you could try using PIL, especially if you are going to do it more than once.

http://www.pythonwar...k/imagestat.htm

there are probably things for perl and various other languages but I find the python community nicer and the packages tend to work w/o goofing about with deps.




Home - About - Terms of Service - Privacy - Contact Us

©1999-2013 Protocol Online, All rights reserved.