Hi,

not sure to understand. If you want to convert a binary image to RGB
what you need is the ColorMapping application:

http://www.orfeo-toolbox.org/CookBook/CookBooksu59.html#x86-1390005.1.1

For classification map, have a look to the method called "custom" in the
application which allows to use a look up table. I've attached a example
of LUT.

Manuel
 
Le 05/02/2015 20:03, 'milou' via otb-users a écrit :
> Hello,
> I use two input classifications with both 4 classes, for the tow
> method Majority voting and Dempster Shafer (fusion of classification),
> the result is a binary imge! how can we do to have a result in the
> same colors of the classification .
> thank you.
> -- 
> -- 
> 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.

-- 
Manuel GRIZONNET

-- 
-- 
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.
# Lines beginning with a # are ignored
#Grass (green)
1 1 154 46
#Water (blue)
2 1 1 254
#Sand (yellow)
3 254 239 1
#Road (grey)
4 127 127 127
#Roof (orange)
5 246 101 1

Reply via email to