Научная статья на тему 'The technique of homotopic skeletonization of bit-mapped drawings of parts of sea transport'

The technique of homotopic skeletonization of bit-mapped drawings of parts of sea transport Текст научной статьи по специальности «Медицинские технологии»

CC BY
84
12
i Надоели баннеры? Вы всегда можете отключить рекламу.
Ключевые слова
сonnectivity / distortion / drawing / homotopic / mask / skeleton / technique / зв’язність / спотворення / креслення / гомотопність / маска / скелет / методика

Аннотация научной статьи по медицинским технологиям, автор научной работы — Molchanova V. S.

Context. Skeletonization is used in image processing of technical drawings, including drawings of sea transport parts, since the object’s skeleton reflects its topological structure. Сomparative analysis of the best methods of parallel topological skeletonization of the area objects, using spatial masks, showed that they give iterative distortions to the topology of primitives and their compositions. Therefore, the task of developing a technique for homotopic skeletonization of bit-mapped drawings of sea transport parts is relevant. Objective. To develope technique of improvement of topological equivalence of the skeletons to the сontour of sea transport parts, by means of gradual correction of typical skeleton’s distortions. Method. Сorrection of skeleton’s iterative distortions by modified spatial masks of the basic method of skeletonization and the reconstruction of the resulting skeleton by masks to restore its homotopy to the original, on the basis of developed reconstruction rules. Execution of the proposed technique was carried out on example of the basic method R.Y. Wu & W.H. Tsai. Results. The proposed technique is implemented as a program application that allows to perform quality skeletonization of images of drawings of sea transport parts. Conclusions. The shown examples of results of skeletonization of drawings of parts confirm efficiency of the proposed technique. The technique can be adapted to the methods of topological skeletonization of area objects, based upon application of spatial masks.

i Надоели баннеры? Вы всегда можете отключить рекламу.
iНе можете найти то, что вам нужно? Попробуйте сервис подбора литературы.
i Надоели баннеры? Вы всегда можете отключить рекламу.

МЕТОДИКА ГОМОТОПНОЇ СКЕЛЕТИЗАЦІЇ РАСТРОВИХ КРЕСЛЕНЬ ДЕТАЛЕЙ МОРСЬКОГО ТРАНСПОРТУ

Актуальність. Скелетизація використовується при обробці зображень технічних креслень, включаючи деталі морського транспорту, бо скелет об’єкту відображує його топологічну структуру. Порівняльний аналіз кращих методів паралельної топологічної скелетизації площадних об’єктів, що використовують просторові маски, показав, що вони дають ітеративні викривлення топології примітивів та їх композицій. Тому, задача розробки методики гомотопної скелетизації растрових об’єктів креслень деталей морського транспорту актуальна. Мета роботи. Розробка методики поліпшення топологічної еквівалентності скелетів контурам деталей морського транспорту за рахунок поетапної корекції типових спотворень скелетів. Метод. Коригування ітеративних спотворень скелета модифікованими масками базового методу скелетизації і реконструкцію результуючого скелета масками відновлення його гомотопності оригіналу на основі розроблених правил реконструкції. Реалізацію запропонованої методики виконано на прикладі базового методу Wu R. Y. & Tsai W. H. Результати. Запропоновану методику реалізовано у вигляді програмного додатку, що дозволяє виконати якісну скелетизацію зображень креслень деталей морського транспорту. Висновки. Показані приклади результатів скелетизації креслень деталей підтверджують ефективність запропонованої методики. Методика може бути адаптована до інших методів топологічної скелетизації площадних об’єктів, заснованих на використанні просторових масок.

Текст научной работы на тему «The technique of homotopic skeletonization of bit-mapped drawings of parts of sea transport»

UDC 004.93

Molchanova V. S.

Senior lecturer, State HEI Pryazovskyi State Technical University, Mariupol, Ukraine

THE TECHNIQUE OF HOMOTOPIC SKELETONIZATION OF BIT-MAPPED DRAWINGS OF PARTS OF SEA TRANSPORT

Context. Skeletonization is used in image processing of technical drawings, including drawings of sea transport parts, since the object's skeleton reflects its topological structure. Comparative analysis of the best methods of parallel topological skeletonization of the area objects, using spatial masks, showed that they give iterative distortions to the topology of primitives and their compositions. Therefore, the task of developing a technique for homotopic skeletonization of bit-mapped drawings of sea transport parts is relevant.

Objective. To develope technique of improvement of topological equivalence of the skeletons to the contour of sea transport parts, by means of gradual correction of typical skeleton's distortions.

Method. Correction of skeleton's iterative distortions by modified spatial masks of the basic method of skeletonization and the reconstruction of the resulting skeleton by masks to restore its homotopy to the original, on the basis of developed reconstruction rules. Execution of the proposed technique was carried out on example of the basic method R.Y. Wu & W.H. Tsai.

Results. The proposed technique is implemented as a program application that allows to perform quality skeletonization of images of drawings of sea transport parts.

Conclusions. The shown examples of results of skeletonization of drawings of parts confirm efficiency of the proposed technique. The technique can be adapted to the methods of topological skeletonization of area objects, based upon application of spatial masks.

