Skip to content

Commit 879f887

Browse files
committed
Copyright
1 parent f87e9f7 commit 879f887

File tree

11 files changed

+66
-15
lines changed

11 files changed

+66
-15
lines changed

src/Application/Tools/Algorithm/FastGrowCut.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
2626
DEALINGS IN THE SOFTWARE.
2727
*/
28+
// Adapted from: https://github.com/ljzhu/FastGrowCut
2829

2930
#ifndef FASTGROWCUT_H
3031
#define FASTGROWCUT_H

src/Application/Tools/Algorithm/FastGrowCut.hxx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
2727
DEALINGS IN THE SOFTWARE.
2828
*/
29+
// Adapted from: https://github.com/ljzhu/FastGrowCut
2930

3031
#include "FastGrowCut.h"
3132

src/Application/Tools/Algorithm/GrowCutter.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
2626
DEALINGS IN THE SOFTWARE.
2727
*/
28+
// Adapted from: https://github.com/ljzhu/FastGrowCut
2829

2930
#include <Application/Tools/Algorithm/GrowCutter.h>
3031

src/Application/Tools/Algorithm/GrowCutter.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
2626
DEALINGS IN THE SOFTWARE.
2727
*/
28+
// Adapted from: https://github.com/ljzhu/FastGrowCut
2829

2930
#ifndef APPLICATION_ALGORITHM_GROWCUTTER_H
3031
#define APPLICATION_ALGORITHM_GROWCUTTER_H

src/Application/Tools/Algorithm/HeapNode.cc

Lines changed: 28 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,31 @@
1-
//
2-
// HeapNode.cpp
3-
//
4-
//
1+
/*
2+
For more information, please see: http://software.sci.utah.edu
3+
4+
The MIT License
5+
6+
Copyright (c) 2021 Scientific Computing and Imaging Institute,
7+
University of Utah.
8+
9+
10+
Permission is hereby granted, free of charge, to any person obtaining a
11+
copy of this software and associated documentation files (the "Software"),
12+
to deal in the Software without restriction, including without limitation
13+
the rights to use, copy, modify, merge, publish, distribute, sublicense,
14+
and/or sell copies of the Software, and to permit persons to whom the
15+
Software is furnished to do so, subject to the following conditions:
16+
17+
The above copyright notice and this permission notice shall be included
18+
in all copies or substantial portions of the Software.
19+
20+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
21+
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
23+
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
25+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
26+
DEALINGS IN THE SOFTWARE.
27+
*/
528
// Created by Salma Bengali on 4/15/14.
6-
//
7-
//
829

930
#include "HeapNode.h"
1031

@@ -36,4 +57,4 @@ int HeapNode::operator <(FibHeapNode& RHS) {
3657
return X < 0 ? 1 : 0;
3758
return N < ((HeapNode&) RHS).N ? 1 : 0;
3859
}
39-
} // end namespace
60+
} // end namespace

src/Application/Tools/Algorithm/HeapNode.h

Lines changed: 28 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,31 @@
1-
//
2-
// HeapNode.h
3-
//
4-
//
1+
/*
2+
For more information, please see: http://software.sci.utah.edu
3+
4+
The MIT License
5+
6+
Copyright (c) 2021 Scientific Computing and Imaging Institute,
7+
University of Utah.
8+
9+
10+
Permission is hereby granted, free of charge, to any person obtaining a
11+
copy of this software and associated documentation files (the "Software"),
12+
to deal in the Software without restriction, including without limitation
13+
the rights to use, copy, modify, merge, publish, distribute, sublicense,
14+
and/or sell copies of the Software, and to permit persons to whom the
15+
Software is furnished to do so, subject to the following conditions:
16+
17+
The above copyright notice and this permission notice shall be included
18+
in all copies or substantial portions of the Software.
19+
20+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
21+
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
23+
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
25+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
26+
DEALINGS IN THE SOFTWARE.
27+
*/
528
// Created by Salma Bengali on 4/15/14.
6-
//
7-
//
829

930
#ifndef ____HeapNode__
1031
#define ____HeapNode__
@@ -17,7 +38,7 @@ namespace FGC {
1738
class HeapNode : public FibHeapNode {
1839
float N;
1940
long IndexV;
20-
41+
2142
public:
2243
HeapNode() : FibHeapNode() { N = 0; }
2344
virtual void operator =(FibHeapNode& RHS);

src/Application/Tools/Algorithm/fibheap.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
// This Fibonacci heap implementation is Copyright (c) 1996 by John Boyer.
55
// See the header file for free usage information.
66
//***************************************************************************
7+
//https://github.com/ljzhu/FastGrowCut
78

89
//***************************************************************************
910
// The classes in this package are designed to allow the package user

src/Application/Tools/Algorithm/fibheap.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
// software or has any feedback about it.
1919
2020
//***************************************************************************
21+
//https://github.com/ljzhu/FastGrowCut
2122

2223
#define OK 0
2324
#define NOTOK -1

src/Application/Tools/Algorithm/itkFastGrowCut.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
2626
DEALINGS IN THE SOFTWARE.
2727
*/
28+
// Adapted from: https://github.com/ljzhu/FastGrowCut
2829

2930
#ifndef itkFastGrowCut_h
3031
#define itkFastGrowCut_h

src/Application/Tools/Algorithm/itkFastGrowCut.hxx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
2626
DEALINGS IN THE SOFTWARE.
2727
*/
28+
// Adapted from: https://github.com/ljzhu/FastGrowCut
2829

2930
#ifndef itkFastGrowCut_hxx
3031
#define itkFastGrowCut_hxx
@@ -155,4 +156,4 @@ FastGrowCut<TInputImage, TOutputImage>::PrintSelf(std::ostream& os, Indent inden
155156
}
156157

157158
}
158-
#endif // ifndef itkFastGrowCut_hxx
159+
#endif // ifndef itkFastGrowCut_hxx

0 commit comments

Comments
 (0)