<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
span.Elpatostilius17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:8.5in 11.0in;
margin:85.05pt 28.35pt 56.7pt 85.05pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=LT link="#0563C1" vlink="#954F72" style='word-wrap:break-word'><div class=WordSection1><p class=MsoNormal>Good afternoon, Sir/Madam<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I have a .tiff file where are 6 values (1, 2, 3, 4, 5, 6). This is a test of the classification algorithm (1 – Water, etc.) I am trying to set colors for that, code: <img width=576 height=296 style='width:6.0in;height:3.0833in' id="Paveikslėlis_x0020_1" src="cid:image001.png@01D858C8.55E20950"><o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>It sets colors, but all others are set to black. From 7 to 65536 (including 0) code sets the color black. Is it possible to set values just from 1 to 6?<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal style='line-height:11.0pt;mso-line-height-rule:exactly'><span style='color:#1F497D;mso-fareast-language:LT'>Pagarbiai<o:p></o:p></span></p><p class=MsoNormal style='line-height:11.0pt;mso-line-height-rule:exactly'><span style='color:#1F497D;mso-fareast-language:LT'>Julius Jancevičius<o:p></o:p></span></p><p class=MsoNormal style='line-height:10.0pt;mso-line-height-rule:exactly'><span style='color:#1F497D;mso-fareast-language:LT'><o:p> </o:p></span></p><p class=MsoNormal style='line-height:11.0pt;mso-line-height-rule:exactly'><span style='color:#1F497D;mso-fareast-language:LT'>Programuotojas<o:p></o:p></span></p><p class=MsoNormal style='line-height:11.0pt;mso-line-height-rule:exactly'><b><span style='color:#1F497D;mso-fareast-language:LT'>UAB „S2P“<o:p></o:p></span></b></p><p class=MsoNormal style='line-height:11.0pt;mso-line-height-rule:exactly'><b><i><span style='color:green;mso-fareast-language:LT'>Solutions to Perform</span></i></b><i><span style='color:green;mso-fareast-language:LT'><br></span></i><span style='color:#1F497D;mso-fareast-language:LT'>Adresas: Ukmergės g. 251, </span><span lang=EN-US style='color:#1F497D;mso-fareast-language:LT'><o:p></o:p></span></p><p class=MsoNormal style='line-height:11.0pt;mso-line-height-rule:exactly'><span lang=SV style='color:#1F497D;mso-fareast-language:LT'>LT - 07100, Vilnius<o:p></o:p></span></p><p class=MsoNormal style='line-height:11.0pt;mso-line-height-rule:exactly'><span style='color:#1F497D;mso-fareast-language:LT'>Tel: </span><span lang=SV style='color:#1F497D;mso-fareast-language:LT'>+370 683 99470<o:p></o:p></span></p><p class=MsoNormal style='line-height:11.0pt;mso-line-height-rule:exactly'><span style='color:#1F497D;mso-fareast-language:LT'>El. p.: </span><span style='color:#2E74B5;mso-fareast-language:LT'><a href="mailto:julius.jancevicius@s2p.lt"><span style='color:#0563C1'>julius.jancevicius@s2p.lt</span></a><o:p></o:p></span></p><p class=MsoNormal style='line-height:11.0pt;mso-line-height-rule:exactly'><span style='color:#2E74B5;mso-fareast-language:LT'><a href="http://www.s2p.lt/"><span style='color:#2E74B5'>http://www.s2p.lt</span></a><o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>