Thread Subject: find the maximum, minimum & inflection points on a curve

Subject: find the maximum, minimum & inflection points on a curve

From: rakesh sepuri

Date: 6 Jan, 2008 21:19:22

Message: 1 of 2

How does one find these points on a curve - maximum, minimum
& inflection points along both x & y directions.
The curve is a 2D, represented as (x,y). we know all the
values of (x,y) of the curve. The data points are integer
values(pixel values in grayscale).
The curve is a smooth curve, without any noise.

Subject: find the maximum, minimum & inflection points on a curve

From: roberson@ibd.nrc-cnrc.gc.ca (Walter Roberson)

Date: 7 Jan, 2008 18:25:32

Message: 2 of 2

In article <flrgkq$73u$1@fred.mathworks.com>,
rakesh sepuri <rakeshsepuri.nospam@mathworks.com> wrote:
>How does one find these points on a curve - maximum, minimum
>& inflection points along both x & y directions.
>The curve is a 2D, represented as (x,y). we know all the
>values of (x,y) of the curve. The data points are integer
>values(pixel values in grayscale).
>The curve is a smooth curve, without any noise.

If the coordinates are integer values, then the curve is not
a smooth curve. Consider the point set

(1,1), (2,2), (3,3), (4,4), (5,5), (6,6)

Where are the minima and maxima and inflection points for that?
The answer is that they *all* fall into one of those categories.

The end-points are obviously minima and maxima respectively, but
because pixels are rectangular (square), you get "the staircase effect"

    +-+
    | |
  +-+-+
  | |
+-+-+
| |
+-+

Every corner marked with + is a local minima or maxima (or both)

--
  "I will speculate that [...] applications [...] could actually see a
  performance boost for most users by going dual-core [...] because it
  is running the adware and spyware that [...] are otherwise slowing
  down the single CPU that user has today" -- Herb Sutter

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

rssFeed for this Thread

Public Submission Policy

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Disclaimer prior to use.

Contact us at files@mathworks.com