Help in Image Analysis [message #47615] |
Tue, 21 February 2006 02:33  |
Bharani
Messages: 6 Registered: February 2006
|
Junior Member |
|
|
hi all
I am a Student.I am working on IDL for Image Analysis..
I Have an Image Got from a Radar(Not from Satellite).I want to Find the
Attributes of this Image.
I want to Know how i can Cut the Image in Lengthwise and Breadth wise ?
When i Cut the Image There is a Main Lobe and Some Sidelobes for the
Image.
I want to Find the Peak of the Mainlobe .. the width of the Mainlobe at
the Half of the Height?
and also the Peak of the Sidelobes that are Present.
Can anyone Help me in Proceeding Further...
thanx in Advance...
Bharani
|
|
|
|
|
|
|
|
|
|
Re: Help in Image Analysis [message #47744 is a reply to message #47615] |
Thu, 02 March 2006 10:30  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
David Fanning writes:
> Any 2D array, which is what you have in front of you,
> can be considered an "image". All you need do to is
> pull out of the data the rows you are interested in
> for further analysis:
>
> interestingStuff = data[*, 280:320]
>
> To display it as an image, you need to byte scale
> it (and perhaps take the absolute value, since your
> data is complex).
>
> TV, BytScl(Abs(interestingStuff))
>
> Now you are ready to perform any analysis that seems
> appropriate.
I'd try to find the row that had the maximum
value in the interesting stuff:
dims = Size(interestingStuff, /Dimension)
s = Scale_Vector(Abs(interestingStuff), 0, 1)
maxVal = Max(s, location)
row = location / dims[0]
Plot, s[*,row]
Now, you can easily find the peak values in this row, etc.
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
|
|
|
Re: Help in Image Analysis [message #47745 is a reply to message #47615] |
Thu, 02 March 2006 10:05  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Bharani writes:
> I have Read the File(With data) and also i have brought the Data to my
> Program...
> I have now the Image as 3D ... and NOw i am working on to get the Image
> into 2D ...
> the Method i am trying to is Just as the same u have Suggested...
> I am Considering only a Small part of the Whole Image and from where i
> can get the Required attributes...
> but when i consider the Small part...i think it is really hard for me
> to spot it as a 2D ...
> How can i proceed further??
Any 2D array, which is what you have in front of you,
can be considered an "image". All you need do to is
pull out of the data the rows you are interested in
for further analysis:
interestingStuff = data[*, 280:320]
To display it as an image, you need to byte scale
it (and perhaps take the absolute value, since your
data is complex).
TV, BytScl(Abs(interestingStuff))
Now you are ready to perform any analysis that seems
appropriate. Since the dynamic range of this data
is fairly small, you might want to stretch the data
in some way to view it (or, even, before you analyze
it). See this article:
http://www.dfanning.com/ip_tips/xstretch.html
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
|
|
|
Re: Help in Image Analysis [message #47747 is a reply to message #47720] |
Thu, 02 March 2006 09:02  |
Bharani
Messages: 6 Registered: February 2006
|
Junior Member |
|
|
hi Peter..
Thanx for the Suggestion...
I have Read the File(With data) and also i have brought the Data to my
Program...
I have now the Image as 3D ... and NOw i am working on to get the Image
into 2D ...
the Method i am trying to is Just as the same u have Suggested...
I am Considering only a Small part of the Whole Image and from where i
can get the Required attributes...
but when i consider the Small part...i think it is really hard for me
to spot it as a 2D ...
How can i proceed further??
|
|
|