Keywords: connectivity, distortion, drawing, homotopic, mask, skeleton, technique.

NOMENCLATURE

ACCURACY - measure of quality assessment, the proportion of points for which the right decision was obtained;

bfc - the k-th point in the 4 (8) - connected neighborhood of the contour point;

F-MEASURE - a measure of quality assessment, is the harmonic mean between precision and completeness;

(*)

gw - checkpoint flag on the top of the concave corner;

H - height of the original image;

k - the index of the point in 4 (8) is the neighborhood of the point being analyzed;

MSE - measure of the quality of the result, mean square error;

PRECISION - the fraction of points actually belonging to the skeleton of the image, among the points of the resulting skeleton of the image;

PSNR - the quality measurement result, peak signal-to-noise ratio;

RECALL - measure of the quality of the result, reflects the proportion of points referred to the skeleton or background;

SSIM - measure of the quality of the result, the index of structural conformity;

UIQI - measure of the quality of the result, a universal quality index;

W - width of original image;

{Z }ka - set of masks of the base method R.Y. Wu, W.H.

Tsai;

{Z} - set of developed masks used to correct the angles;

'Z0°-Z270°)

0W18) - restoring masks;

© Molchanova V. S., 2018

DOI 10.15588/1607-3274-2018-1-16

Pq - distance from the central point to the neighborhood point in the «chess's» metric;

pQ - distance from the central point to the neighborhood point in the «manhetten's» metric. INTRODUCTION

Skeletonization is widely used in solving many tasks of image processing when creating electronic archives of drawings of sea transport parts. The advantage of the skeletons of objects is that they store information about the topological structure and simplify algorithms for processing drawings. Thus, skeletonization improves the efficiency of the processing of electronic archives of drawings, making the task discussed in the article relevant.

The main drawbacks of the existing methods of skeletonization are the distortions of the geometric primitives of the contour and their conjugations, as well as the connectivity of the contour. Therefore, the study goal is to develop a method for topological skeletonization of drawings that ensures the homotopy of the resulting skeleton to the original contour by correcting typical distortions.

A substantial increase of skeleton's structural correspondence to the part's mask is reached by gradual application of the developed set of methods:

- at the first stage at iterative thinning of a part a correction of iterative distortions of skeleton with modified masks of the basic method of skeletonization is performed;

- at the second stage, after the entire skeleton has been obtained, reconstruction of the skeleton is performed with restoration homotopic masks, on the basis of the developed instructions for reconstruction of distorted zones of intersections of geometrical primitives.

Correction of the skeleton is supposed to be performed with the aid of the designed masks, in accordance with the following principle:

- the aperture of a "simple" dot, removed by a basic method is compared to the nuclei of the developed set of

correcting and restoring masks with a possibility of their turning by angles, divisible by 90°;

- in case of coincidence of the dot's aperture with the nucleus of any mask the skeleton is corrected, in accordance with the developed instructions for adoptions of solutions, specific for each type of skeleton's distortions.

1 PROBLEM STATEMENT

The original binary image is understood as some rectangular binary matrix of dimension Wx H. The element of this matrix takes the value 0 if the corresponding point of the image is painted white. Otherwise, the matrix element takes the value 1. The original image can contain contours of arbitrary thickness. It is necessary to define the rule for converting a part of the elements of the original matrix with a value of 1 to 0 so that the thickness of all contours becomes 1. In this case, it is necessary to save the topology of the original object and prevent distortion of the object form on the resulting image.

2 REVIEW OF THE LITERATURE

According to the principles, laid in the basis of object's skeletonization of bit-mapped area images the following groups of methods can be singled out: approximation of the boundary of an area figure by a polygon [1-3], path-tracing method [9], stripes graphs [5], tracking of pixels [1, 2, 6], distance maps method [10], wave method [7], method of topological thinning [9-16].

The analysis of merits and flaws of each group of methods showed that methods of parallel iterative topological thinning Rutovitz, Pavlidis, Wu&Tsai et al.), ensuring skeletons of better quality seemed to be most promising in the zone under investigation.

These methods are based on placing spatial masks on the local neighborhood of the points of bit-mapped image with the objective of extracting "simple" dots, extraction of which does not infringe structural similarity and integrity of the skeleton of part's mask [10]. The methods belonging to this group differ in their sets of masks, the criteria of images points affiliation with the skeleton and ways of dots testing on correspondence with such criteria.

Still, from the point of view of the analyzed objects zone, the existing methods possess, in spite of their merits [1, 9,

10, 17], a common substantial drawback, emerging as violation of homotopic character of the resulting skeleton, as compared to the original part's mask on the drawing, particularly:

- distortion of topology of right angles of the skeleton at iterative parallel thinning of part's mask;

- in violation of skeleton's connectivity at the process of thinning of part's mask;

- in violation of skeleton's topology in the points of intersection of geometrical primitives of the mask;

- in sensibility of skeleton's topology to local properties of the mask (thickness, for instance).

3 MATERIALS AND METHODS

