MathGroup Archive 2013

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Image color ratio

Thanks Matthias

Your reply is very helpfull. Another question: if i have two images, one is
light grey and the other one is darker. The darker the more concentration
of nano particles. How to quantitively measure the ratio between the two
images in terms of brightness.

Thanks for your help.

On Friday, October 11, 2013, Matthias Odisio wrote:

> Good morning,
> On 10/10/13 3:51 PM, KFUPM wrote:
> > Dear All
> >
> > I have a grey image with darker dots and spots. I want to measure the
> ratio of the darker spots  to the remaining light gray area.
> >
> >
> > I appreciate your help in anticipation.
> >
> >
> > Best,
> >
> > -HMQ
> >
> That sounds straightforward.
> You could use ImageLevels and identify the bins corresponding to the
> darker spots and to the lighter areas.
> Alternatively, you could threshold your image (using Binarize) to
> create a mask of the dark spots, and then call ImageLevels to compute
> the fraction or ratio you are looking for.
> Matthias

Hussain Al-Qahtani, Ph.D.
Assistant Professor

Department of Mechanical Engineering
King Fahd University of Petroleum and Minerals
P.O. Box 414 Dhahran, 31261
Saudi Arabia

966-3-860-2846 (Office)
966-3-860-2949 (Fax)

  • Prev by Date: Re: Image color ratio
  • Next by Date: Maple procedures to Mathematica
  • Previous by thread: Re: Image color ratio
  • Next by thread: Re: Image color ratio