in Image Analysis, Centre for Image Analysis, Uppsala, Sweden Once a student at SSIP Budapest, 2003 Twice a teacher at SSIP Szeged, 2006 and 2007 My department is in the CEEPUS network “
Trang 2Local computations Rotations of the plane
Complete algorithm Evaluation and examples
3 Conclusions
Trang 4University of Novi Sad, Serbia
B.Sc in Mathematics, University of Novi Sad
M.SC in Discrete Mathematics, University of Novi Sad
Ph.D in Image Analysis, Centre for Image Analysis, Uppsala, Sweden
Once a student at SSIP (Budapest, 2003)
Twice a teacher at SSIP (Szeged, 2006 and 2007)
My department is in the CEEPUS network “Medical Imaging & Medical Information Processing” since 2005, when Serbia joined CEEPUS programme.
Trang 5University of Novi Sad, Serbia
B.Sc in Mathematics, University of Novi Sad
M.SC in Discrete Mathematics, University of Novi Sad
Ph.D in Image Analysis, Centre for Image Analysis, Uppsala, Sweden
Once a student at SSIP (Budapest, 2003)
Twice a teacher at SSIP (Szeged, 2006 and 2007)
My department is in the CEEPUS network “Medical Imaging & Medical Information Processing” since 2005, when Serbia joined CEEPUS programme.
Trang 6University of Novi Sad, Serbia
B.Sc in Mathematics, University of Novi Sad
M.SC in Discrete Mathematics, University of Novi Sad
Ph.D in Image Analysis, Centre for Image Analysis, Uppsala, Sweden
Once a student at SSIP (Budapest, 2003)
Twice a teacher at SSIP (Szeged, 2006 and 2007)
My department is in the CEEPUS network “Medical Imaging & Medical Information Processing” since 2005, when Serbia joined CEEPUS programme.
Trang 7University of Novi Sad, Serbia
B.Sc in Mathematics, University of Novi Sad
M.SC in Discrete Mathematics, University of Novi Sad
Ph.D in Image Analysis, Centre for Image Analysis, Uppsala, Sweden
Once a student at SSIP (Budapest, 2003)
Twice a teacher at SSIP (Szeged, 2006 and 2007)
My department is in the CEEPUS network “Medical Imaging & Medical Information Processing” since 2005, when Serbia joined CEEPUS programme.
Trang 8and to introduce the topic
• The task of image analysis is to extract relevant information from images.
• Images contain discrete representations of real continuous objects.
• Our aim is usually to obtain information about continuous real objects, having available their discrete representations.
• Different numerical descriptors, such as area, perimeter, moments, of the objects are often of interest, for the tasks of shape analysis, classification, etc.
• Accurate and precise perimeter estimates of the real objects, based
on their discrete representations, have been of interest for more than forty years, and many papers are published on that topic; the problem still attracts attention.
Trang 9Formulation of the problem
inscribed and digitized in an integer grid,
estimate its perimeter (length of its border) with as small error as possible.
Small error provides not only accurate, but also precise estimates.
Repeated measurements provide very similar results
Trang 10and a way to solve it
walk along the object boundary and accumulate local step
Trang 11and a way to solve it
walk along the object boundary and accumulate local step
Trang 12and a way to solve it
walk along the object boundary and accumulate local step
Trang 13By checking local ( 2 × 2 ) pixel configurations, local perimeter contributions can be assigned.
Boundary detection simultaneously with perimeter estimation!
Trang 15If we use 8 directions.
Edge 1 08 times longer than true edge.
a = 1 , b = √
2 lead to an overestimate
Trang 16If we use 8 directions.
Edge 1 08 times longer than true edge.
a = 1 , b = √
2 lead to an overestimate
Trang 17If we use 8 directions.
Edge 1 08 times longer than true edge.
a = 1 , b = √
2 lead to an overestimate
Trang 18If we use 8 directions.
Edge 1 08 times longer than true edge.
a = 1 , b = √
2 lead to an overestimate
Trang 19• Restrict to lines with slopes k ∈ [0, 1] Other cases follow by symmetries.
• Decide what error to minimize
• The mean square error (MSE) minimization leads to estimators that, in average, perform well for lines of all (uniformly distributed) directions.
• The maximal error minimization leads to estimator with
a better “controllable” error It is better suited for certain polygonal-shaped objects.
• Optimize step weights so that the chosen estimation error for length estimation of a straight segment is minimized That leads to a scaling factor γ ∈ (0, 1)
Trang 20follow by symmetries.
• Decide what error to minimize
• The mean square error (MSE) minimization leads to estimators that, in average, perform well for lines of all (uniformly distributed) directions.
• The maximal error minimization leads to estimator with
a better “controllable” error It is better suited for certain polygonal-shaped objects.
• Optimize step weights so that the chosen estimation error for length estimation of a straight segment is minimized That leads to a scaling factor γ ∈ (0, 1)
Trang 21follow by symmetries.
• The mean square error (MSE) minimization leads to estimators that, in average, perform well for lines of all (uniformly distributed) directions.
• The maximal error minimization leads to estimator with
a better “controllable” error It is better suited for certain polygonal-shaped objects.
• Optimize step weights so that the chosen estimation error for length estimation of a straight segment is minimized That leads to a scaling factor γ ∈ (0, 1)
Trang 22follow by symmetries.
• The mean square error (MSE) minimization leads to estimators that, in average, perform well for lines of all (uniformly distributed) directions.
• The maximal error minimization leads to estimator with
a better “controllable” error It is better suited for certain polygonal-shaped objects.
error for length estimation of a straight segment is
Trang 24and subtract that number from the number of links.
introduce more (longer) steps, such as “knight’s move”.
MaxErr = 1.36%
Trang 25Alternative polygonal approximations of the discrete object may be used.
Trang 26Use information from larger (unbounded) regions of the image.
• Difficult to parallelize, if at all possible
• Often of higher complexity
• May suffer from stability problems
• Small change of the image requires global recomputation
• Multigrid convergent
Local estimators
Use information from a small region of the image to compute a local feature estimate The global feature is computed by a summation of the local feature estimates over the whole image.
• Easy to implement
• Trivial to parallelize
• If a local change in the image, only that part has to be traversed to update the estimate
• Stable, if the local estimate is bounded
• Not multigrid convergent
Trang 27information contained in grey levels can significantly improve performance of estimators.
• Results obtained for geometrical moments of fuzzy segmented shapes rely on a good theoretical background.
• Perimeter estimator based on fuzzy shape representation, my first PhD project task, performs really well, but only statistical studies have been performed.
• It felt tempting to try to improve perimeter estimation using theoretically supported method which relies on the knowledge how much the pixel is covered by an object.
Trang 28information contained in grey levels can significantly improve performance of estimators.
segmented shapes rely on a good theoretical background.
• Perimeter estimator based on fuzzy shape representation, my first PhD project task, performs really well, but only statistical studies have been performed.
• It felt tempting to try to improve perimeter estimation using theoretically supported method which relies on the knowledge how much the pixel is covered by an object.
Trang 29information contained in grey levels can significantly improve performance of estimators.
segmented shapes rely on a good theoretical background.
representation, my first PhD project task, performs really well, but only statistical studies have been performed.
• It felt tempting to try to improve perimeter estimation using theoretically supported method which relies on the knowledge how much the pixel is covered by an object.
Trang 30information contained in grey levels can significantly improve performance of estimators.
segmented shapes rely on a good theoretical background.
representation, my first PhD project task, performs really well, but only statistical studies have been performed.
using theoretically supported method which relies on the knowledge how much the pixel is covered by an object.
Trang 31What did we learn from others?
compared to global ones, to deserve to be studied further.
• Local estimators are, however, not multigrid convergent.
• “Grey levels can improve the performance of binary image digitizers” - N Kiryati and A Bruckstein, 1991.
• Work of Eberly and Lancaster, 1991, and Verbeek and van Vliet, 1993, showed attempts to use grey level information for length estimation, but appeared to be surprisingly “non-inspirative” for the scientific ancestors.
Trang 32What did we learn from others?
compared to global ones, to deserve to be studied further.
• “Grey levels can improve the performance of binary image digitizers” - N Kiryati and A Bruckstein, 1991.
• Work of Eberly and Lancaster, 1991, and Verbeek and van Vliet, 1993, showed attempts to use grey level information for length estimation, but appeared to be surprisingly “non-inspirative” for the scientific ancestors.
Trang 33What did we learn from others?
compared to global ones, to deserve to be studied further.
image digitizers” - N Kiryati and A Bruckstein, 1991.
• Work of Eberly and Lancaster, 1991, and Verbeek and van Vliet, 1993, showed attempts to use grey level information for length estimation, but appeared to be surprisingly “non-inspirative” for the scientific ancestors.
Trang 34What did we learn from others?
compared to global ones, to deserve to be studied further.
image digitizers” - N Kiryati and A Bruckstein, 1991.
van Vliet, 1993, showed attempts to use grey level information for length estimation, but appeared to be surprisingly “non-inspirative” for the scientific ancestors.
Trang 35so, a natural decision was to
Trang 38Definition, non-quantized case
Let a square grid in 2D be given The Voronoi region
associated to a grid point (i, j) ∈ Z 2 is called pixel p (i, j )
Definition
integer grid with pixels p (i, j ) , the pixel coverage digitization
Trang 39integer grid with pixels p (i, j ) , the n -level quantized pixel
(i, j) ∈ Z 2
,
Q n = {0, 1
n , 2 n , , n n = 1} is the set of numbers representing
digitization.
Trang 411.00 0.73 0.00 0.00
1.00 1.00 0.18 0.00
1.00 1.00 0.63 0.00
1.00 1.00 0.98 0.10
1.28 1.73 2.18 2.63 3.08 0.45 0.45 0.45 0.45 1.10 1.10 1.10 1.10
0 1 2 3
1.00 0.80 0.00 0.00
1.00 1.00 0.20 0.00
1.00 1.00 0.60 0.00
1.00 1.00 1.00 0.20
1.20 1.80 2.20 2.60 3.20 0.60 0.40 0.40 0.60 1.17 1.08 1.08 1.17
0 1 2 3
Trang 42where the appropriate choice of the scale factor γ n leads to
a minimal estimation error.
Trang 43a minimal estimation error.
Trang 45The line segment l , represented as the vector l = (N, kN) with slope
k ∈ [0, 1] can be expressed as a linear combination of two of the vectors,
Trang 46and its error
The relative error of the length estimation of the line segment with slope k , such that k ∈ [ i
Trang 47εmax (0,1) = 0.0049
εmax (0,2) = 0.018
ε
max (0,3) = 0.038
Empirically observed values of ε ( i , j )
n (k) for straight edges y = kx + m of length l = 1000 for 10 000 values of k and random m , superimposed on the theoretical results.
Trang 50|ε n | = O(n −2 ) ,
0 200 400 600 800 10000
Trang 52To what to assign edge length
For lines of a slope k ∈ [0, 1] , each value d c depends on at most six pixels, located in a 3 × 2 rectangle:
c r−1 r r+1
c+1
(a) k = 0.6
c r−1 r r+1
c+1
(b) k = 1
Figure: Regions where lines y = kx + m with k, m such that
r − 1 ≤ u = k(c + 1 ) + m ≤ r + 1 , intersect a 3 × 2 configuration.
Trang 53So, edge length is assigned to
is “appropriate”, by checking if
r − 1 2 ≤ u = k(c + 1 2) + m ≤ r + 1 2 , for a line y = kx + m
whose equation we, unfortunately, do not know!
Trang 54So, edge length is assigned to
is “appropriate”, by checking if
r − 1 2 ≤ u = k(c + 1 2) + m ≤ r + 1 2 , for a line y = kx + m
whose equation we, unfortunately, do not know!
Trang 55To what to assign edge length,
then? And what length?
Two pages are dedicated to a proof that we can estimate u = k(c + 1
and, in spite of rounding errors, successfully apply to detect “good” 3 × 2
configurations Local contributions are calculated as
´
1 2
Trang 57correspondent to |k| 6∈ [0, 1]
Trang 59neighbourhood??
Trang 60Local conditions for isometries
Additional 3 pages of formulations and proofs that we can
the following set of criteria:
If α > 0 ˜ then H : y ≤ kx + m (all fine)
If α < 0 ˜ then H : y ≥ kx + m Exchange the first and the third row.
If α ˜ = 0 then all rows are equal Leave as it is.
If β > 0 ˜ then k > 0 (all fine)
If β < 0 ˜ then k < 0 Exchange the first and the third column.
If β ˜ = 0 then all columns are equal Leave as it is.
If δ > 0 ˜ then k < 1 (all fine)
If δ < 0 ˜ then k > 1 The symmetry w.r.t. x + y = r + c is to be performed.
If δ ˜ = 0 then “corners” are equal Leave as it is.
Trang 61Local conditions for isometries
Additional 3 pages of formulations and proofs that we can
the following set of criteria:
If α > 0 ˜ then H : y ≤ kx + m (all fine)
If α < 0 ˜ then H : y ≥ kx + m Exchange the first and the third row.
If α ˜ = 0 then all rows are equal Leave as it is.
If β > 0 ˜ then k > 0 (all fine)
If β < 0 ˜ then k < 0 Exchange the first and the third column.
If β ˜ = 0 then all columns are equal Leave as it is.
If δ > 0 ˜ then k < 1 (all fine)
If δ < 0 ˜ then k > 1 The symmetry w.r.t. x + y = r + c is to be performed.
If δ ˜ = 0 then “corners” are equal Leave as it is.
Trang 62Local conditions for isometries
Additional 3 pages of formulations and proofs that we can
the following set of criteria:
If α > 0 ˜ then H : y ≤ kx + m (all fine)
If α < 0 ˜ then H : y ≥ kx + m Exchange the first and the third row.
If α ˜ = 0 then all rows are equal Leave as it is.
If β > 0 ˜ then k > 0 (all fine)
If β < 0 ˜ then k < 0 Exchange the first and the third column.
If β ˜ = 0 then all columns are equal Leave as it is.
If δ > 0 ˜ then k < 1 (all fine)
If δ < 0 ˜ then k > 1 The symmetry w.r.t. x + y = r + c is to be performed.
If δ ˜ = 0 then “corners” are equal Leave as it is.
Trang 63Local conditions for isometries
Additional 3 pages of formulations and proofs that we can
the following set of criteria:
If α > 0 ˜ then H : y ≤ kx + m (all fine)
If α < 0 ˜ then H : y ≥ kx + m Exchange the first and the third row.
If α ˜ = 0 then all rows are equal Leave as it is.
If β > 0 ˜ then k > 0 (all fine)
If β < 0 ˜ then k < 0 Exchange the first and the third column.
If β ˜ = 0 then all columns are equal Leave as it is.
If δ > 0 ˜ then k < 1 (all fine)
If δ < 0 ˜ then k > 1 The symmetry w.r.t. x + y = r + c is to be performed.
If δ ˜ = 0 then “corners” are equal Leave as it is.
Trang 64Local conditions for isometries
Additional 3 pages of formulations and proofs that we can
the following set of criteria:
If α > 0 ˜ then H : y ≤ kx + m (all fine)
If α < 0 ˜ then H : y ≥ kx + m Exchange the first and the third row.
If α ˜ = 0 then all rows are equal Leave as it is.
If β > 0 ˜ then k > 0 (all fine)
If β < 0 ˜ then k < 0 Exchange the first and the third column.
If β ˜ = 0 then all columns are equal Leave as it is.
If δ > 0 ˜ then k < 1 (all fine)
If δ < 0 ˜ then k > 1 The symmetry w.r.t. x + y = r + c is to be performed.
If δ ˜ = 0 then “corners” are equal Leave as it is.
... combination of two of the vectors, Trang 46and its error
The relative error of the... observed values of ε ( i , j )
n (k) for straight edges y = kx + m of length l = 1000 for 10 000 values of k and... data-page="60">
Local conditions for isometries
Additional pages of formulations and proofs that we can
the following set of criteria:
If α > ˜ then H : y ≤ kx