Among the methods of topological skeletonization of objects, when spatial masks are used, Wu R. Y. & Tsai W. H. [18] method, ensuring the best result is of special interest.

The masks, applied in Wu R. Y. & Tsai W. H. method are represented in Table 1.

It is characteristic that these masks contain unused positions with the unidentified beforehand values, hence, allowing variability. The elements of masks nuclei with alternative colors are marked with "?" sign, whilst unused nuclei elements are marked with " □" sign.

Application of these positions for reconstruction of distorted skeletons allows ensuring their structural correspondence to part's mask, required in the object's zone.

Now, let us consider the proposed methods of restoring homotopic character of the skeleton, generated by the principle method on the example of the method of Wu&Tsai.

Consider the method of correcting distortions of the topology of skeleton's right angles method. The first type of skeleton's distortions is described by iterative violation of the topology of skeleton's right angles (Fig. 1).

To explain the essence of the problem of appearance of such a distortion we shall introduce the required definitions:

- we'll call the point "a" the vertex of the convex angle in 4-connected neighborhood, where adjacent points bk and bfr+1 (k e [0, 3]) belong to the mask (Fig. 2a);

- we'll call the vertex of the concave angle the black "a" in 8-connected neighborhood, where only one of point of all diagonal points {b1, b3, b5, b7} belongs to the background

(Fig. 2b).

Table 1 - Masks {zfa for R.Y. Wu, W.H. Tsai [18] method

Index

Mask

Index

Mask

Index

Mask

Index

Mask

□HH

d

a

g

b

h

k

e

c

In the principle method of thinning the convex angles, masks, using 4-connection «manhattan's» metric are applied, in which distances from the vertex of the convex angle of

the mask to the background pM = pM = 1. In accordance with the principle idea of the method, the vertex of the convex angle is considered to be a "simple" point and is removed

by {Z}ka masks with one pass.

However, vertexes of concave angles in "manhattan's" metric are not boundary points. So, the vertexes of concave angles can't be removed with one pass only with application

of {Z }ka, masks, it leading to distortion of angles topology (see Fig. 1), owing to possible application of different set of masks during two consecutive iterations, it, finally causing violation ion homotopic character of the mask's skeleton.

In the proposed method the problem of vertexes' treatment is solved by application of 8-connectoin «chess's» metric both for convex and concave angles.

As the distance from vertexes of both convex

(pp = pC = 1) and concave (pC = 1) angles to the background is equal , these vertexes can be removed in one

a b

Figure 2 - Vertexes of the concave and convex angles

Table 2 -

pass. To preserve the mask's topology, it is necessary, there to recognize the vertexes of the concave angles and develop the conditions for preservation of skeleton's connectivity at their removal. For recognition of the vertexes of the

concave angles masks {~}А (Table 2) were developed.

Elements of the nuclei of basic masks, unused for the basic method with alternative colors and ignored ones are used there. Here, a candidate to the vortex of the concave angle is marked with "*" symbol. As the vortex of the concave angle has just two neighboring adjacent points, the mask point may be considered to be the vortex of the concave angle if it is twice marked to be it For realization of

this rule for each point of the mask flag g(*) = 0 is used.

If on any of the correcting masks a mask point from {~ ]A is recognized as a vortex of the concave angle it is marked

as a corner point and the value of g(*) for this point is increased by 1.

iНе можете найти то, что вам нужно? Попробуйте сервис подбора литературы.

Then, if upon completion of checking with {z }} masks

the value of point g(*) = 2, then this point is not removed

in order to prevent violation of homotopic character of the mask's skeleton.

Consider the correction method for irregularities in skeleton's connectivity. The second type of skeleton's distortion lies in the process of thinning of the mask in case there are some concave angles within the boundaries of 4 x 4 neighborhood of the point under analysis (Fig. 3). The points, marked in Fig. 3a, will be removed with the

masks {z}B (indices of masks removing these points are Masks

Basic mask

А

I I*

ID

Developed masks

*

Г □ Ж

ц *

п

*

Basic mask

H

Developed masks

ЯР

Q ll

E

B

F

C

D

I

shown in Fig. 3), this is to lead to violation of connectivity of the skeleton (see Fig. 3b). To solve this problem a

correcting mask {~jL (Fig. 4) was developed, capable of

rotation by angles, divisible by right angle, by application of which the problem of thinning the concave angle at its different orientation is solved. At that, if the analyzed point of the mask is recognized to be the vortex of the concave

i'~/0°_/270°)

Z }} ' mask, if the aperture

of "C" point coincides with the mask in one of its four orientations, then the vortex of the concave angle can be removed without violating the skeleton's connectivity, the

latter being ensured by the mask's points {zjL with the

coordinated (1, 2) and (2, 1).

Figure 3 - Violation of connectivity in the process of thinning of the mask at presence of several concave angles within the boundaries of 4 x 4 neighborhood of the point under analysis

