Re: subset of an image [message #37922] |
Mon, 09 February 2004 15:10 |
Paul Van Delst[1]
Messages: 1157 Registered: April 2002
|
Senior Member |
|
|
David Fanning wrote:
>
> Paul van Delst writes:
>
>> This may be a really silly question on my part, but does IDL comes with an object tool
>> like your XROI? (I'm assuing CW_DEFROI ain't it)
>
> Uh, well, XROI *is* an IDL tool. :-)
Bloody hell. There ya go. I learned summat today. :o)
> Even if you have your facts slightly askew, I appreciate
> the sentiment. Today was a frustrating one for me and
> I briefly (but seriously) entertained the notion of walking
> away from IDL forever. I thought I just might get into some
> other line of work entirely. Surveying, say, or house painting.
I'd go in for woodworking if I thought I wouldn't slice my fingers off in the first week
of my apprenticeship. (You can tell from my XROI knowledge how much I would read of the
documentation that came with compund mitre saw.....sigh)
paulv
--
Paul van Delst
CIMSS @ NOAA/NCEP/EMC
|
|
|
Re: subset of an image [message #37924 is a reply to message #37922] |
Mon, 09 February 2004 14:28  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Paul van Delst writes:
> This may be a really silly question on my part, but does IDL comes with an object tool
> like your XROI? (I'm assuing CW_DEFROI ain't it)
Uh, well, XROI *is* an IDL tool. :-)
> If not, when are RSI going to start shipping IDL with all your tools as part of a standard
> library? (aka toolkit in matlab-speak). Seems to me that these sorts of
> ready-to-use-out-of-the-box tools should be part of IDL regular (maybe that's what iTools
> stuff is supposed to do..I dunno). It's just that, with the flurry of ROI questions in the
> past week, I realised that a lot of stuff that people want to do wouldn't be easily
> do-able without your tools (I don't do a lot of image processing and what not, maybe
> that's why the realisation took so long...)
Ah, well. I hear from the Ketchup Advisory Board that
people don't even know you exist unless you hit them over the
head 15 times. Why do you think I post so often on this newsgroup. :-)
> Anyway, without sounding like too much of a brown noser, I just wanted to say goodonya.
Even if you have your facts slightly askew, I appreciate
the sentiment. Today was a frustrating one for me and
I briefly (but seriously) entertained the notion of walking
away from IDL forever. I thought I just might get into some
other line of work entirely. Surveying, say, or house painting.
It's nice to feel a bit appreciated. Thank you.
Cheers,
David
P.S. Did you know that if you restore an object, say, in a method
and fool around with it a bit and save it back to the same filename
before leaving the method that IDL *appends* to the save file? No,
I didn't either. But I do now. Let's just say I spent half of a VERY
long day convinced I was going nuts. :-(
--
David Fanning, Ph.D.
Fanning Software Consulting
Coyote's Guide to IDL Programming: http://www.dfanning.com/
|
|
|
Re: subset of an image [message #37926 is a reply to message #37924] |
Mon, 09 February 2004 13:21  |
Paul Van Delst[1]
Messages: 1157 Registered: April 2002
|
Senior Member |
|
|
David Fanning wrote:
>
> Nitin Katiyar writes:
>
>> I have problem related to getting a subset of an image file using ROI.
>> I have defined a ROI and got the area but now I am stuck. What I want
>> to do is... after selecting an arbitrary shape polygon-ROI on the
>> image, I want to cut this part of an image and enclosed it in a
>> rectangle with outside roi area black. I know how to do this thing in
>> envi but I don't know how to do this using IDL. Please help me out.
>
> Here you go:
>
> http://www.dfanning.com/ip_tips/xroi.html
David,
This may be a really silly question on my part, but does IDL comes with an object tool
like your XROI? (I'm assuing CW_DEFROI ain't it)
If not, when are RSI going to start shipping IDL with all your tools as part of a standard
library? (aka toolkit in matlab-speak). Seems to me that these sorts of
ready-to-use-out-of-the-box tools should be part of IDL regular (maybe that's what iTools
stuff is supposed to do..I dunno). It's just that, with the flurry of ROI questions in the
past week, I realised that a lot of stuff that people want to do wouldn't be easily
do-able without your tools (I don't do a lot of image processing and what not, maybe
that's why the realisation took so long...)
Anyway, without sounding like too much of a brown noser, I just wanted to say goodonya.
paulv
--
Paul van Delst
CIMSS @ NOAA/NCEP/EMC
|
|
|
Re: subset of an image [message #37930 is a reply to message #37926] |
Mon, 09 February 2004 11:45  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Nitin Katiyar writes:
> I have problem related to getting a subset of an image file using ROI.
> I have defined a ROI and got the area but now I am stuck. What I want
> to do is... after selecting an arbitrary shape polygon-ROI on the
> image, I want to cut this part of an image and enclosed it in a
> rectangle with outside roi area black. I know how to do this thing in
> envi but I don't know how to do this using IDL. Please help me out.
Here you go:
http://www.dfanning.com/ip_tips/xroi.html
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting
Coyote's Guide to IDL Programming: http://www.dfanning.com/
|
|
|