Hi Rodigue,

I just looked into the application source code : mask is used when sampling image for training (i.e. the K-Means centroids are estimated while ignoring masked pixels) but classification is applied to the whole image (mask not handled by filter). We can for sure add masking to the classification step. In the mean time, you can workaround this with the BandMath application. Say im1 is the classification result and im2 is the mask, you can use the following expression : "im2b1>0?im1b1:9999" (replace 9999 by any no data label).

Regards,

Julien

Le 13/04/2015 10:12, rodrigue archambeau a écrit :
No idea ?

Le mercredi 25 mars 2015 11:16:11 UTC+1, rodrigue archambeau a écrit :

    Hi everyone,

    I am trying to make an unsupervised classification with
    Monteverdi2, using  a set of landsat images from which I have
    masked out the land part (1 for water et 0 for land) (I want the
    water vegetation).
    But everytime I launched the classification, the mask zone is
    classified too.
    The image and the mask are both the same size,
    I had try to make the classification with the mask in interger and
    in float and nothing changed.

    Did anyone have an idea how to do this ?

    Thank you for your help

--
--
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html

You received this message because you are subscribed to the Google
Groups "otb-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
---
You received this message because you are subscribed to the Google Groups "otb-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected] <mailto:[email protected]>.
For more options, visit https://groups.google.com/d/optout.


--
Julien MICHEL
CNES - DCT/SI/AP - BPI 1219
18, avenue Edouard Belin
31401 Toulouse Cedex 09 - France
Tel: +33 561 282 894 - Fax: +33 561 283 109

--
--
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html

You received this message because you are subscribed to the Google
Groups "otb-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
--- You received this message because you are subscribed to the Google Groups "otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to