Figure 4 - The correcting mask {z

Consider the methods of correcting violations of the skeleton's topology in the points of intersection of geometrical primitives. The third type of violations lies in violation of homotopic character of the skeleton in points of primitive's intersection, as the character of the analyzed object's zone requires affiliation of these points (e.g. vortexes of the skeleton's right angles) with the mask (Fig. 5).

The methods of topological skeletonization are sensitive to local properties of the mask, changing after each iteration of its thinning. Thus, for a thickness of the primitive in several points even during the first iteration with {z} mask a

"forepart" artifact turns up, increasing its dimensions from iteration after iteration, greatly distorting the skeleton (Fig. 6).

Elimination of these drawbacks requires regeneration of the resulting skeleton by correction of the artifacts,

Z )(0}_(18)

distorting its topology. Restoring masks 5 x 5 in size (Table 3), were developed for this, with possibility of turning by angles 90°, 180°, 270°, and a possibility of their balancing with regard to ordinate axis. (/0°_/270°)

j(q)_(9) masks are applied for skeletons at the end of each iteration and after completion of the mask's thinning

, f~ VZ0°_Z270°) masks Z j(10)-(18) are applied just once.

In the Table 3 the following designations are assumed: | | - the background; ^ - the contour;

| | - makes no difference whether contour or background;

2 - the background, it becomes a contour in case of coincidence with the mask;

3 - the contour, but it becomes a background in case of coincidence with the mask;

4 - makes no difference whether contour or background, however it becomes background in case of coincidence with the mask;

5 - makes no difference whether contour or background, however it becomes background in case of coincidence with the mask;

distortion correction

Figure 5 -The method of correcting of skeleton's distortions in in points of primitive's intersection

Table 3 - Restoring masks

Index Mask Index Mask Index Mask Index Mask

0 □□□□□ ■ ■ - ■■ ■ ■■■■ 5 □□□□□ 10 □□□□□ 2 15 3 B3 2 22 □□□□□

1 2 6 ■■■■■ 2 ■■■■■ 11 3 2 2 □□□□□ 16 3B3 I 2 2 2 | □□□□□

2 ■■■■■ 3 5 7 ■ ■ 2 ■■■■■ 12 ■ 3 ■ 2 2 ■■ □□□□□ 17 ■■■■■ 3 3B 222 □□□□□

3 3 3 ■ 3 5 8 ■■■■■ 3 2 22 13 3 ■ 22 □□□□□ 18 ■■■■■ 3 2 33 1 2 2 2 1

4 2 □□□□□ 9 3 ■ □□□□□ 14 ■ 3 3 ■ 2 2 2 B □□□□□

The following main principles were observed for

p i~)(0°-Z270°) development of Z )(o)-(is) masks:

- The masks embrace all possible variants of distortions of the skeleton by the basic method and are classified, according to the groups of distortions as:

l~|oH1)

masks, correcting points omissions, the

masks of this group are corrected filling the isolated points of the background with contour's points;

(2)-(3) masks, for corrections of the lines bends,

the masks of this group straighten distortions of angular type, appearing due to the peculiarities of the primitives of the contour with half-tones, in accordance with Brazenham's algorithms.

masks for correction of distortions of

primitive's intersections, isolated background points of intersections of vertical, horizontal and diagonal primitives are filled with contour's points;

¡(6 )-(9) masks for correction of angles distortions,

masks belonging to this group eliminate thickenings of concave angles and regenerate cuttings off of vortexes of convex angles of the contour's skeleton;

- {~}(io)-(i8) masks for correction of stepwise distortions,

emerging, due to application of asymmetric thinning masks of the basic skeletonization method;

- masks' configuration must not infringe the local regularities of topology of the contour and the skeleton, for examples, masks 14 and 15, describing similar stepwise skeleton's distortions produce various structural corrected fragments of the skeleton (Fig. 7), corresponding to topological orientation of the primitives in the images' aperture;

- the zone of points (with codes 2...5) of the aperture 5 x 5, changed by the mask must be surrounded with neighboring background points, or with unchanged contour's points, it allowing to avoid violations of skeleton's connectivity at its modification with masks.

skeleton's distortion

mask 14

corrected skeleton

skeleton's distortion

mask 15

corrected skeleton

□□□□

■□□I □■□I

□ ■

□□

□□EH □□□□

Figure 7 - An example of dependence of skeleton's topology upon mask's configuration

4 EXPERIMENTS

The proposed algorithm is implemented in the C ++ Builder Seattle environment. The developed software product allows to perform skeletonization of the image by the developed technique and visualize the result. In order to obtain an objective quantitative and qualitative assessment of the effectiveness of the proposed skeletonization technique, the developed software product implements the standard well-known methods of topological skeletonization.

To quantify the result, it is possible to compare the result of skeletonization with an ideal skeleton and calculate the main evaluation criteria. The program is equipped with a flexible system of settings for each method.

The raster images of sea transport drawings used for testing are represented by a random sample of 40 color grayscale images, with a color depth of 24 bits, of different sizes. Each set of methods was tested with the help of the projected software on the test set of images of parts drawings; Each image served as the basis for 5 experiments in different modes, the results of which were averaged.

