From: Avengeline on
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
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
Hi ImageAnalyst,

Can I also use imregionalmax to find local maxima? What is the difference between maxima and local maxima?
From: ImageAnalyst on
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.