Home | History | Annotate | Download | only in opencv
      1 IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
      2 
      3 By downloading, copying, installing or using the software you agree to this license.
      4 If you do not agree to this license, do not download, install,
      5 copy or use the software.
      6 
      7 
      8                        Intel License Agreement
      9                For Open Source Computer Vision Library
     10 
     11 Copyright (C) 2000-2006, Intel Corporation, all rights reserved.
     12 Third party copyrights are property of their respective owners.
     13 
     14 Redistribution and use in source and binary forms, with or without modification,
     15 are permitted provided that the following conditions are met:
     16 
     17   * Redistribution's of source code must retain the above copyright notice,
     18     this list of conditions and the following disclaimer.
     19 
     20   * Redistribution's in binary form must reproduce the above copyright notice,
     21     this list of conditions and the following disclaimer in the documentation
     22     and/or other materials provided with the distribution.
     23 
     24   * The name of Intel Corporation may not be used to endorse or promote products
     25     derived from this software without specific prior written permission.
     26 
     27 This software is provided by the copyright holders and contributors "as is" and
     28 any express or implied warranties, including, but not limited to, the implied
     29 warranties of merchantability and fitness for a particular purpose are disclaimed.
     30 In no event shall the Intel Corporation or contributors be liable for any direct,
     31 indirect, incidental, special, exemplary, or consequential damages
     32 (including, but not limited to, procurement of substitute goods or services;
     33 loss of use, data, or profits; or business interruption) however caused
     34 and on any theory of liability, whether in contract, strict liability,
     35 or tort (including negligence or otherwise) arising in any way out of
     36 the use of this software, even if advised of the possibility of such damage.
     37 
     38 ####################################################################################################
     39 
     40 OpenCV for Android NDK
     41 Copyright (c) 2006-2009 SIProp Project http://www.siprop.org/
     42 
     43 This software is provided 'as-is', without any express or implied warranty.
     44 In no event will the authors be held liable for any damages arising from the use of this software.
     45 Permission is granted to anyone to use this software for any purpose,
     46 including commercial applications, and to alter it and redistribute it freely,
     47 subject to the following restrictions:
     48 
     49 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.
     50 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
     51 3. This notice may not be removed or altered from any source distribution.
     52 
     53 ####################################################################################################
     54 
     55     * Copyright (c) 1992, 1993
     56     *  The Regents of the University of California.  All rights reserved.
     57     *
     58     * Redistribution and use in source and binary forms, with or without
     59     * modification, are permitted provided that the following conditions
     60     * are met:
     61     * 1. Redistributions of source code must retain the above copyright
     62     *    notice, this list of conditions and the following disclaimer.
     63     * 2. Redistributions in binary form must reproduce the above copyright
     64     *    notice, this list of conditions and the following disclaimer in the
     65     *    documentation and/or other materials provided with the distribution.
     66     * 3. All advertising materials mentioning features or use of this software
     67     *    must display the following acknowledgement:
     68     *  This product includes software developed by the University of
     69     *  California, Berkeley and its contributors.
     70     * 4. Neither the name of the University nor the names of its contributors
     71     *    may be used to endorse or promote products derived from this software
     72     *    without specific prior written permission.
     73     *
     74     * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
     75     * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
     76     * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
     77     * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
     78     * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
     79     * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
     80     * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
     81     * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
     82     * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
     83     * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
     84     * SUCH DAMAGE.
     85 
     86 ####################################################################################################
     87 
     88  * Copyright 2008, Liu Liu All rights reserved.
     89  *
     90  * Redistribution and use in source and binary forms, with or
     91  * without modification, are permitted provided that the following
     92  * conditions are met:
     93  * 	Redistributions of source code must retain the above
     94  * 	copyright notice, this list of conditions and the following
     95  * 	disclaimer.
     96  * 	Redistributions in binary form must reproduce the above
     97  * 	copyright notice, this list of conditions and the following
     98  * 	disclaimer in the documentation and/or other materials
     99  * 	provided with the distribution.
    100  * 	The name of Contributor may not be used to endorse or
    101  * 	promote products derived from this software without
    102  * 	specific prior written permission.
    103  *
    104  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
    105  * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
    106  * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
    107  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
    108  * DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY
    109  * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
    110  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
    111  * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
    112  * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
    113  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
    114  * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
    115  * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
    116  * OF SUCH DAMAGE.
    117 
    118 ####################################################################################################
    119 
    120 ///////////////////////////////////////////////////////////////////////////////
    121 //  IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
    122 //
    123 //  By downloading, copying, installing or using the software you agree to
    124 //  this license.  If you do not agree to this license, do not download,
    125 //  install, copy or use the software.
    126 //
    127 //                           License Agreement
    128 //                For Open Source Computer Vision Library
    129 //
    130 // Copyright (C) 2008, Google, all rights reserved.
    131 // Third party copyrights are property of their respective owners.
    132 //
    133 // Redistribution and use in source and binary forms, with or without
    134 // modification, are permitted provided that the following conditions are met:
    135 //
    136 //  * Redistribution's of source code must retain the above copyright notice,
    137 //     this list of conditions and the following disclaimer.
    138 //
    139 //  * Redistribution's in binary form must reproduce the above copyright notice,
    140 //     this list of conditions and the following disclaimer in the documentation
    141 //     and/or other materials provided with the distribution.
    142 //
    143 //  * The name of Intel Corporation or contributors may not be used to endorse
    144 //     or promote products derived from this software without specific
    145 //     prior written permission.
    146 //
    147 // This software is provided by the copyright holders and contributors "as is"
    148 // and any express or implied warranties, including, but not limited to, the
    149 // implied warranties of merchantability and fitness for a particular purpose
    150 // are disclaimed. In no event shall the Intel Corporation or contributors be
    151 // liable for any direct, indirect, incidental, special, exemplary, or
    152 // consequential damages
    153 // (including, but not limited to, procurement of substitute goods or services;
    154 // loss of use, data, or profits; or business interruption) however caused
    155 // and on any theory of liability, whether in contract, strict liability,
    156 // or tort (including negligence or otherwise) arising in any way out of
    157 // the use of this software, even if advised of the possibility of such damage.
    158 
    159 ####################################################################################################
    160 
    161 //    * Copyright (c) 1992, 1993
    162 //    *  The Regents of the University of California.  All rights reserved.
    163 //    *
    164 //    * Redistribution and use in source and binary forms, with or without
    165 //    * modification, are permitted provided that the following conditions
    166 //    * are met:
    167 //    * 1. Redistributions of source code must retain the above copyright
    168 //    *    notice, this list of conditions and the following disclaimer.
    169 //    * 2. Redistributions in binary form must reproduce the above copyright
    170 //    *    notice, this list of conditions and the following disclaimer in the
    171 //    *    documentation and/or other materials provided with the distribution.
    172 //    * 3. All advertising materials mentioning features or use of this software
    173 //    *    must display the following acknowledgement:
    174 //    *  This product includes software developed by the University of
    175 //    *  California, Berkeley and its contributors.
    176 //    * 4. Neither the name of the University nor the names of its contributors
    177 //    *    may be used to endorse or promote products derived from this software
    178 //    *    without specific prior written permission.
    179 //    *
    180 //    * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
    181 //    * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
    182 //    * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
    183 //    * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
    184 //    * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
    185 //    * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
    186 //    * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
    187 //    * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
    188 //    * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
    189 //    * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
    190 //    * SUCH DAMAGE.
    191 
    192 ####################################################################################################
    193 
    194 /********************************* COPYRIGHT NOTICE *******************************\
    195   Original code for Bayer->BGR/RGB conversion is provided by Dirk Schaefer
    196   from MD-Mathematische Dienste GmbH. Below is the copyright notice:
    197 
    198     IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
    199     By downloading, copying, installing or using the software you agree
    200     to this license. If you do not agree to this license, do not download,
    201     install, copy or use the software.
    202 
    203     Contributors License Agreement:
    204 
    205       Copyright (c) 2002,
    206       MD-Mathematische Dienste GmbH
    207       Im Defdahl 5-10
    208       44141 Dortmund
    209       Germany
    210       www.md-it.de
    211 
    212     Redistribution and use in source and binary forms,
    213     with or without modification, are permitted provided
    214     that the following conditions are met:
    215 
    216     Redistributions of source code must retain
    217     the above copyright notice, this list of conditions and the following disclaimer.
    218     Redistributions in binary form must reproduce the above copyright notice,
    219     this list of conditions and the following disclaimer in the documentation
    220     and/or other materials provided with the distribution.
    221     The name of Contributor may not be used to endorse or promote products
    222     derived from this software without specific prior written permission.
    223 
    224     THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
    225     AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
    226     THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
    227     PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE
    228     FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
    229     DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
    230     OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
    231     HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
    232     STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
    233     ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
    234     THE POSSIBILITY OF SUCH DAMAGE.
    235 \**********************************************************************************/
    236 ####################################################################################################
    237 
    238 /****************************************************************************************\
    239                                 COPYRIGHT NOTICE
    240                                 ----------------
    241 
    242   The code has been derived from libsvm library (version 2.6)
    243   (http://www.csie.ntu.edu.tw/~cjlin/libsvm).
    244 
    245   Here is the orignal copyright:
    246 ------------------------------------------------------------------------------------------
    247     Copyright (c) 2000-2003 Chih-Chung Chang and Chih-Jen Lin
    248     All rights reserved.
    249 
    250     Redistribution and use in source and binary forms, with or without
    251     modification, are permitted provided that the following conditions
    252     are met:
    253 
    254     1. Redistributions of source code must retain the above copyright
    255     notice, this list of conditions and the following disclaimer.
    256 
    257     2. Redistributions in binary form must reproduce the above copyright
    258     notice, this list of conditions and the following disclaimer in the
    259     documentation and/or other materials provided with the distribution.
    260 
    261     3. Neither name of copyright holders nor the names of its contributors
    262     may be used to endorse or promote products derived from this software
    263     without specific prior written permission.
    264 
    265 
    266     THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
    267     ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
    268     LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
    269     A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR
    270     CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
    271     EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
    272     PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
    273     PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
    274     LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
    275     NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
    276     SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    277 \****************************************************************************************/
    278 ####################################################################################################
    279 
    280 /*M///////////////////////////////////////////////////////////////////////////////////////
    281 //
    282 //  IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
    283 //
    284 //  By downloading, copying, installing or using the software you agree to this license.
    285 //  If you do not agree to this license, do not download, install,
    286 //  copy or use the software.
    287 //
    288 //
    289 //                        Intel License Agreement
    290 //                For Open Source Computer Vision Library
    291 //
    292 // Copyright (C) 2000, Intel Corporation, all rights reserved.
    293 // Third party copyrights are property of their respective owners.
    294 //
    295 // Redistribution and use in source and binary forms, with or without modification,
    296 // are permitted provided that the following conditions are met:
    297 //
    298 //   * Redistribution's of source code must retain the above copyright notice,
    299 //     this list of conditions and the following disclaimer.
    300 //
    301 //   * Redistribution's in binary form must reproduce the above copyright notice,
    302 //     this list of conditions and the following disclaimer in the documentation
    303 //     and/or other materials provided with the distribution.
    304 //
    305 //   * The name of Intel Corporation may not be used to endorse or promote products
    306 //     derived from this software without specific prior written permission.
    307 //
    308 // This software is provided by the copyright holders and contributors "as is" and
    309 // any express or implied warranties, including, but not limited to, the implied
    310 // warranties of merchantability and fitness for a particular purpose are disclaimed.
    311 // In no event shall the Intel Corporation or contributors be liable for any direct,
    312 // indirect, incidental, special, exemplary, or consequential damages
    313 // (including, but not limited to, procurement of substitute goods or services;
    314 // loss of use, data, or profits; or business interruption) however caused
    315 // and on any theory of liability, whether in contract, strict liability,
    316 // or tort (including negligence or otherwise) arising in any way out of
    317 // the use of this software, even if advised of the possibility of such damage.
    318 //
    319 //M*/
    320 ####################################################################################################
    321 
    322 /*M///////////////////////////////////////////////////////////////////////////////////////
    323 //
    324 //  IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
    325 //
    326 //  By downloading, copying, installing or using the software you agree to this license.
    327 //  If you do not agree to this license, do not download, install,
    328 //  copy or use the software.
    329 //
    330 //
    331 //                        Intel License Agreement
    332 //                For Open Source Computer Vision Library
    333 //
    334 // Copyright (C) 2000, Intel Corporation, all rights reserved.
    335 // Third party copyrights are property of their respective icvers.
    336 //
    337 // Redistribution and use in source and binary forms, with or without modification,
    338 // are permitted provided that the following conditions are met:
    339 //
    340 //   * Redistribution's of source code must retain the above copyright notice,
    341 //     this list of conditions and the following disclaimer.
    342 //
    343 //   * Redistribution's in binary form must reproduce the above copyright notice,
    344 //     this list of conditions and the following disclaimer in the documentation
    345 //     and/or other materials provided with the distribution.
    346 //
    347 //   * The name of Intel Corporation may not be used to endorse or promote products
    348 //     derived from this software without specific prior written permission.
    349 //
    350 // This software is provided by the copyright holders and contributors "as is" and
    351 // any express or implied warranties, including, but not limited to, the implied
    352 // warranties of merchantability and fitness for a particular purpose are disclaimed.
    353 // In no event shall the Intel Corporation or contributors be liable for any direct,
    354 // indirect, incidental, special, exemplary, or consequential damages
    355 // (including, but not limited to, procurement of substitute goods or services;
    356 // loss of use, data, or profits; or business interruption) however caused
    357 // and on any theory of liability, whether in contract, strict liability,
    358 // or tort (including negligence or otherwise) arising in any way out of
    359 // the use of this software, even if advised of the possibility of such damage.
    360 //
    361 //M*/
    362 ####################################################################################################
    363 
    364 /*M///////////////////////////////////////////////////////////////////////////////////////
    365 //
    366 //  IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
    367 //
    368 //  By downloading, copying, installing or using the software you agree to this license.
    369 //  If you do not agree to this license, do not download, install,
    370 //  copy or use the software.
    371 //
    372 //
    373 //                        Intel License Agreement
    374 //                For Open Source Computer Vision Library
    375 //
    376 // Copyright (C) 2002, Intel Corporation, all rights reserved.
    377 // Third party copyrights are property of their respective owners.
    378 //
    379 // Redistribution and use in source and binary forms, with or without modification,
    380 // are permitted provided that the following conditions are met:
    381 //
    382 //   * Redistributions of source code must retain the above copyright notice,
    383 //     this list of conditions and the following disclaimer.
    384 //
    385 //   * Redistributions in binary form must reproduce the above copyright notice,
    386 //     this list of conditions and the following disclaimer in the documentation
    387 //     and/or other materials provided with the distribution.
    388 //
    389 //   * The name of Intel Corporation may not be used to endorse or promote products
    390 //     derived from this software without specific prior written permission.
    391 //
    392 // This software is provided by the copyright holders and contributors "as is" and
    393 // any express or implied warranties, including, but not limited to, the implied
    394 // warranties of merchantability and fitness for a particular purpose are disclaimed.
    395 // In no event shall the Intel Corporation or contributors be liable for any direct,
    396 // indirect, incidental, special, exemplary, or consequential damages
    397 // (including, but not limited to, procurement of substitute goods or services;
    398 // loss of use, data, or profits; or business interruption) however caused
    399 // and on any theory of liability, whether in contract, strict liability,
    400 // or tort (including negligence or otherwise) arising in any way out of
    401 // the use of this software, even if advised of the possibility of such damage.
    402 //
    403 //M*/
    404 ####################################################################################################
    405 
    406 /*M///////////////////////////////////////////////////////////////////////////////////////
    407 //
    408 //  IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
    409 //
    410 //  By downloading, copying, installing or using the software you agree to this license.
    411 //  If you do not agree to this license, do not download, install,
    412 //  copy or use the software.
    413 //
    414 //
    415 //                        Intel License Agreement
    416 //                For Open Source Computer Vision Library
    417 //
    418 // Copyright( C) 2000, Intel Corporation, all rights reserved.
    419 // Third party copyrights are property of their respective owners.
    420 //
    421 // Redistribution and use in source and binary forms, with or without modification,
    422 // are permitted provided that the following conditions are met:
    423 //
    424 //   * Redistribution's of source code must retain the above copyright notice,
    425 //     this list of conditions and the following disclaimer.
    426 //
    427 //   * Redistribution's in binary form must reproduce the above copyright notice,
    428 //     this list of conditions and the following disclaimer in the documentation
    429 //     and/or other materials provided with the distribution.
    430 //
    431 //   * The name of Intel Corporation may not be used to endorse or promote products
    432 //     derived from this software without specific prior written permission.
    433 //
    434 // This software is provided by the copyright holders and contributors "as is" and
    435 // any express or implied warranties, including, but not limited to, the implied
    436 // warranties of merchantability and fitness for a particular purpose are disclaimed.
    437 // In no event shall the Intel Corporation or contributors be liable for any direct,
    438 // indirect, incidental, special, exemplary, or consequential damages
    439 //(including, but not limited to, procurement of substitute goods or services;
    440 // loss of use, data, or profits; or business interruption) however caused
    441 // and on any theory of liability, whether in contract, strict liability,
    442 // or tort(including negligence or otherwise) arising in any way out of
    443 // the use of this software, even if advised of the possibility of such damage.
    444 //
    445 //M*/
    446 ####################################################################################################
    447 
    448 /*M///////////////////////////////////////////////////////////////////////////////////////
    449 //
    450 //  IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
    451 //
    452 //  By downloading, copying, installing or using the software you agree to this license.
    453 //  If you do not agree to this license, do not download, install,
    454 //  copy or use the software.
    455 //
    456 //
    457 //                        Intel License Agreement
    458 //                For Open Source Computer Vision Library
    459 //
    460 // Copyright (C) 2008, Xavier Delacour, all rights reserved.
    461 // Third party copyrights are property of their respective owners.
    462 //
    463 // Redistribution and use in source and binary forms, with or without modification,
    464 // are permitted provided that the following conditions are met:
    465 //
    466 //   * Redistribution's of source code must retain the above copyright notice,
    467 //     this list of conditions and the following disclaimer.
    468 //
    469 //   * Redistribution's in binary form must reproduce the above copyright notice,
    470 //     this list of conditions and the following disclaimer in the documentation
    471 //     and/or other materials provided with the distribution.
    472 //
    473 //   * The name of Intel Corporation may not be used to endorse or promote products
    474 //     derived from this software without specific prior written permission.
    475 //
    476 // This software is provided by the copyright holders and contributors "as is" and
    477 // any express or implied warranties, including, but not limited to, the implied
    478 // warranties of merchantability and fitness for a particular purpose are disclaimed.
    479 // In no event shall the Intel Corporation or contributors be liable for any direct,
    480 // indirect, incidental, special, exemplary, or consequential damages
    481 // (including, but not limited to, procurement of substitute goods or services;
    482 // loss of use, data, or profits; or business interruption) however caused
    483 // and on any theory of liability, whether in contract, strict liability,
    484 // or tort (including negligence or otherwise) arising in any way out of
    485 // the use of this software, even if advised of the possibility of such damage.
    486 //
    487 //M*/
    488 ####################################################################################################
    489 
    490 /*M///////////////////////////////////////////////////////////////////////////////////////
    491 //
    492 //  IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
    493 //
    494 //  By downloading, copying, installing or using the software you agree to this license.
    495 //  If you do not agree to this license, do not download, install,
    496 //  copy or use the software.
    497 //
    498 //
    499 //                        Intel License Agreement
    500 //                For Open Source Computer Vision Library
    501 //
    502 // Copyright( C) 2000, Intel Corporation, all rights reserved.
    503 // Third party copyrights are property of their respective owners.
    504 //
    505 // Redistribution and use in source and binary forms, with or without modification,
    506 // are permitted provided that the following conditions are met:
    507 //
    508 //   * Redistribution's of source code must retain the above copyright notice,
    509 //     this list of conditions and the following disclaimer.
    510 //
    511 //   * Redistribution's in binary form must reproduce the above copyright notice,
    512 //     this list of conditions and the following disclaimer in the documentation
    513 //     and/or other materials provided with the distribution.
    514 //
    515 //   * The name of Intel Corporation may not be used to endorse or promote products
    516 //     derived from this software without specific prior written permission.
    517 //
    518 // This software is provided by the copyright holders and contributors "as is" and
    519 // any express or implied warranties, including, but not limited to, the implied
    520 // warranties of merchantability and fitness for a particular purpose are disclaimed.
    521 // In no event shall the Intel Corporation or contributors be liable for any direct,
    522 // indirect, incidental, special, exemplary, or consequential damages
    523 //(including, but not limited to, procurement of substitute goods or services;
    524 // loss of use, data, or profits; or business interruption) however caused
    525 // and on any theory of liability, whether in contract, strict liability,
    526 // or tort(including negligence or otherwise) arising in any way out of
    527 // the use of this software, even ifadvised of the possibility of such damage.
    528 //
    529 //M*/
    530 ####################################################################################################
    531 
    532 /*M///////////////////////////////////////////////////////////////////////////////////////
    533 //
    534 //  IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
    535 //
    536 //  By downloading, copying, installing or using the software you agree to this license.
    537 //  If you do not agree to this license, do not download, install,
    538 //  copy or use the software.
    539 //
    540 //                        Intel License Agreement
    541 //                For Open Source Computer Vision Library
    542 //
    543 // Copyright (C) 2000, Intel Corporation, all rights reserved.
    544 // Third party copyrights are property of their respective owners.
    545 //
    546 // Redistribution and use in source and binary forms, with or without modification,
    547 // are permitted provided that the following conditions are met:
    548 //
    549 //   * Redistribution's of source code must retain the above copyright notice,
    550 //     this list of conditions and the following disclaimer.
    551 //
    552 //   * Redistribution's in binary form must reproduce the above copyright notice,
    553 //     this list of conditions and the following disclaimer in the documentation
    554 //     and/or other materials provided with the distribution.
    555 //
    556 //   * The name of Intel Corporation may not be used to endorse or promote products
    557 //     derived from this software without specific prior written permission.
    558 //
    559 // This software is provided by the copyright holders and contributors "as is" and
    560 // any express or implied warranties, including, but not limited to, the implied
    561 // warranties of merchantability and fitness for a particular purpose are disclaimed.
    562 // In no event shall the Intel Corporation or contributors be liable for any direct,
    563 // indirect, incidental, special, exemplary, or consequential damages
    564 // (including, but not limited to, procurement of substitute goods or services;
    565 // loss of use, data, or profits; or business interruption) however caused
    566 // and on any theory of liability, whether in contract, strict liability,
    567 // or tort (including negligence or otherwise) arising in any way out of
    568 // the use of this software, even if advised of the possibility of such damage.
    569 //
    570 //M*/
    571 ####################################################################################################
    572 
    573 /*M///////////////////////////////////////////////////////////////////////////////////////
    574 //
    575 //  IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
    576 //
    577 //  By downloading, copying, installing or using the software you agree to this license.
    578 //  If you do not agree to this license, do not download, install,
    579 //  copy or use the software.
    580 //
    581 //
    582 //                        Intel License Agreement
    583 //                For Open Source Computer Vision Library
    584 //
    585 // Copyright (C) 2008, Nils Hasler, all rights reserved.
    586 // Third party copyrights are property of their respective owners.
    587 //
    588 // Redistribution and use in source and binary forms, with or without modification,
    589 // are permitted provided that the following conditions are met:
    590 //
    591 //   * Redistribution's of source code must retain the above copyright notice,
    592 //     this list of conditions and the following disclaimer.
    593 //
    594 //   * Redistribution's in binary form must reproduce the above copyright notice,
    595 //     this list of conditions and the following disclaimer in the documentation
    596 //     and/or other materials provided with the distribution.
    597 //
    598 //   * The name of Intel Corporation may not be used to endorse or promote products
    599 //     derived from this software without specific prior written permission.
    600 //
    601 // This software is provided by the copyright holders and contributors "as is" and
    602 // any express or implied warranties, including, but not limited to, the implied
    603 // warranties of merchantability and fitness for a particular purpose are disclaimed.
    604 // In no event shall the Intel Corporation or contributors be liable for any direct,
    605 // indirect, incidental, special, exemplary, or consequential damages
    606 // (including, but not limited to, procurement of substitute goods or services;
    607 // loss of use, data, or profits; or business interruption) however caused
    608 // and on any theory of liability, whether in contract, strict liability,
    609 // or tort (including negligence or otherwise) arising in any way out of
    610 // the use of this software, even if advised of the possibility of such damage.
    611 //
    612 //M*/
    613 ####################################################################################################
    614 
    615 /*M///////////////////////////////////////////////////////////////////////////////////////
    616 //
    617 //  IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
    618 //
    619 //  By downloading, copying, installing or using the software you agree to this license.
    620 //  If you do not agree to this license, do not download, install,
    621 //  copy or use the software.
    622 //
    623 //
    624 //            Intel License Agreement
    625 //        For Open Source Computer Vision Library
    626 //
    627 // Copyright (C) 2000, Intel Corporation, all rights reserved.
    628 // Third party copyrights are property of their respective owners.
    629 //
    630 // Redistribution and use in source and binary forms, with or without modification,
    631 // are permitted provided that the following conditions are met:
    632 //
    633 //   * Redistribution's of source code must retain the above copyright notice,
    634 //     this list of conditions and the following disclaimer.
    635 //
    636 //   * Redistribution's in binary form must reproduce the above copyright notice,
    637 //     this list of conditions and the following disclaimer in the documentation
    638 //     and/or other materials provided with the distribution.
    639 //
    640 //   * The name of Intel Corporation may not be used to endorse or promote products
    641 //     derived from this software without specific prior written permission.
    642 //
    643 // This software is provided by the copyright holders and contributors "as is" and
    644 // any express or implied warranties, including, but not limited to, the implied
    645 // warranties of merchantability and fitness for a particular purpose are disclaimed.
    646 // In no event shall the Intel Corporation or contributors be liable for any direct,
    647 // indirect, incidental, special, exemplary, or consequential damages
    648 // (including, but not limited to, procurement of substitute goods or services;
    649 // loss of use, data, or profits; or business interruption) however caused
    650 // and on any theory of liability, whether in contract, strict liability,
    651 // or tort (including negligence or otherwise) arising in any way out of
    652 // the use of this software, even if advised of the possibility of such damage.
    653 //
    654 //M*/
    655 ####################################################################################################
    656 
    657 /*M///////////////////////////////////////////////////////////////////////////////////////
    658 //
    659 //  IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
    660 //
    661 //  By downloading, copying, installing or using the software you agree to this license.
    662 //  If you do not agree to this license, do not download, install,
    663 //  copy or use the software.
    664 //
    665 //
    666 //			  Intel License Agreement
    667 //		  For Open Source Computer Vision Library
    668 //
    669 // Copyright (C) 2000, Intel Corporation, all rights reserved.
    670 // Third party copyrights are property of their respective owners.
    671 //
    672 // Redistribution and use in source and binary forms, with or without modification,
    673 // are permitted provided that the following conditions are met:
    674 //
    675 //   * Redistribution's of source code must retain the above copyright notice,
    676 //     this list of conditions and the following disclaimer.
    677 //
    678 //   * Redistribution's in binary form must reproduce the above copyright notice,
    679 //     this list of conditions and the following disclaimer in the documentation
    680 //     and/or other materials provided with the distribution.
    681 //
    682 //   * The name of Intel Corporation may not be used to endorse or promote products
    683 //     derived from this software without specific prior written permission.
    684 //
    685 // This software is provided by the copyright holders and contributors "as is" and
    686 // any express or implied warranties, including, but not limited to, the implied
    687 // warranties of merchantability and fitness for a particular purpose are disclaimed.
    688 // In no event shall the Intel Corporation or contributors be liable for any direct,
    689 // indirect, incidental, special, exemplary, or consequential damages
    690 // (including, but not limited to, procurement of substitute goods or services;
    691 // loss of use, data, or profits; or business interruption) however caused
    692 // and on any theory of liability, whether in contract, strict liability,
    693 // or tort (including negligence or otherwise) arising in any way out of
    694 // the use of this software, even if advised of the possibility of such damage.
    695 //
    696 //M*/
    697 ####################################################################################################
    698 
    699 /*M///////////////////////////////////////////////////////////////////////////////////////
    700 //
    701 //  IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
    702 //
    703 //  By downloading, copying, installing or using the software you agree to this license.
    704 //  If you do not agree to this license, do not download, install,
    705 //  copy or use the software.
    706 //
    707 //
    708 //                        Intel License Agreement
    709 //
    710 // Copyright (C) 2000, Intel Corporation, all rights reserved.
    711 // Third party copyrights are property of their respective owners.
    712 //
    713 // Redistribution and use in source and binary forms, with or without modification,
    714 // are permitted provided that the following conditions are met:
    715 //
    716 //   * Redistribution's of source code must retain the above copyright notice,
    717 //     this list of conditions and the following disclaimer.
    718 //
    719 //   * Redistribution's in binary form must reproduce the above copyright notice,
    720 //     this list of conditions and the following disclaimer in the documentation
    721 //     and/or other materials provided with the distribution.
    722 //
    723 //   * The name of Intel Corporation may not be used to endorse or promote products
    724 //     derived from this software without specific prior written permission.
    725 //
    726 // This software is provided by the copyright holders and contributors "as is" and
    727 // any express or implied warranties, including, but not limited to, the implied
    728 // warranties of merchantability and fitness for a particular purpose are disclaimed.
    729 // In no event shall the Intel Corporation or contributors be liable for any direct,
    730 // indirect, incidental, special, exemplary, or consequential damages
    731 // (including, but not limited to, procurement of substitute goods or services;
    732 // loss of use, data, or profits; or business interruption) however caused
    733 // and on any theory of liability, whether in contract, strict liability,
    734 // or tort (including negligence or otherwise) arising in any way out of
    735 // the use of this software, even if advised of the possibility of such damage.
    736 //
    737 //M*/
    738 ####################################################################################################
    739 
    740 /*M///////////////////////////////////////////////////////////////////////////////////////
    741 //
    742 //  IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
    743 //
    744 //  By downloading, copying, installing or using the software you agree to this license.
    745 //  If you do not agree to this license, do not download, install,
    746 //  copy or use the software.
    747 //
    748 //
    749 //            Intel License Agreement
    750 //
    751 // Copyright (C) 2000, Intel Corporation, all rights reserved.
    752 // Third party copyrights are property of their respective owners.
    753 //
    754 // Redistribution and use in source and binary forms, with or without modification,
    755 // are permitted provided that the following conditions are met:
    756 //
    757 //   * Redistribution's of source code must retain the above copyright notice,
    758 //     this list of conditions and the following disclaimer.
    759 //
    760 //   * Redistribution's in binary form must reproduce the above copyright notice,
    761 //     this list of conditions and the following disclaimer in the documentation
    762 //     and/or other materials provided with the distribution.
    763 //
    764 //   * The name of Intel Corporation may not be used to endorse or promote products
    765 //     derived from this software without specific prior written permission.
    766 //
    767 // This software is provided by the copyright holders and contributors "as is" and
    768 // any express or implied warranties, including, but not limited to, the implied
    769 // warranties of merchantability and fitness for a particular purpose are disclaimed.
    770 // In no event shall the Intel Corporation or contributors be liable for any direct,
    771 // indirect, incidental, special, exemplary, or consequential damages
    772 // (including, but not limited to, procurement of substitute goods or services;
    773 // loss of use, data, or profits; or business interruption) however caused
    774 // and on any theory of liability, whether in contract, strict liability,
    775 // or tort (including negligence or otherwise) arising in any way out of
    776 // the use of this software, even if advised of the possibility of such damage.
    777 //
    778 //M*/
    779 ####################################################################################################
    780 
    781   Copyright (C) 1978-1999 Ken Turkowski. <turk (a] computer.org>
    782 
    783     All rights reserved.
    784 
    785     Warranty Information
    786       Even though I have reviewed this software, I make no warranty
    787       or representation, either express or implied, with respect to this
    788       software, its quality, accuracy, merchantability, or fitness for a
    789       particular purpose.  As a result, this software is provided "as is,"
    790       and you, its user, are assuming the entire risk as to its quality
    791       and accuracy.
    792 
    793     This code may be used and freely distributed as long as it includes
    794     this copyright notice and the above warranty information.
    795 
    796 ####################################################################################################
    797 
    798     The algorithms developed and implemented by Vezhnevets Vldimir
    799     aka Dead Moroz (vvp (a] graphics.cs.msu.ru)
    800     See http://graphics.cs.msu.su/en/research/calibration/opencv.html
    801     for detailed information.
    802 
    803     Reliability additions and modifications made by Philip Gruebele.
    804     <a href="mailto:pgruebele (a] cox.net">pgruebele (a] cox.net</a>
    805 
    806     Some further improvements for detection of partially ocluded boards at non-ideal
    807     lighting conditions have been made by Alex Bovyrin and Kurt Kolonige
    808 
    809 ####################################################################################################
    810 
    811   Copyright (C) 1981-1999 Ken Turkowski. <turk (a] computer.org>
    812 
    813   All rights reserved.
    814 
    815   Warranty Information
    816   Even though I have reviewed this software, I make no warranty
    817   or representation, either express or implied, with respect to this
    818   software, its quality, accuracy, merchantability, or fitness for a
    819   particular purpose.  As a result, this software is provided "as is,"
    820   and you, its user, are assuming the entire risk as to its quality
    821   and accuracy.
    822 
    823   This code may be used and freely distributed as long as it includes
    824   this copyright notice and the above warranty information.
    825 
    826 ####################################################################################################
    827 
    828     An implementation of the Earth Movers Distance.
    829     Based of the solution for the Transportation problem as described in
    830     "Introduction to Mathematical Programming" by F. S. Hillier and
    831     G. J. Lieberman, McGraw-Hill, 1990.
    832 
    833     Copyright (C) 1998 Yossi Rubner
    834     Computer Science Department, Stanford University
    835     E-Mail: rubner (a] cs.stanford.edu   URL: http://vision.stanford.edu/~rubner
    836     ==========================================================================
    837 
    838 ####################################################################################################
    839 
    840  * Constant-time median filtering -- http://nomis80.org/ctmf.html
    841  * Copyright (C) 2006 Simon Perreault
    842  *
    843  * Contact:
    844  *  Laboratoire de vision et systemes numeriques
    845  *  Pavillon Adrien-Pouliot
    846  *  Universite Laval
    847  *  Sainte-Foy, Quebec, Canada
    848  *  G1K 7P4
    849  *
    850  *  perreaul (a] gel.ulaval.ca
    851 
    852 ####################################################################################################
    853 
    854 /********************************* COPYRIGHT NOTICE *******************************\
    855   The function for RGB to Lab conversion is based on the MATLAB script
    856   RGB2Lab.m translated by Mark Ruzon from C code by Yossi Rubner, 23 September 1997.
    857   See the page [http://vision.stanford.edu/~ruzon/software/rgblab.html]
    858 \**********************************************************************************/
    859 ####################################################################################################
    860 
    861 /****************************************************************************************\
    862     This part of the file implements JPEG codec on base of IJG libjpeg library,
    863     in particular, this is the modified example.doc from libjpeg package.
    864     See otherlibs/_graphics/readme.txt for copyright notice.
    865 \****************************************************************************************/
    866 ####################################################################################################
    867 
    868 /****************************************************************************************\
    869     A part of the file implements TIFF reader on base of libtiff library
    870     (see otherlibs/_graphics/readme.txt for copyright notice)
    871 \****************************************************************************************/
    872 ####################################################################################################
    873 
    874 /*
    875  * The following definitions (until #endif)
    876  * is an extract from IPL headers.
    877  * Copyright (c) 1995 Intel Corporation.
    878  */
    879 ####################################################################################################
    880 
    881