Each set of methods was tested with the help of the projected software on the test set of images of parts drawings; Each image served as the basis for 5 experiments in different modes, the results of which were averaged. To quantify the results shown by the analyzed methods, the commonly used metrics: MSE, PSNR, UIQI, SSIM, PRECISION, RECALL, F-MEASURE, ACCURACY. Comparative analysis of processing time of raster images of drawings of parts was not carried out. This is explained by: the prevalent value of quality processing in front of the miserly time spent on it.

5 RESULTS

An example of mask's skeletonization of a part of a "Nut" type (Fig. 9a) is shown in Fig. 8 and 9 with performed

according to the basic method, with heavy distortion of the skeleton (Fig 9b) and with application of improved method, where these distortions have been removed (Fig. 9c).

The averaged results of a comparative study of the developed set of methods for improving the skeletons of contours of parts in raster binary images of marine transport drawings are given in Table 4.

6 DISCUSSION

Existing methods of iterative topological skeletonization [5, 13-16, 23], as a rule, generate skeletons with raster distortions of topology (Fig. 10-12):

- erosion of the contour primitive with its even thickness (Fig. 10); due to the symmetry of the masks used;

iНе можете найти то, что вам нужно? Попробуйте сервис подбора литературы.

- loss of contour points, neighbors of which in the "manhattan's" metric belong to the contour, and in the chess - to the background (Fig. 11); arises because of the 4-connectivity of the masks used;

- violation of the topology of the right angles of the contour (Fig. 12); arise from the conceptual incompleteness of iteratively-applied masks, which should have a theoretically sufficient minimum size of 5 x 5 [8].

Improvement of structural distortions of skeletons is reached by applying of the developed method, the complex of method, consisting of:

- the method of correction of distortions of the topology of skeleton's right angles, based upon application of the "chess" metric, instead of «manhattan's» metric and masks of recognition of mask's angles;

- the method of correction of violations of the skeleton's connectivity, based upon application of the developed correcting mask;

- the method of correction of violations of topology in the points of intersection of geometrical primitives, based upon application the developed regenerating masks.

Figure 8 - The result of correction of skeleton's topology

Figure 9 - The result of correction of skeleton's topology Table 4 - Average results of testing methods of skeletonization

b

a

c

Alternative method

Relative improvement of the values of the basic metrics in comparison with the alternative method Stentiford Zang-Suen Wu&Tsai Average on methods

AMSEam ,% 92,00 0,00 0,00 30,67

APSNRaM,% 94,43 62,63 49,27 68,78

AUIQIaM ,% 56,85 5,48 2,89 21,74

ASSIMaM ,% 56,85 5,20 2,89 21,65

A Re callAM,% 55,64 4,52 3,46 21,21

. n . . AM „, A Pr ecision ,% 54,32 5,24 2,36 20,64

AF - measure,% 55,04 5,02 2,78 20,95

AAccuracyAM,% 1,37 0,21 0,13 0,57

Average in terms of indicators (m AM )% 58,31 11,04 7,97 25,77

contour primitive masks skeleton

Figure 10 - Contour erosion in the Chin, Wan, Stover and Iverson method

contour skeleton reconstructed contour

Figure 11 - Distortions of contour topology in the Pavlidis method

right angle of contour distorted right angle in the skeleton

Figure 12 - Distortions of the right angles of the contour in the Wu & Tsai method

A typical remedy for distortions of resulting skeletons is iteratively reducing the use of fixed sets of masks. But without taking into features the details of the parts drawings, bound to them the variability of skeletonization masks and sets of restoring masks it is impossible to remove distortions of the skeleton topology (Fig. 11). In this study the required variability is provided by the developed technique for restoring the homotopy of skeletons, which allows to modify the applied masks and to adapt their set to typical distortions of the skeleton of specific part. The technique assumes the use of decision rules for removing, adding and replacing skeleton's points to the contour and background with masks with size 5 x 5 so as to satisfy the requirement for the skeleton to preserve the topology of the contour of the part (see the section "Materials and methods").

A substantial reduction in skeleton's distortions is reached by two-staged correction of the skeleton of the part's mask:

- at the first mask during iterative thinning of the part's mask iterative distortions of the skeleton are corrected;

- at the second stage, after the entire skeleton has been formed, reconstruction of distorted zones of intersections of geometrical primitives of the skeleton is done.

Exclusion from the applicable set of a reduction mask eliminates false triggering of the technique (Fig. 13).

Unfortunately, false triggering of masks is unavoidable due to non-ideal raster rendering of binarized primitives of the contour due to errors of the Brezenham's algorithms, used in rasterizing second-order curves [10].

CONCLUSIONS

Proceeding from the features of the subject area, it is established that the purpose of the task of thinning out the area contour of the workpiece is the homotopic transformation of the binary contour of the part into a skeleton. A general criterion for the quality of skeletonization is the Hamming distance between the resulting and reference skeletons of the part contour, and measures of this distance are generally accepted unified quality indicators: MSE, PSNR, UIQI, SSIM, Recall, Precision, F-measure, Accuracy. The main limitation of the problem is the absence of distortions of the skeleton, which violate its topological similarity to the contour of the part in terms of the number of geometric primitives, their mask and connectivity.

