/*
 * Copyright (c) 2017-present, CV4J Contributors.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.cv4j.core.datamodel.lut;

/**
 * The filter which is consists of colors that are shades of blue and green.
 * <p>
 * For more information please see:
 * <a target="_blank" href="http://baike.baidu.com/link?url=kysXstK853g0mEbTgPIdkrqO5qTTbgfW-B0O1FJP4MYYzp
 * G5_6E_LlaP_6T9XTn2c97Ge6hJUojJzkppCdnO-mJxIee_XsNASTsy82RaQZe">About ColorMap</a> <p>
 * Or see:
 * <a target="_blank" href="http://matlab.izmiran.ru/help/techdoc/ref/colormap.html">MATLAB Function Reference - colormap</a>
 *
 */
public class WinterLUT {

    public static int[][] WINTER_LUT = new int[][]{
            {0, 0, 254}, {1, 1, 255}, {0, 2, 253}, {0, 4, 253}, {0, 4, 253},
            {1, 5, 252}, {0, 6, 250}, {1, 7, 251}, {0, 8, 251}, {0, 9, 252},
            {0, 10, 250}, {0, 11, 249}, {0, 12, 249}, {0, 13, 249}, {0, 14, 247},
            {1, 15, 246}, {0, 17, 247}, {0, 17, 245}, {0, 19, 246}, {0, 19, 246},
            {1, 20, 246}, {1, 20, 246}, {0, 22, 245}, {0, 22, 243}, {0, 24, 244},
            {0, 25, 242}, {0, 27, 241}, {0, 27, 241}, {0, 29, 241}, {0, 29, 241},
            {0, 30, 240}, {0, 30, 238}, {0, 32, 239}, {1, 33, 238}, {0, 34, 238},
            {0, 35, 238}, {0, 35, 238}, {1, 37, 237}, {0, 38, 235}, {1, 39, 234},
            {0, 40, 234}, {1, 41, 234}, {0, 42, 232}, {0, 43, 233}, {0, 44, 233},
            {0, 45, 234}, {0, 45, 232}, {1, 47, 231}, {0, 48, 232}, {0, 49, 230},
            {0, 51, 230}, {0, 51, 228}, {1, 52, 229}, {1, 53, 227}, {1, 55, 226},
            {1, 55, 226}, {0, 56, 227}, {0, 56, 227}, {0, 58, 227}, {0, 59, 225},
            {0, 60, 226}, {0, 61, 224}, {0, 62, 223}, {0, 62, 221}, {0, 64, 222},
            {0, 65, 221}, {0, 66, 222}, {1, 67, 223}, {1, 68, 221}, {1, 68, 219},
            {0, 70, 220}, {1, 71, 219}, {0, 72, 218}, {1, 73, 219}, {0, 74, 217},
            {0, 75, 218}, {0, 76, 216}, {0, 77, 217}, {0, 77, 215}, {1, 78, 216},
            {0, 80, 215}, {0, 81, 216}, {0, 83, 215}, {0, 83, 215}, {0, 83, 213},
            {1, 84, 214}, {1, 86, 213}, {1, 86, 211}, {0, 88, 212}, {0, 88, 211},
            {0, 90, 210}, {0, 90, 210}, {0, 93, 209}, {0, 93, 209}, {0, 94, 208},
            {0, 94, 207}, {0, 96, 208}, {1, 97, 207}, {0, 98, 207}, {1, 99, 206},
            {1, 99, 206}, {2, 101, 205}, {0, 102, 203}, {1, 103, 203}, {0, 104, 203},
            {1, 105, 202}, {0, 106, 200}, {0, 107, 201}, {0, 108, 201}, {0, 109, 202},
            {0, 109, 200}, {1, 111, 200}, {0, 111, 200}, {1, 113, 199}, {0, 114, 197},
            {0, 115, 196}, {1, 116, 197}, {1, 116, 196}, {1, 118, 195}, {1, 118, 195},
            {0, 120, 196}, {0, 120, 196}, {0, 122, 195}, {0, 123, 193}, {0, 124, 194},
            {0, 125, 192}, {1, 126, 192}, {1, 126, 190}, {0, 128, 191}, {0, 128, 189},
            {0, 130, 190}, {0, 130, 190}, {1, 131, 189}, {2, 132, 190}, {0, 133, 189},
            {1, 135, 188}, {0, 136, 188}, {1, 137, 187}, {0, 138, 185}, {1, 139, 186},
            {0, 140, 185}, {0, 141, 186}, {0, 141, 184}, {0, 143, 183}, {0, 143, 183},
            {0, 145, 182}, {0, 145, 182}, {0, 147, 181}, {0, 149, 182}, {0, 149, 181},
            {0, 151, 180}, {0, 151, 178}, {1, 152, 179}, {1, 153, 177}, {0, 155, 177},
            {0, 155, 177}, {0, 156, 178}, {0, 156, 178}, {1, 158, 177}, {0, 159, 175},
            {0, 160, 176}, {0, 161, 174}, {0, 162, 173}, {0, 163, 172}, {0, 164, 173},
            {0, 165, 171}, {1, 166, 170}, {2, 167, 171}, {0, 168, 171}, {1, 169, 172},
            {0, 170, 170}, {1, 171, 170}, {0, 172, 170}, {0, 173, 169}, {0, 174, 167},
            {0, 176, 166}, {0, 176, 166}, {0, 178, 166}, {0, 178, 166}, {0, 178, 166},
            {0, 180, 165}, {0, 181, 166}, {0, 183, 165}, {0, 183, 163}, {0, 185, 164},
            {0, 185, 162}, {0, 187, 162}, {0, 187, 162}, {0, 189, 161}, {0, 189, 161},
            {0, 191, 160}, {0, 191, 158}, {0, 193, 159}, {0, 193, 158}, {0, 194, 159},
            {0, 194, 157}, {0, 196, 158}, {0, 196, 156}, {0, 198, 155}, {0, 199, 153},
            {0, 200, 154}, {0, 202, 154}, {0, 203, 152}, {0, 204, 153}, {0, 204, 153},
            {1, 205, 154}, {0, 206, 152}, {0, 207, 151}, {0, 208, 151}, {0, 209, 151},
            {0, 210, 149}, {1, 211, 148}, {0, 212, 148}, {0, 213, 147}, {0, 214, 146},
            {0, 215, 147}, {0, 217, 148}, {0, 217, 148}, {0, 219, 147}, {0, 219, 145},
            {0, 220, 146}, {0, 221, 144}, {0, 223, 143}, {0, 223, 142}, {0, 225, 143},
            {0, 225, 141}, {0, 226, 140}, {0, 226, 140}, {0, 228, 141}, {0, 228, 141},
            {0, 230, 140}, {0, 231, 139}, {0, 232, 140}, {0, 234, 139}, {0, 235, 137},
            {0, 236, 136}, {0, 236, 136}, {1, 237, 136}, {0, 238, 136}, {0, 239, 135},
            {0, 240, 135}, {0, 241, 134}, {0, 242, 132}, {1, 243, 133}, {0, 244, 133},
            {1, 245, 134}, {0, 246, 132}, {0, 247, 132}, {0, 249, 133}, {0, 249, 131},
            {0, 251, 130}, {0, 251, 128}, {0, 252, 129}, {0, 253, 128}, {0, 254, 129},
            {0, 254, 129}
    };

}
