diff options
author | Aaron LI <aaronly.me@outlook.com> | 2016-10-15 23:21:23 +0800 |
---|---|---|
committer | Aaron LI <aaronly.me@outlook.com> | 2016-10-15 23:21:23 +0800 |
commit | a1ccf670ab733c75ff04ece33949a9dd8fb7e5f6 (patch) | |
tree | 97d0b317c53d2be581df622af031433ab1a81e2d | |
parent | 3d2d2d3d1e255d5b44e9f5255d2dcd18f54f4bd5 (diff) | |
download | fg21sim-a1ccf670ab733c75ff04ece33949a9dd8fb7e5f6.tar.bz2 |
utils/draw.py: Add disclaimer about the license: Modified BSD
-rw-r--r-- | fg21sim/utils/draw.py | 45 |
1 files changed, 41 insertions, 4 deletions
diff --git a/fg21sim/utils/draw.py b/fg21sim/utils/draw.py index 02f3903..b5fea62 100644 --- a/fg21sim/utils/draw.py +++ b/fg21sim/utils/draw.py @@ -1,13 +1,50 @@ # Copyright (c) 2016 Weitian LI <liweitianux@live.com> # MIT license +# +############################################################################## +# Copyright (C) 2011, the scikit-image team +# All rights reserved. + +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are +# met: + +# 1. Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in +# the documentation and/or other materials provided with the +# distribution. +# 3. Neither the name of skimage nor the names of its contributors may be +# used to endorse or promote products derived from this software without +# specific prior written permission. + +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR +# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +# DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, +# INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, +# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING +# IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +# POSSIBILITY OF SUCH DAMAGE. + """ Generic drawers (i.e., painters) that draw some commonly used shapes. -Credits: -- scikit-image: draw - http://scikit-image.org/docs/dev/api/skimage.draw.html - https://github.com/scikit-image/scikit-image/blob/master/skimage/draw/draw.py +DISCLAIMER +---------- +The following functions are taken from project [scikit-image], which are +licensed under the *Modified BSD* license. + +Credits +------- +.. [scikit-image] skimage.draw.draw + http://scikit-image.org/docs/dev/api/skimage.draw.html + https://github.com/scikit-image/scikit-image/blob/master/skimage/draw/draw.py """ |