X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 04 Dec 2019 01:10 PM by  Rajeev Bhattarai
TIFF to ENVI Classification file
 2 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
03 Nov 2010 03:47 AM
    Hi, I am having issues with converting a TIFF file to an ENVI Classification file to be able to run a Confusion Matrix based on ROIs in ENVI. Is this possible? If it is, what 'type' does it have to be? Reason being, I have generated numerous MLC Classifications in ENVI and converted the classifications to vector format. To generate two spatial scale vegetation maps (1:25K & 1:100K) I have brought these into ArcMap as shapefiles and eliminated polygons less than a minimum mapping unit. I have then rasterised them to an .img file in ArcMap then had to save as TIFF from ERDAS to bring back into ENVI to conduct a Confusion Matrix from my ROIs. Having done this I realised the file needs to be an ENVI Classification file - please shed some light! Note: I am using ENVI 4.3 and sometimes 4.6. Many thanks Donna

    MariM



    Veteran Member


    Posts:2396
    Veteran Member


    --
    03 Nov 2010 08:01 AM
    If your output is a 3 band RGB TIFF, then it will be difficult to convert the TIFF to a single band classification. Do you have access to IDL? You might have a look at this tech tip: http://www.ittvis.com/ser...echtip.asp?ttid=4377 If your file is a single band TIFF, you might be able to convert it to classification by going to Edit ENVI Header and changing the file type to 'ENVI Classification' in the header. This will prompt you to enter the number of classes in the file (+ unclassified) and you can assign colors in this dialog.

    Rajeev Bhattarai



    New Member


    Posts:11
    New Member


    --
    04 Dec 2019 01:10 PM
    Hi,
    This unclassified class is creating trouble when I am trying to produce a confusion matrix. It creates a greater number of pixels than I actually have for validation.
    Ground Truth (Pixels).

    Class EVF:Layer: LiEVF:Layer: MoEVF:Layer: Un Total
    Undefoliated 4 4 23 31
    light 3 0 2 5
    moderate 5 4 2 11
    Undefoliated 4 4 23 31
    Total 16 12 50 78
    If you see the confusion matrix above it is repeating Undefoliated class. I assigned undefoliated for unclassified class.
    Do you have any solution for this?
    Thanks in advance.
    You are not authorized to post a reply.