Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
8c3984c5
Commit
8c3984c5
authored
Aug 07, 2012
by
Alexey Spizhevoy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Refactored the DP based seam finder
parent
7db1f711
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
57 additions
and
53 deletions
+57
-53
seam_finders.hpp
...itching/include/opencv2/stitching/detail/seam_finders.hpp
+12
-11
seam_finders.cpp
modules/stitching/src/seam_finders.cpp
+45
-42
No files found.
modules/stitching/include/opencv2/stitching/detail/seam_finders.hpp
View file @
8c3984c5
...
@@ -153,33 +153,34 @@ private:
...
@@ -153,33 +153,34 @@ private:
int
minDist_
;
int
minDist_
;
};
};
void
process
(
const
Mat
&
image1
,
const
Mat
&
image2
,
Point
tl1
,
Point
tl2
,
void
process
(
Mat
&
mask1
,
Mat
&
mask2
);
const
Mat
&
image1
,
const
Mat
&
image2
,
Point
tl1
,
Point
tl2
,
Mat
&
mask1
,
Mat
&
mask2
);
void
findComponents
();
void
findComponents
();
void
findEdges
();
void
findEdges
();
void
resolveConflicts
(
const
Mat
&
image1
,
const
Mat
&
image2
,
void
resolveConflicts
(
Point
tl1
,
Point
tl2
,
Mat
&
mask1
,
Mat
&
mask2
);
const
Mat
&
image1
,
const
Mat
&
image2
,
Point
tl1
,
Point
tl2
,
Mat
&
mask1
,
Mat
&
mask2
);
void
computeGradients
(
const
Mat
&
image1
,
const
Mat
&
image2
);
void
computeGradients
(
const
Mat
&
image1
,
const
Mat
&
image2
);
bool
hasOnlyOneNeighbor
(
int
c
);
bool
hasOnlyOneNeighbor
(
int
c
omp
);
bool
closeToContour
(
int
y
,
int
x
,
const
Mat_
<
uchar
>
&
contourMask
);
bool
closeToContour
(
int
y
,
int
x
,
const
Mat_
<
uchar
>
&
contourMask
);
bool
getSeamTips
(
int
c
1
,
int
c2
,
Point
&
p1
,
Point
&
p2
);
bool
getSeamTips
(
int
c
omp1
,
int
comp2
,
Point
&
p1
,
Point
&
p2
);
void
computeCosts
(
const
Mat
&
image1
,
const
Mat
&
image2
,
Point
tl1
,
Point
tl2
,
void
computeCosts
(
int
c
,
Mat_
<
float
>
&
costV
,
Mat_
<
float
>
&
costH
);
const
Mat
&
image1
,
const
Mat
&
image2
,
Point
tl1
,
Point
tl2
,
int
comp
,
Mat_
<
float
>
&
costV
,
Mat_
<
float
>
&
costH
);
bool
estimateSeam
(
bool
estimateSeam
(
const
Mat
&
image1
,
const
Mat
&
image2
,
Point
tl1
,
Point
tl2
,
int
c
,
const
Mat
&
image1
,
const
Mat
&
image2
,
Point
tl1
,
Point
tl2
,
int
c
omp
,
Point
p1
,
Point
p2
,
std
::
vector
<
Point
>
&
seam
,
bool
&
isHorizontal
);
Point
p1
,
Point
p2
,
std
::
vector
<
Point
>
&
seam
,
bool
&
isHorizontal
);
void
updateLabelsUsingSeam
(
int
c1
,
int
c2
,
const
std
::
vector
<
Point
>
&
seam
,
void
updateLabelsUsingSeam
(
bool
isHorizontalSeam
);
int
comp1
,
int
comp2
,
const
std
::
vector
<
Point
>
&
seam
,
bool
isHorizontalSeam
);
CostFunction
costFunc_
;
CostFunction
costFunc_
;
...
...
modules/stitching/src/seam_finders.cpp
View file @
8c3984c5
...
@@ -382,8 +382,8 @@ void DpSeamFinder::findEdges()
...
@@ -382,8 +382,8 @@ void DpSeamFinder::findEdges()
}
}
void
DpSeamFinder
::
resolveConflicts
(
const
Mat
&
image1
,
const
Mat
&
image2
,
void
DpSeamFinder
::
resolveConflicts
(
Point
tl1
,
Point
tl2
,
Mat
&
mask1
,
Mat
&
mask2
)
const
Mat
&
image1
,
const
Mat
&
image2
,
Point
tl1
,
Point
tl2
,
Mat
&
mask1
,
Mat
&
mask2
)
{
{
if
(
costFunc_
==
COLOR_GRAD
)
if
(
costFunc_
==
COLOR_GRAD
)
computeGradients
(
image1
,
image2
);
computeGradients
(
image1
,
image2
);
...
@@ -524,11 +524,11 @@ void DpSeamFinder::computeGradients(const Mat &image1, const Mat &image2)
...
@@ -524,11 +524,11 @@ void DpSeamFinder::computeGradients(const Mat &image1, const Mat &image2)
}
}
bool
DpSeamFinder
::
hasOnlyOneNeighbor
(
int
c
)
bool
DpSeamFinder
::
hasOnlyOneNeighbor
(
int
c
omp
)
{
{
set
<
pair
<
int
,
int
>
>::
iterator
begin
,
end
;
set
<
pair
<
int
,
int
>
>::
iterator
begin
,
end
;
begin
=
lower_bound
(
edges_
.
begin
(),
edges_
.
end
(),
make_pair
(
c
,
numeric_limits
<
int
>::
min
()));
begin
=
lower_bound
(
edges_
.
begin
(),
edges_
.
end
(),
make_pair
(
c
omp
,
numeric_limits
<
int
>::
min
()));
end
=
upper_bound
(
edges_
.
begin
(),
edges_
.
end
(),
make_pair
(
c
,
numeric_limits
<
int
>::
max
()));
end
=
upper_bound
(
edges_
.
begin
(),
edges_
.
end
(),
make_pair
(
c
omp
,
numeric_limits
<
int
>::
max
()));
return
++
begin
==
end
;
return
++
begin
==
end
;
}
}
...
@@ -556,19 +556,19 @@ bool DpSeamFinder::closeToContour(int y, int x, const Mat_<uchar> &contourMask)
...
@@ -556,19 +556,19 @@ bool DpSeamFinder::closeToContour(int y, int x, const Mat_<uchar> &contourMask)
}
}
bool
DpSeamFinder
::
getSeamTips
(
int
c
1
,
int
c
2
,
Point
&
p1
,
Point
&
p2
)
bool
DpSeamFinder
::
getSeamTips
(
int
c
omp1
,
int
comp
2
,
Point
&
p1
,
Point
&
p2
)
{
{
CV_Assert
(
states_
[
c1
]
&
INTERS
);
CV_Assert
(
states_
[
c
omp
1
]
&
INTERS
);
// find special points
// find special points
vector
<
Point
>
specialPoints
;
vector
<
Point
>
specialPoints
;
int
l2
=
c2
+
1
;
int
l2
=
c
omp
2
+
1
;
for
(
size_t
i
=
0
;
i
<
contours_
[
c1
].
size
();
++
i
)
for
(
size_t
i
=
0
;
i
<
contours_
[
c
omp
1
].
size
();
++
i
)
{
{
int
x
=
contours_
[
c1
][
i
].
x
;
int
x
=
contours_
[
c
omp
1
][
i
].
x
;
int
y
=
contours_
[
c1
][
i
].
y
;
int
y
=
contours_
[
c
omp
1
][
i
].
y
;
if
(
closeToContour
(
y
,
x
,
contour1mask_
)
&&
if
(
closeToContour
(
y
,
x
,
contour1mask_
)
&&
closeToContour
(
y
,
x
,
contour2mask_
)
&&
closeToContour
(
y
,
x
,
contour2mask_
)
&&
...
@@ -673,10 +673,11 @@ float diffL2Square(const Mat &image1, int y1, int x1, const Mat &image2, int y2,
...
@@ -673,10 +673,11 @@ float diffL2Square(const Mat &image1, int y1, int x1, const Mat &image2, int y2,
}
// namespace
}
// namespace
void
DpSeamFinder
::
computeCosts
(
const
Mat
&
image1
,
const
Mat
&
image2
,
Point
tl1
,
Point
tl2
,
void
DpSeamFinder
::
computeCosts
(
int
c
,
Mat_
<
float
>
&
costV
,
Mat_
<
float
>
&
costH
)
const
Mat
&
image1
,
const
Mat
&
image2
,
Point
tl1
,
Point
tl2
,
int
comp
,
Mat_
<
float
>
&
costV
,
Mat_
<
float
>
&
costH
)
{
{
CV_Assert
(
states_
[
c
]
&
INTERS
);
CV_Assert
(
states_
[
c
omp
]
&
INTERS
);
// compute costs
// compute costs
...
@@ -688,8 +689,8 @@ void DpSeamFinder::computeCosts(const Mat &image1, const Mat &image2, Point tl1,
...
@@ -688,8 +689,8 @@ void DpSeamFinder::computeCosts(const Mat &image1, const Mat &image2, Point tl1,
else
else
CV_Error
(
CV_StsBadArg
,
"both images must have CV_32FC3 or CV_8UC3 type"
);
CV_Error
(
CV_StsBadArg
,
"both images must have CV_32FC3 or CV_8UC3 type"
);
int
l
=
c
+
1
;
int
l
=
c
omp
+
1
;
Rect
roi
(
tls_
[
c
],
brs_
[
c
]);
Rect
roi
(
tls_
[
c
omp
],
brs_
[
comp
]);
int
dx1
=
unionTl_
.
x
-
tl1
.
x
,
dy1
=
unionTl_
.
y
-
tl1
.
y
;
int
dx1
=
unionTl_
.
x
-
tl1
.
x
,
dy1
=
unionTl_
.
y
-
tl1
.
y
;
int
dx2
=
unionTl_
.
x
-
tl2
.
x
,
dy2
=
unionTl_
.
y
-
tl2
.
y
;
int
dx2
=
unionTl_
.
x
-
tl2
.
x
,
dy2
=
unionTl_
.
y
-
tl2
.
y
;
...
@@ -748,18 +749,18 @@ void DpSeamFinder::computeCosts(const Mat &image1, const Mat &image2, Point tl1,
...
@@ -748,18 +749,18 @@ void DpSeamFinder::computeCosts(const Mat &image1, const Mat &image2, Point tl1,
bool
DpSeamFinder
::
estimateSeam
(
bool
DpSeamFinder
::
estimateSeam
(
const
Mat
&
image1
,
const
Mat
&
image2
,
Point
tl1
,
Point
tl2
,
int
c
,
const
Mat
&
image1
,
const
Mat
&
image2
,
Point
tl1
,
Point
tl2
,
int
c
omp
,
Point
p1
,
Point
p2
,
vector
<
Point
>
&
seam
,
bool
&
isHorizontal
)
Point
p1
,
Point
p2
,
vector
<
Point
>
&
seam
,
bool
&
isHorizontal
)
{
{
CV_Assert
(
states_
[
c
]
&
INTERS
);
CV_Assert
(
states_
[
c
omp
]
&
INTERS
);
Mat_
<
float
>
costV
,
costH
;
Mat_
<
float
>
costV
,
costH
;
computeCosts
(
image1
,
image2
,
tl1
,
tl2
,
c
,
costV
,
costH
);
computeCosts
(
image1
,
image2
,
tl1
,
tl2
,
c
omp
,
costV
,
costH
);
Rect
roi
(
tls_
[
c
],
brs_
[
c
]);
Rect
roi
(
tls_
[
c
omp
],
brs_
[
comp
]);
Point
src
=
p1
-
roi
.
tl
();
Point
src
=
p1
-
roi
.
tl
();
Point
dst
=
p2
-
roi
.
tl
();
Point
dst
=
p2
-
roi
.
tl
();
int
l
=
c
+
1
;
int
l
=
c
omp
+
1
;
// estimate seam direction
// estimate seam direction
...
@@ -890,31 +891,33 @@ bool DpSeamFinder::estimateSeam(
...
@@ -890,31 +891,33 @@ bool DpSeamFinder::estimateSeam(
}
}
void
DpSeamFinder
::
updateLabelsUsingSeam
(
int
c1
,
int
c2
,
const
vector
<
Point
>
&
seam
,
bool
isHorizontalSeam
)
void
DpSeamFinder
::
updateLabelsUsingSeam
(
int
comp1
,
int
comp2
,
const
vector
<
Point
>
&
seam
,
bool
isHorizontalSeam
)
{
{
Mat_
<
int
>
mask
=
Mat
::
zeros
(
brs_
[
c1
].
y
-
tls_
[
c1
].
y
,
brs_
[
c1
].
x
-
tls_
[
c1
].
x
,
CV_32S
);
Mat_
<
int
>
mask
=
Mat
::
zeros
(
brs_
[
comp1
].
y
-
tls_
[
comp1
].
y
,
brs_
[
comp1
].
x
-
tls_
[
comp1
].
x
,
CV_32S
);
for
(
size_t
i
=
0
;
i
<
contours_
[
c1
].
size
();
++
i
)
for
(
size_t
i
=
0
;
i
<
contours_
[
c
omp
1
].
size
();
++
i
)
mask
(
contours_
[
c
1
][
i
]
-
tls_
[
c
1
])
=
255
;
mask
(
contours_
[
c
omp1
][
i
]
-
tls_
[
comp
1
])
=
255
;
for
(
size_t
i
=
0
;
i
<
seam
.
size
();
++
i
)
for
(
size_t
i
=
0
;
i
<
seam
.
size
();
++
i
)
mask
(
seam
[
i
]
-
tls_
[
c1
])
=
255
;
mask
(
seam
[
i
]
-
tls_
[
c
omp
1
])
=
255
;
// find connected components after seam carving
// find connected components after seam carving
int
l1
=
c
1
+
1
,
l2
=
c
2
+
1
;
int
l1
=
c
omp1
+
1
,
l2
=
comp
2
+
1
;
int
ncomps
=
0
;
int
ncomps
=
0
;
for
(
int
y
=
0
;
y
<
mask
.
rows
;
++
y
)
for
(
int
y
=
0
;
y
<
mask
.
rows
;
++
y
)
for
(
int
x
=
0
;
x
<
mask
.
cols
;
++
x
)
for
(
int
x
=
0
;
x
<
mask
.
cols
;
++
x
)
if
(
!
mask
(
y
,
x
)
&&
labels_
(
y
+
tls_
[
c
1
].
y
,
x
+
tls_
[
c
1
].
x
)
==
l1
)
if
(
!
mask
(
y
,
x
)
&&
labels_
(
y
+
tls_
[
c
omp1
].
y
,
x
+
tls_
[
comp
1
].
x
)
==
l1
)
floodFill
(
mask
,
Point
(
x
,
y
),
++
ncomps
);
floodFill
(
mask
,
Point
(
x
,
y
),
++
ncomps
);
for
(
size_t
i
=
0
;
i
<
contours_
[
c1
].
size
();
++
i
)
for
(
size_t
i
=
0
;
i
<
contours_
[
c
omp
1
].
size
();
++
i
)
{
{
int
x
=
contours_
[
c
1
][
i
].
x
-
tls_
[
c
1
].
x
;
int
x
=
contours_
[
c
omp1
][
i
].
x
-
tls_
[
comp
1
].
x
;
int
y
=
contours_
[
c
1
][
i
].
y
-
tls_
[
c
1
].
y
;
int
y
=
contours_
[
c
omp1
][
i
].
y
-
tls_
[
comp
1
].
y
;
bool
ok
=
false
;
bool
ok
=
false
;
static
const
int
dx
[]
=
{
-
1
,
+
1
,
0
,
0
,
-
1
,
+
1
,
-
1
,
+
1
};
static
const
int
dx
[]
=
{
-
1
,
+
1
,
0
,
0
,
-
1
,
+
1
,
-
1
,
+
1
};
...
@@ -941,8 +944,8 @@ void DpSeamFinder::updateLabelsUsingSeam(int c1, int c2, const vector<Point> &se
...
@@ -941,8 +944,8 @@ void DpSeamFinder::updateLabelsUsingSeam(int c1, int c2, const vector<Point> &se
{
{
for
(
size_t
i
=
0
;
i
<
seam
.
size
();
++
i
)
for
(
size_t
i
=
0
;
i
<
seam
.
size
();
++
i
)
{
{
int
x
=
seam
[
i
].
x
-
tls_
[
c1
].
x
;
int
x
=
seam
[
i
].
x
-
tls_
[
c
omp
1
].
x
;
int
y
=
seam
[
i
].
y
-
tls_
[
c1
].
y
;
int
y
=
seam
[
i
].
y
-
tls_
[
c
omp
1
].
y
;
if
(
y
<
mask
.
rows
-
1
&&
mask
(
y
+
1
,
x
)
&&
mask
(
y
+
1
,
x
)
!=
255
)
if
(
y
<
mask
.
rows
-
1
&&
mask
(
y
+
1
,
x
)
&&
mask
(
y
+
1
,
x
)
!=
255
)
mask
(
y
,
x
)
=
mask
(
y
+
1
,
x
);
mask
(
y
,
x
)
=
mask
(
y
+
1
,
x
);
...
@@ -954,8 +957,8 @@ void DpSeamFinder::updateLabelsUsingSeam(int c1, int c2, const vector<Point> &se
...
@@ -954,8 +957,8 @@ void DpSeamFinder::updateLabelsUsingSeam(int c1, int c2, const vector<Point> &se
{
{
for
(
size_t
i
=
0
;
i
<
seam
.
size
();
++
i
)
for
(
size_t
i
=
0
;
i
<
seam
.
size
();
++
i
)
{
{
int
x
=
seam
[
i
].
x
-
tls_
[
c1
].
x
;
int
x
=
seam
[
i
].
x
-
tls_
[
c
omp
1
].
x
;
int
y
=
seam
[
i
].
y
-
tls_
[
c1
].
y
;
int
y
=
seam
[
i
].
y
-
tls_
[
c
omp
1
].
y
;
if
(
x
<
mask
.
cols
-
1
&&
mask
(
y
,
x
+
1
)
&&
mask
(
y
,
x
+
1
)
!=
255
)
if
(
x
<
mask
.
cols
-
1
&&
mask
(
y
,
x
+
1
)
&&
mask
(
y
,
x
+
1
)
!=
255
)
mask
(
y
,
x
)
=
mask
(
y
,
x
+
1
);
mask
(
y
,
x
)
=
mask
(
y
,
x
+
1
);
...
@@ -976,17 +979,17 @@ void DpSeamFinder::updateLabelsUsingSeam(int c1, int c2, const vector<Point> &se
...
@@ -976,17 +979,17 @@ void DpSeamFinder::updateLabelsUsingSeam(int c1, int c2, const vector<Point> &se
connectOther
.
insert
(
make_pair
(
i
,
0
));
connectOther
.
insert
(
make_pair
(
i
,
0
));
}
}
for
(
size_t
i
=
0
;
i
<
contours_
[
c1
].
size
();
++
i
)
for
(
size_t
i
=
0
;
i
<
contours_
[
c
omp
1
].
size
();
++
i
)
{
{
int
x
=
contours_
[
c1
][
i
].
x
;
int
x
=
contours_
[
c
omp
1
][
i
].
x
;
int
y
=
contours_
[
c1
][
i
].
y
;
int
y
=
contours_
[
c
omp
1
][
i
].
y
;
if
((
x
>
0
&&
labels_
(
y
,
x
-
1
)
==
l2
)
||
if
((
x
>
0
&&
labels_
(
y
,
x
-
1
)
==
l2
)
||
(
y
>
0
&&
labels_
(
y
-
1
,
x
)
==
l2
)
||
(
y
>
0
&&
labels_
(
y
-
1
,
x
)
==
l2
)
||
(
x
<
unionSize_
.
width
-
1
&&
labels_
(
y
,
x
+
1
)
==
l2
)
||
(
x
<
unionSize_
.
width
-
1
&&
labels_
(
y
,
x
+
1
)
==
l2
)
||
(
y
<
unionSize_
.
height
-
1
&&
labels_
(
y
+
1
,
x
)
==
l2
))
(
y
<
unionSize_
.
height
-
1
&&
labels_
(
y
+
1
,
x
)
==
l2
))
{
{
connect2
[
mask
(
y
-
tls_
[
c
1
].
y
,
x
-
tls_
[
c
1
].
x
)]
++
;
connect2
[
mask
(
y
-
tls_
[
c
omp1
].
y
,
x
-
tls_
[
comp
1
].
x
)]
++
;
}
}
if
((
x
>
0
&&
labels_
(
y
,
x
-
1
)
!=
l1
&&
labels_
(
y
,
x
-
1
)
!=
l2
)
||
if
((
x
>
0
&&
labels_
(
y
,
x
-
1
)
!=
l1
&&
labels_
(
y
,
x
-
1
)
!=
l2
)
||
...
@@ -994,7 +997,7 @@ void DpSeamFinder::updateLabelsUsingSeam(int c1, int c2, const vector<Point> &se
...
@@ -994,7 +997,7 @@ void DpSeamFinder::updateLabelsUsingSeam(int c1, int c2, const vector<Point> &se
(
x
<
unionSize_
.
width
-
1
&&
labels_
(
y
,
x
+
1
)
!=
l1
&&
labels_
(
y
,
x
+
1
)
!=
l2
)
||
(
x
<
unionSize_
.
width
-
1
&&
labels_
(
y
,
x
+
1
)
!=
l1
&&
labels_
(
y
,
x
+
1
)
!=
l2
)
||
(
y
<
unionSize_
.
height
-
1
&&
labels_
(
y
+
1
,
x
)
!=
l1
&&
labels_
(
y
+
1
,
x
)
!=
l2
))
(
y
<
unionSize_
.
height
-
1
&&
labels_
(
y
+
1
,
x
)
!=
l1
&&
labels_
(
y
+
1
,
x
)
!=
l2
))
{
{
connectOther
[
mask
(
y
-
tls_
[
c
1
].
y
,
x
-
tls_
[
c
1
].
x
)]
++
;
connectOther
[
mask
(
y
-
tls_
[
c
omp1
].
y
,
x
-
tls_
[
comp
1
].
x
)]
++
;
}
}
}
}
...
@@ -1002,7 +1005,7 @@ void DpSeamFinder::updateLabelsUsingSeam(int c1, int c2, const vector<Point> &se
...
@@ -1002,7 +1005,7 @@ void DpSeamFinder::updateLabelsUsingSeam(int c1, int c2, const vector<Point> &se
for
(
map
<
int
,
int
>::
iterator
itr
=
connect2
.
begin
();
itr
!=
connect2
.
end
();
++
itr
)
for
(
map
<
int
,
int
>::
iterator
itr
=
connect2
.
begin
();
itr
!=
connect2
.
end
();
++
itr
)
{
{
double
len
=
contours_
[
c1
].
size
();
double
len
=
contours_
[
c
omp
1
].
size
();
isAdjComp
[
itr
->
first
]
=
itr
->
second
/
len
>
0.05
&&
connectOther
.
find
(
itr
->
first
)
->
second
/
len
<
0.1
;
isAdjComp
[
itr
->
first
]
=
itr
->
second
/
len
>
0.05
&&
connectOther
.
find
(
itr
->
first
)
->
second
/
len
<
0.1
;
}
}
...
@@ -1011,7 +1014,7 @@ void DpSeamFinder::updateLabelsUsingSeam(int c1, int c2, const vector<Point> &se
...
@@ -1011,7 +1014,7 @@ void DpSeamFinder::updateLabelsUsingSeam(int c1, int c2, const vector<Point> &se
for
(
int
y
=
0
;
y
<
mask
.
rows
;
++
y
)
for
(
int
y
=
0
;
y
<
mask
.
rows
;
++
y
)
for
(
int
x
=
0
;
x
<
mask
.
cols
;
++
x
)
for
(
int
x
=
0
;
x
<
mask
.
cols
;
++
x
)
if
(
mask
(
y
,
x
)
&&
isAdjComp
[
mask
(
y
,
x
)])
if
(
mask
(
y
,
x
)
&&
isAdjComp
[
mask
(
y
,
x
)])
labels_
(
y
+
tls_
[
c
1
].
y
,
x
+
tls_
[
c
1
].
x
)
=
l2
;
labels_
(
y
+
tls_
[
c
omp1
].
y
,
x
+
tls_
[
comp
1
].
x
)
=
l2
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment