Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ftomei committed Nov 24, 2023
1 parent e7ca546 commit 6cbb2c1
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions gis/color.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -179,12 +179,11 @@ bool setDTMScale(Crit3DColorScale* myScale)

bool setLAIScale(Crit3DColorScale* myScale)
{
myScale->initialize(4, 256);
myScale->initialize(3, 256);

myScale->keyColor[0] = Crit3DColor(150, 75, 0); /*!< brown */
myScale->keyColor[1] = Crit3DColor(200, 150, 0); /*!< yellow */
myScale->keyColor[2] = Crit3DColor(32, 150, 32); /*!< dark green */
myScale->keyColor[3] = Crit3DColor(0, 255, 0); /*!< green */
myScale->keyColor[0] = Crit3DColor(200, 150, 0); /*!< ocra */
myScale->keyColor[1] = Crit3DColor(32, 150, 32); /*!< dark green */
myScale->keyColor[2] = Crit3DColor(0, 255, 0); /*!< green */

return(myScale->classify());
}
Expand Down

0 comments on commit 6cbb2c1

Please sign in to comment.