Thread Subject: image processing help

Subject: image processing help

From: Mathew Thomas

Date: 23 Jul, 2009 15:24:01

Message: 1 of 2

Hello,

I have an image (for eg, a bone). I have found the coordinate points (x,y) on the four sides (one on each side). Now I want to crop the image such that the the coordinate points are perpendicular to adjacent points. Any ideas are welcome.

Thank you,

Mathew.

Subject: image processing help

From: Alan B

Date: 23 Jul, 2009 15:47:01

Message: 2 of 2

"Mathew Thomas" <mathew99@gmail.com> wrote in message <h49vah$pd6$1@fred.mathworks.com>...
> Hello,
>
> I have an image (for eg, a bone). I have found the coordinate points (x,y) on the four sides (one on each side). Now I want to crop the image such that the the coordinate points are perpendicular to adjacent points. Any ideas are welcome.
>
> Thank you,
>
> Mathew.

A point can't be perpendicular to anything, but it sounds like you want to first rotate the image so that your non-axis-aligned rectangle becomes axis-aligned, then crop to contain just that rectangle. Is that right? imrotate and imcrop will probably help.

Tags for this Thread

Everyone's Tags:

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.

Tag Activity for This Thread
Tag Applied By Date/Time
imcrop Sprinceana 21 Aug, 2009 17:25:26
crop image Sprinceana 21 Aug, 2009 17:25:26
rssFeed for this Thread

Contact us at files@mathworks.com