From: Avengeline on 26 Jan 2010 00:30 Dear ImageAnalyst, I got the all the local minimas already. Do you have any idea how to find the closest minima value to a point, X? Thanks. Avengeline.
From: ImageAnalyst on 26 Jan 2010 06:14 On Jan 26, 12:30 am, "Avengeline " <avengeline....(a)gmail.com> wrote: > Dear ImageAnalyst, > > I got the all the local minimas already. Do you have any idea how to find the closest minima value to a point, X? Thanks. > > Avengeline. ----------------------------------------------------------------- Just take the absolute value of the difference in the index (element) values at which they occur. The smallest difference (delta x) will be with the closest min.
From: Avengeline on 30 Jan 2010 22:37 Hi ImageAnalyst, Can I also use imregionalmax to find local maxima? What is the difference between maxima and local maxima?
From: ImageAnalyst on 30 Jan 2010 23:08
You can use imregionalmin to find local min. Local min are min in one small area. You could have a local min that is not the global min. You can have more than one local min and more than one global min if they have the same value but are physically separated. |