The scientific novelty of the proposed technique is that for the first time a set of methods for eliminating structural

bitmap fragment of the contour

Figure 13 - Example of false triggering of the

distortions of skeletons of contours of parts has been proposed. The basis of the methods is a two-stage correction and reconstruction of the skeleton homotopy of the contour of the part during its iterative thinning and after the skeletonization. Methods use developed sets of corrective masks and formulated decision rules.

The analysis of testing of the developed methods of two-staged improvement of the skeleton of masks of sea transport parts confirmed a substantial improvement of the quality of the produced skeletons with preservation of their topological similarity to the original masks in the number of geometrical primitives, their masks and connectivity.

The proposed methods of iterative topological skeletonization of drawings of sea transport parts can be used for skeletonization of diagrams of road junctions, engineering drawings, functions graphs and the like.

REFERENCES

1. Dori D. Algorithms for 2D Engineering Drawings Recognition: Implementation and Evaluation / D. Dori, W. Liu. - LAP LAMBERT Academic Publishing, 2014. - 88 p.

2. Chiang J. Y. A New Algorithm for Line Image Vectorization / J. Y. Chiang, S. C. Tue, and Y. C. Leu // Pattern Recognition. -1998. - № 3. - P. 1541-1549. DOI: 10.1016/s0031-3203(97)00157.

3. Zhang T. Y. A fast parallel algorithm for thinning digital patterns / T. Y. Zhang, C. Y. Suen // Communications of the ACM. -1984. - №27, Т. 3. - P. 236-239. DOI: 10.1145/357994. 358023.

4. Кушнир О. А. Сравнение формы бинарных растровых изображений на основе ске-летизации / О. А. Кушнир // Машинное обучение и анализ данных. - 2012. - № 3. - С. 252-263.

5. Roseborough J. B. Partial Eigenvalue Decomposition for Large Image Sets Using Run-Length Encoding / J. B. Roseborough, H. A. Murase // Pattern Recognition. - 1995. - № 3. - P. 421430. doi:10.1016/0031-3203(94)00113-z.

6. Баранов Р. П. Алгоритмы скелетизации объектов на изображении / Р. П. Баранов, М. Н. Фаворская // Актуальные проблемы авиации и космонавтики. - 2011. - № 7, Том I. - С. 349.

7. Клубков И. М. Применение волнового алгоритма для нахождения скелета растрового изображения / И. М. Клубков // Вестник ДГТУ - 2001. - №1 (7). - С. 9-16.

8. Абламейко С. В. Обработка изображений: техноло-гия, методы, применение / С. В. Абламейко, Д. М. Лагуновский. - Минск : Амалфея, 2000. - 304 с.

9. Hori O. O. Document Analysis and Recognition / O. O. Hori, S. T. Tanigawa // Raster-to-Vector Conversion by Line Fitting

result of false triggering of mask №8

technique for restoring the contour skeleton

Based on Contours and Skeletons. - Kawasaki, Japan. - 1993. -P. 272-281. DOI: 10.1109 / icdar. 1993.395716.

10. Гонсалес Р. C. Цифровая обработка изображений в среде Matlab / Р. C. Гонсалес, Р. Э. Вудс, С. А. Эддинс. - М. : Техносфера, 2006. - 616 c.

11. Тропченко А. Ю. Методы вторичной обработки изображений и распознавания объектов: учебное пособие / А. Ю. Троп-ченко. - СПб. : СПбГУ ИТМО, 2012. - 52 с.

12.Arcelli C. Parallel thinning of binary pictures / C. Arcelli, L. P. Cordella, S. Levialdi // Electronic Letters. -1975. - № 11 (7). - P. 148-149. DOI: 10. 1049/el:19750113

