 |
|
| Science Forum Index » Image Processing Forum » extraction from image... |
|
Page 1 of 1 |
|
| Author |
Message |
| ravi nooka... |
Posted: Thu Sep 17, 2009 9:12 pm |
|
|
|
Guest
|
Dear all,
I want to extract a portion of image in the shape of a
parallelogram,I know four corner scans and pixels for that
parallelogram,then how to extract that ?
Thanks in advance
regards,
Ravi Nooka |
|
|
| Back to top |
|
|
|
| Paul Koppen... |
Posted: Fri Sep 18, 2009 5:16 am |
|
|
|
Guest
|
On Sep 18, 9:12 am, ravi nooka <nooka.r... at (no spam) gmail.com> wrote:
[quote:94a8dd7ab0]Dear all,
I want to extract a portion of image in the shape of a
parallelogram,I know four corner scans and pixels for that
parallelogram,then how to extract that ?
Thanks in advance
regards,
Ravi Nooka
[/quote:94a8dd7ab0]
Click Start, Run...
Type 'mspaint.exe' and click OK
Click File, Open...
Browse to your image, select it, and click OK
Select the line tool (the button with a straight diagonal line) and
draw your parallelogram.
Select File, Print... and click Print
Take your scissors and the print and cleanly cut out, neatly following
the lines, your parallelogram.
That should do the trick. |
|
|
| Back to top |
|
|
|
| ImageAnalyst... |
Posted: Fri Sep 18, 2009 8:34 am |
|
|
|
Guest
|
On Sep 18, 3:12 am, ravi nooka <nooka.r... at (no spam) gmail.com> wrote:
[quote:038656d3e9]Dear all,
I want to extract a portion of image in the shape of a
parallelogram,I know four corner scans and pixels for that
parallelogram,then how to extract that ?
Thanks in advance
regards,
Ravi Nooka
[/quote:038656d3e9]
---------------------------------------------------------------------------------
Photoshop can do this. Did you want to do it aumatically via some
algorithm?
If so, where's your image? We can't suggest things blindly. Post it
somewhere.
Can you just threshold it? What software package are you using? |
|
|
| Back to top |
|
|
|
| Bob Alvarez... |
Posted: Fri Sep 18, 2009 2:49 pm |
|
|
|
Guest
|
On Sep 18, 12:12 am, ravi nooka <nooka.r... at (no spam) gmail.com> wrote:
[quote:e5ca596e1a]Dear all,
I want to extract a portion of image in the shape of a
parallelogram,I know four corner scans and pixels for that
parallelogram,then how to extract that ?
[/quote:e5ca596e1a]
Why do you want to do this? Let us know your application or, if it is
homework, what course. |
|
|
| Back to top |
|
|
|
| ravi nooka... |
Posted: Mon Sep 21, 2009 7:06 pm |
|
|
|
Guest
|
On Sep 19, 5:49 am, Bob Alvarez <ralva... at (no spam) spambob.net> wrote:
[quote:01b79a75fd]On Sep 18, 12:12 am, ravi nooka <nooka.r... at (no spam) gmail.com> wrote:
Dear all,
I want to extract a portion of image in the shape of a
parallelogram,I know four corner scans and pixels for that
parallelogram,then how to extract that ?
Why do you want to do this? Let us know your application or, if it is
homework, what course.
[/quote:01b79a75fd]
I'm working in remote sensing image processing.
from a small automated utility, i want to remove few(~10) pixels in a
image along each edge. Image format is GeoTIFF.
image content will be in the form of parallelogram surrounded by zero
Grey values, so that the image is rectangle.
if this is not clear enough, Please let me know
regards,
Ravi nooka |
|
|
| Back to top |
|
|
|
| Martin Leese... |
Posted: Tue Sep 22, 2009 11:51 am |
|
|
|
Guest
|
ravi nooka wrote:
[quote:af0706fd72]Dear all,
I want to extract a portion of image in the shape of a
parallelogram,I know four corner scans and pixels for that
parallelogram,then how to extract that ?
I'm working in remote sensing image processing.
from a small automated utility, i want to remove few(~10) pixels in a
image along each edge. Image format is GeoTIFF.
image content will be in the form of parallelogram surrounded by zero
Grey values, so that the image is rectangle.
[/quote:af0706fd72]
Be aware that the straight edge of the
parallelogram might not be straight, but
slightly curved. In real life it is curved,
and some earth rotation correction software
implements this.
I would forget the parallelogram and just
nibble in 10 or so pixels from each side.
It is the fact that you have a border of
zeros which will allow this crude but
effective technique to work. (If the data
is Landsat MSS, and you want to remove the
*apparent* misregistration, you will want to
nibble off six pixels.)
--
Regards,
Martin Leese
E-mail: please at (no spam) see.Web.for.e-mail.INVALID
Web: http://members.tripod.com/martin_leese/ |
|
|
| Back to top |
|
|
|
|
|
All times are GMT - 5 Hours
The time now is Sat Nov 28, 2009 10:06 am
|
|