comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » ENVI Classification Image to ROIs
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
ENVI Classification Image to ROIs [message #56656] Wed, 07 November 2007 18:58 Go to next message
charliehemlock is currently offline  charliehemlock
Messages: 1
Registered: November 2007
Junior Member
Hi,

I'm looking for an easy way to take an ENVI Classification Image and
take each class from it and export each as a separate ROI. (I'm not
creating a classification from roi's - the opposite)

I could use "band threshold from ROI" - but this is time consuming if
you have several classes and images. It seems like there should be an
easy way to do this...hopefully there's a simple solution out there
that I'm just missing.

I'm using envi 4.3

Thanks!

CH
Re: ENVI classification [message #60573 is a reply to message #56656] Tue, 03 June 2008 09:30 Go to previous message
peter.eddy@shaw.ca is currently offline  peter.eddy@shaw.ca
Messages: 19
Registered: March 2005
Junior Member
You might want to take a look at 'ROI_Thresh_DoIt'. You could loop
over your classes setting the min/max thresh keywords to the class
number. This would create one roi for each class.

Pete
Re: ENVI classification [message #60582 is a reply to message #56656] Mon, 02 June 2008 14:08 Go to previous message
jeffnettles4870 is currently offline  jeffnettles4870
Messages: 111
Registered: October 2006
Senior Member
On Jun 2, 4:31 am, Kostas <ko...@freemail.gr> wrote:
> Dear, all
>
> I want to ask a question about classification via ENVI
>
> AFTER classifying an image with supervised classificaton (K-Means, ISO-
> DATA) how can i export clusters to roi's programmaticaly???
>
> Thank You
>
> Kostas


I think that the basic idea of the solution to your problem is
probably going to be to feed the indices of whatever pixels you want
in an ROI to ENVI_DEFINE_ROI (after setting up the ROI with
ENVI_CREATE_ROI). Getting those indices probably isn't all that hard
either, it just depends on what you mean by "clusters" :)

Jeff

Jeff
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Dynamic Spectrum
Next Topic: Re: generic bar plotting routine

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 19:13:47 PDT 2025

Total time taken to generate the page: 0.00473 seconds