13. Improved low complexity fully parallel thinning algorithm: In Proceedings 10th International Conference on Image Analysis and Processing (ICIAP'99), (Venice, 27-29.09.1999). - Venice, 1999. - P. 215-220. DOI: 10.1109/iciap.1999.797597.

14.Chin R. T. A one pass thinning algorithm and its parallel implementation / R. T. Chin, H. K. Wan, D. L. Stover// Computer Vision, Graphics, and Image Processing. - 1987. - № 40(1). -P. 30-40. DOI: 10.1016/s0734-189x (87)80139-1.

15.Eckhardt U. Invariant thinning and distance transform / U. Eckhardt, G. Maderlechner // Theoretical Foundations of Computer Vision. - 1993. - Vol. 11. - P. 1115-1144. DOI: 10.1007/978-3-7091-6586-7_2.

16. Guo Z. Fast parallel thinning algorithms/ Z. Guo, R. W. Hall // CVGIP: Image Understanding. - 1992. - Volume 55, Issue 3. -P. 317-328. DOI: 10.1016/1049-9660(92)90029-3.

17. Jagna A. An efficient image independent thinning algorithm / A. Jagna // International journal of advanced research in computer and communication engineering. - 2014. - Vol. 3, Issue 10. -P. 8309-8311. DOI: 10.17148 / ijarcce.2014.31052.

18.Wu R. Y. A new one pass parallel thinning algorithm for binary images / R. Y. Wu, W. H. Tsai // Pattern recognition letters. - 1992. -№ 10. - P. 715-723. DOI: 10.1016/0167-8655(92)90101-5.

19.Holt C. M. An improved parallel thinning algorithm / C. M. Holt, A. Stewart, M. Clint // Communications of the ACM. - 1987. - Volume 30, Issue 2. - P. 156-160. DOI: 10.1016 / j.cag. 2012.06.001.

20. Zou R. W. Line Interpolation Method and Error Estimation Based on Run Length Coding / R. W. Zou, Z. R. Cai, and F. A. Zhang // J. Software. - 1997. - № 8. - P. 404-410. DOI: 10.3724 / sp.j. 1087.2008.02270.

21. Holt C. M. An improved parallel thinning algorithm / C. M. Holt, A. Stewart, M. Clint // Communications of the ACM. - 1987. -Volume 30, Issue 2. - P. 156-160.

22.Jang B. K. Reconstructable parallel thinning / B. K. Jang, R. T. Chin // International Journal of Pattern Recognition and Artificial Intelligence. - 1993. - Volume 07, Issue 05. - P. 11451181. DOI: 10.1142/9789812797858_0010.

Article was submitted 20.06.2017.

After revision 21.08.2017.

Молчанова В. С.

Старший викладач, ДВНЗ «Приазовський державний техшчний унiверситет», Марiуполь, Укра1на

МЕТОДИКА гомотопно!' скелетизацй' растрових креслень деталей морського транспорту

Актуальшсть. Скелетизацiя використовуеться при обробцi зображень технiчних креслень, включаючи деталi морського транспорту, бо скелет об'екту вщображуе його тополоНчну структуру. Порiвняльний аналiз кращих методiв паралельно! тополоНчно1 скелетизацй площадних об'ектiв, що використовують просторовi маски, показав, що вони дають ^еративш викривлення топологи примiтивiв та !х композицiй. Тому, задача розробки методики гомотопно! скелетизацй растрових об'етв креслень деталей морського транспорту актуальна.

Мета роботи. Розробка методики полшшення тополопчно1 е^валентност скелетiв контурам деталей морського транспорту за рахунок поетапно! корекци типових спотворень скеле™.

Метод. Коригування ггеративних спотворень скелета модифiкованими масками базового методу скелетизацй i реконструкцiю результуючого скелета масками вiдновлення його гомотопной оригiналу на основi розроблених правил реконструкци. Реалiзацiю запропоновано1 методики виконано на прикладi базового методу Wu Я. У. & Тйа! №. Н.

Результати. Запропоновану методику реалiзовано у виглядi програмного додатку, що дозволяе виконати яюсну скелетизацiю зображень креслень деталей морського транспорту.

Висновки. Показаш приклади результатiв скелетизацй креслень деталей тдтверджують ефективнiсть запропоновано1 методики. Методика може бути адаптована до шших методiв тополопчно1 скелетизацй площадних об'егпв, заснованих на використаннi просто-рових масок.

Ключов1 слова: зв'язнiсть, спотворення, креслення, гомотопшсть, маска, скелет, методика.

Молчанова В. С.

Старший преподаватель, ГВУЗ «Приазовский государственный технический университет», Мариуполь, Украина МЕТОДИКА ГОМОТОПНОЙ СКЕЛЕТИЗАЦИИ РАСТРОВЫХ ЧЕРТЕЖЕЙ ДЕТАЛЕЙ МОРСКОГО ТРАНСПОРТА

Актуальность. Скелетизация используется при обработке изображений технических чертежей, включая детали морского транспорта, поскольку скелет объекта отображает его топологическую структуру. Сравнительный анализ лучших методов параллельной топологической скелетизации площадных объектов, использующих пространственные маски, показал, что они дают итеративные искажения топологии примитивов и их композиций. Поэтому, задача разработки методики гомотопной скелетизации растровых объектов чертежей деталей морского транспорта актуальна.

Цель работы. Разработка методики улучшения топологической эквивалентности скелетов контурам деталей морского транспорта за счет поэтапной коррекции типичных искажений скелетов.

Метод. Корректировка итеративных искажений скелета модифицированными масками базового метода скелетизации и реконструкция результирующего скелета масками восстановления его гомотопности оригиналу на основе разработанных правил реконструкции. Реализация предложенной методики выполнена на примере базового метода №и Я. У. & Тва1 №. Н.

Результаты. Предложенная методика реализована в виде программного приложения, позволяющего выполнить качественную скелетизацию изображений чертежей деталей морского транспорта.

Выводы. Показанные примеры результатов скелетизации чертежей деталей подтверждают эффективность предложенной методики. Методика может быть адаптирована к иным методам топологической скелетизации площадных объектов, основанным на использовании пространственных масок.

Ключевые слова: связность, искажение, чертеж, гомотопность, маска, скелет, методика.

REFERENCES

2.

3.

5.

6.

Dori D., Liu W. Algorithms for 2D Engineering Drawings Recognition: Implemen-tation and Evaluation, LAP LAMBERT Academic Publishing, 2014, 88 p.

Chiang J. Y., Tue S. C. and Leu Y. C. A New Algorithm for Line Image Vectorization, Pattern Recognition, 1998, No. 3, pp. 15411549. DOI: 10.1016/s0031-3203(97) 00157. Zhang T. Y., Suen C. Y. A fast parallel algorithm for thinning digital patterns, Communications of the ACM, 1984, No. 27, Vol. 3, pp. 236-239. DOI: 10.1145/357994. 358023. 4. Kushnir O. A. Sravnenie formy binarnyh rastrovyh izobrazhenij na osnove skeletizacii, Mashinnoe obuchenie i analiz dannyh, 2012, No. 3, pp. 252-263.

Roseborough J. B., Murase H. A. Partial Eigenvalue Decomposition for Large Image Sets Using Run-Length Encoding, Pattern Recognition, 1995, No. 3, pp. 421-430. DOI: 10.1016/0031-3203(94)00113-z. Baranov R. P., Favorskaja M. N. Algoritmy skeletizacii ob#ektov na izobrazhenii, Aktual'nye problemy aviacii i kosmonavtiki,

2011, No. 7, Tom I, P. 349.

Klubkov I. M. Primenenie volnovogo algoritma dlja nahozhdenija skeleta rastrovogo, Vestnik DGTU, 2001, No. 1 (7), pp. 9-16. Ablamejko S. V., Lagunovskij D. M. Obrabotka izobrazhenij: tehnologija, metody, primenenie. Minsk, Amalfeja, 2000, 304 p. Hori O. O., Tanigawa S. T. Document Analysis and Recognition, Raster-to-Vector Conversion by Line Fitting Based on Contours and Skeletons. Kawasaki, Japan, 1993, pp. 272-281. DOI: 10.1109 / icdar. 1993.395716

10. Gonsales R. C., Vuds R. Je., S. A. Jeddins. Cifrovaja obrabotka izobrazhenij v srede Matlab. Moscow, Tehnosfera, 2006, 616 p.

11.Tropchenko A. Ju. Metody vtorichnoj obrabotki izobrazhenij i raspoznavanija ob#ektov: uchebnoe posobie. SPb., SPbGU ITMO,

2012, 52 p.

iНе можете найти то, что вам нужно? Попробуйте сервис подбора литературы.

12. Arcelli C., Cordella L. P., Levialdi S. Parallel thinning of binary pictures, Electronic Letters, 1975, No. 11 (7), P. 148-149. DOI: 10. 1049/el:19750113.

148

9.

13. Improved low complexity fully parallel thinning algorithm: In Procee-dings 10th International Conference on Image Analysis and Processing (ICIAP'99), (Venice, 27-29.09.1999), Venice, 1999, pp. 215-220. DOI: 10.1109/iciap.1999.797597.

14. Chin R. T., Wan H. K., Stover D. L. A one pass thinning algorithm and its parallel implementation, Computer Vision, Graphics, and Image Processing, 1987, № 40(1), pp. 30-40. DOI: 10.1016/ s0734-189x (87)80139-1.

15.Eckhardt U., Maderlechner G. Invariant thinning and distance transform, Theoretical Foundations of Computer Vision, 1993, Vol. 11, pp. 1115-1144. DOI: 10. 1007/978-3-7091-6586-7_2.

16.Guo Z., Hall R. W. Fast parallel thinning algorithms, CVGIP: Image Understanding, 1992, Volume 55, Issue 3, pp. 317-328. DOI: 10.1016/1049-9660(92)90029-3.

17.Jagna A. An efficient image independent thinning algorithm , International journal of advanced research in computer and communication engineering, 2014, Vol. 3, Issue 10, pp. 83098311. DOI: 10.17148 / ijarcce.2014.31052.

18.Wu R. Y., Tsai W. H. A new one pass parallel thinning algorithm for binary images, Pattern recognition letters, 1992, No. 10, pp. 715-723. DOI: 10.1016/0167-8655 (92) 90101-5.

19.Holt C. M., Stewart A., Clint M. An improved parallel thinning algorithm, Communications of the ACM, 1987, Volume 30, Issue 2, pp. 156-160. DOI: 10.1016 / j.cag. 2012. 06.001.

20.Zou R. W., Cai Z. R., and Zhang F. A. Line Interpolation Method and Error Estimation Based on Run Length Coding, J. Software, 1997, No. 8, pp. 404-410. DOI: 10.3724 / sp.j.1087.2008.02270.

21.Holt C. M., Stewart A., Clint M. An improved parallel thinning algorithm, Communications of the ACM, 1987, Volume 30, Issue 2, pp. 156-160.

22.Jang B. K., Chin R. T. Reconstructable parallel thinning, International Journal of Pattern Recognition and Artificial Intelligence, 1993, Volume 07, Issue 05, pp. 1145-1181. DOI: 10.1142/9789812797858 0010.

i Надоели баннеры? Вы всегда можете отключить рекламу.