KR101602293B1 - Method and apparatus to estimate coastline using image processing - Google Patents

Method and apparatus to estimate coastline using image processing Download PDF

Info

Publication number
KR101602293B1
KR101602293B1 KR1020140100032A KR20140100032A KR101602293B1 KR 101602293 B1 KR101602293 B1 KR 101602293B1 KR 1020140100032 A KR1020140100032 A KR 1020140100032A KR 20140100032 A KR20140100032 A KR 20140100032A KR 101602293 B1 KR101602293 B1 KR 101602293B1
Authority
KR
South Korea
Prior art keywords
band
image
value
deviation
average
Prior art date
Application number
KR1020140100032A
Other languages
Korean (ko)
Other versions
KR20160016286A (en
Inventor
유제선
심재설
Original Assignee
한국해양과학기술원
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 한국해양과학기술원 filed Critical 한국해양과학기술원
Priority to KR1020140100032A priority Critical patent/KR101602293B1/en
Publication of KR20160016286A publication Critical patent/KR20160016286A/en
Application granted granted Critical
Publication of KR101602293B1 publication Critical patent/KR101602293B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/70Determining position or orientation of objects or cameras
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/20Analysis of motion
    • G06T7/269Analysis of motion using gradient-based methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/97Determining parameters from multiple pictures
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02ATECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
    • Y02A10/00TECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE at coastal zones; at river basins
    • Y02A10/40Controlling or monitoring, e.g. of flood or hurricane; Forecasting, e.g. risk assessment or mapping

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Image Processing (AREA)

Abstract

본 발명에 따른 영상 처리를 통한 해안선 측정 방법은, 일정 시간 동안 해안선을 촬영하여 복수의 이미지를 생성하는 제1단계; 상기 복수의 이미지 각각을 실제 지형좌표로 기하보정 하는 제2단계; 상기 기하보정 된 복수의 이미지에 포함된 각각의 픽셀값의 평균값을 구하여 하나의 평균 이미지를 생성하는 제3단계; 상기 생성된 평균 이미지에 포함된 각각의 픽셀에 대해 B-밴드(Blue-band)의 픽셀값에서 R-밴드(Red-band)의 픽셀값을 차감한 값을 명도(brightness)로 갖는 BR 차이 이미지를 생성하는 제4단계; 상기 BR 차이 이미지에서 B-밴드의 픽셀값과 R-밴드의 픽셀값을 차감한 값이 소정 이하인 복수의 픽셀을 추출하는 제5단계; 상기 제2단계에서 기하보정 된 복수의 이미지에 포함된 각각의 픽셀별로 픽셀값의 편차를 계산하고, 계산된 편차값을 픽셀값으로 갖는 하나의 편차 이미지를 생성하는 제6단계; 상기 생성된 편차 이미지에서 상기 편차값이 소정 이상인 복수의 픽셀을 추출하는 제7단계; 및 상기 제5단계에서 추출된 복수의 픽셀 및 상기 제7단계에서 추출된 복수의 픽셀의 중첩 영역을 구하여 평균 해안선으로 결정하는 제8단계를 포함한다.A method for measuring a shoreline through image processing according to the present invention includes: a first step of generating a plurality of images by photographing a shoreline for a predetermined time; A second step of geometrically correcting each of the plurality of images into actual terrain coordinates; A third step of obtaining an average value of each pixel value included in the plurality of geometrically corrected images to generate one average image; A BR difference image having a brightness value obtained by subtracting a red-band pixel value from a B-band pixel value for each pixel included in the generated average image, ; A fifth step of extracting a plurality of pixels in which a value obtained by subtracting a pixel value of a B-band and a pixel value of an R-band from the BR difference image is a predetermined value or less; A sixth step of calculating a deviation of a pixel value for each pixel included in the plurality of geometrically corrected images in the second step and generating a deviation image having the calculated deviation value as a pixel value; A seventh step of extracting a plurality of pixels having the deviation value equal to or larger than a predetermined value in the generated deviation image; And an eighth step of determining an average coastline by finding overlapping areas of the plurality of pixels extracted in the fifth step and the plurality of pixels extracted in the seventh step.

Description

영상 처리를 통한 해안선 측정 방법 및 장치 {METHOD AND APPARATUS TO ESTIMATE COASTLINE USING IMAGE PROCESSING}TECHNICAL FIELD [0001] The present invention relates to a method and apparatus for coastline measurement using image processing,

본 발명은 해안선 측정 방법 및 장치에 관한 것으로서, 보다 상세하게는 연안에 고정적으로 설치된 촬영 장치를 통해 촬영한 영상을 바탕으로, 영상 처리를 통해 촬영된 영상에서 해안선의 위치를 측정하기 위한 방법 및 장치에 관한 것이다.
The present invention relates to a method and apparatus for measuring a shoreline, and more particularly, to a method and apparatus for measuring the position of a shoreline in an image photographed through image processing, based on an image taken through a photographing apparatus fixedly installed on the coast .

전 세계적으로 각 나라 연안에서는 태풍의 영향으로 인한 고파랑의 발생 및 기후 변화에 의한 해수면 상승 등에 의해 연안침식의 피해를 크게 입고 있다. 이와 같이 심각하게 진행 중인 연안침식의 문제에 대해 중장기적인 대책을 수립하기 위해서는, 장기적이고 지속적인 연안침식 모니터링을 통해 해안선의 변화 및 연안침식의 정도를 정량화 하여 수집할 필요가 있다.Globally, coastal erosion is widespread due to the occurrence of high waves caused by typhoons and rising sea level due to climate change in each country. In order to establish medium- and long-term countermeasures against this serious coastal erosion problem, it is necessary to quantify the extent of coastal change and coastal erosion through long-term and continuous monitoring of coastal erosion.

종래의 경우, 해안선 변화 및 연안침식 정도를 측정하기 위해서, 연안 현장에 사람이 RTK-GPS(Real Time Kinematic ? Global Positioning System) 등의 관측 장비를 가지고 연안 일대를 이동하여 직접 관측하는 방법을 보편적으로 사용하고 있다. RTK-GPS는 이동 중에도 수 cm 이내의 오차만을 발생 시키므로 정확도가 높은 대신 가격이 비싼 단점이 있고, 이와 같은 관측 장비를 이용해 사람이 직접 해안을 이동하여 측정해야 하므로 많은 인력 및 시간이 소요되는 단점이 있다.Conventionally, in order to measure the coastline change and the degree of coastal erosion, it is common practice for a person to directly observe a coastal area by using a RTK-GPS (Real Time Kinematic? Global Positioning System) I am using it. Since RTK-GPS generates errors within a few centimeters on the move, there is a disadvantage in that the price is high instead of being high in accuracy, and because it is necessary to measure the person moving directly on the coast using such an observation device, have.

이에, 종래와 같이 해안선 변화 및 연안침식 정도를 측정하는 경우, 지속적인 모니터링이 불가능하며, 특히 태풍 시와 같이 짧은 기간 내에 큰 변화가 발생하는 연안침식을 효과적으로 측정하는 데는 제한이 따를 수 밖에 없다.Therefore, when the coastline change and the coastal erosion degree are measured as in the past, it is impossible to continuously monitor the coastal erosion. In particular, there is a limitation in effectively measuring the coastal erosion where a large change occurs in a short period of time such as typhoon.

본 발명은 고정식 촬영 장비를 연안 인근의 한 지점에 설치하여 해안선 변화를 지속적 및 장기적으로 정량화 하여 관측하기 위한 방안을 제안한다.The present invention proposes a method for observing the shoreline change continuously and in the long term by installing the stationary photographing equipment at a place near the coast.

한편, 상기의 발명의 배경이 되는 기술로서 설명된 사항들은 본 발명의 배경에 대한 이해 증진을 위한 것일 뿐, 이 기술분야에서 통상의 지식을 가진 자에게 이미 알려진 종래기술에 해당함을 인정하는 것으로 받아들여져서는 안 될 것이다.
It is to be understood that the description described as the background of the above-mentioned invention is merely for enhancing the understanding of the background of the present invention, and it is accepted that it corresponds to the prior art already known to those having ordinary skill in the art It should not be accepted.

본 발명의 목적은 연안에 고정적으로 설치된 촬영 장치를 통해 촬영한 영상을 바탕으로 이미지 처리를 통해 해안선의 위치를 측정함으로써, 직접 관측으로 인한 비용 및 인력의 부담이 없이도, 정확한 해안선의 위치를 측정할 수 있는 해안선 측정 방법 및 장치를 제공함에 있다.
An object of the present invention is to measure the position of a shoreline by image processing based on an image taken through a photographing apparatus fixedly installed on the coast and to measure the position of a shoreline without the burden of cost and manpower due to direct observation And to provide a method and apparatus for measuring a shoreline.

상기 목적은 본 발명에 따라, 영상 처리를 통한 해안선 측정 방법에 있어서, 일정 시간 동안 해안선을 촬영하여 복수의 이미지를 생성하는 제1단계; 상기 복수의 이미지 각각을 실제 지형좌표로 기하보정 하는 제2단계; 상기 기하보정 된 복수의 이미지에 포함된 각각의 픽셀값의 평균값을 구하여 하나의 평균 이미지를 생성하는 제3단계; 상기 생성된 평균 이미지에 포함된 각각의 픽셀에 대해 B-밴드(Blue-band)의 픽셀값에서 R-밴드(Red-band)의 픽셀값을 차감한 값을 명도(brightness)로 갖는 BR 차이 이미지를 생성하는 제4단계; 상기 BR 차이 이미지에서 B-밴드의 픽셀값과 R-밴드의 픽셀값을 차감한 값이 소정 이하인 복수의 픽셀을 추출하는 제5단계; 상기 제2단계에서 기하보정 된 복수의 이미지에 포함된 각각의 픽셀별로 픽셀값의 편차를 계산하고, 계산된 편차값을 픽셀값으로 갖는 하나의 편차 이미지를 생성하는 제6단계; 상기 생성된 편차 이미지에서 상기 편차값이 소정 이상인 복수의 픽셀을 추출하는 제7단계; 및 상기 제5단계에서 추출된 복수의 픽셀 및 상기 제7단계에서 추출된 복수의 픽셀의 중첩 영역을 구하여 평균 해안선으로 결정하는 제8단계를 포함하는 방법에 의해서 달성될 수 있다.According to another aspect of the present invention, there is provided a method for measuring a shoreline through image processing, the method comprising: a first step of generating a plurality of images by photographing a shoreline for a predetermined time; A second step of geometrically correcting each of the plurality of images into actual terrain coordinates; A third step of obtaining an average value of each pixel value included in the plurality of geometrically corrected images to generate one average image; A BR difference image having a brightness value obtained by subtracting a red-band pixel value from a B-band pixel value for each pixel included in the generated average image, ; A fifth step of extracting a plurality of pixels in which a value obtained by subtracting a pixel value of a B-band and a pixel value of an R-band from the BR difference image is a predetermined value or less; A sixth step of calculating a deviation of a pixel value for each pixel included in the plurality of geometrically corrected images in the second step and generating a deviation image having the calculated deviation value as a pixel value; A seventh step of extracting a plurality of pixels having the deviation value equal to or larger than a predetermined value in the generated deviation image; And an eighth step of determining an average shoreline by obtaining overlapping areas of the plurality of pixels extracted in the fifth step and the plurality of pixels extracted in the seventh step.

여기서, 상기 제 3단계는, 상기 복수의 이미지 각각을 R-밴드, G-밴드, B-밴드로 분류하고, 상기 R-밴드, G-밴드, B-밴드 이미지의 각각의 픽셀값의 평균값을 구하여 R-밴드 평균 이미지, G-밴드 평균 이미지, B-밴드 평균 이미지를 생성한 후, 상기 R-밴드 평균 이미지, G-밴드 평균 이미지, B-밴드 평균 이미지를 중첩하여 상기 평균 이미지를 생성할 수 있다.The third step is to classify each of the plurality of images into R-band, G-band, and B-band, and calculate an average value of each pixel value of the R-band, G- Band average image, a G-band average image, and a B-band average image, and then generates the average image by superimposing the R-band average image, the G-band average image, and the B- .

여기서, 상기 제7단계는, 상기 편차값이 소정 이상인 복수의 픽셀을 쇄파대 영역으로 결정할 수 있다.Here, in the seventh step, a plurality of pixels having the deviation value equal to or greater than a predetermined value may be determined as the breaking-band region.

또한, 상기 목적은 본 발명에 따라, 영상 처리를 통한 해안선 측정 장치에 있어서, 일정 시간동안 해안선을 촬영하여 복수의 이미지를 생성하는 촬영부; 상기 복수의 이미지 각각을 실제 지형좌표로 기하보정 하는 기하보정부; 상기 기하보정 된 복수의 이미지에 포함된 각각의 픽셀값의 평균값을 구하여 하나의 평균 이미지를 생성하고, 상기 생성된 평균 이미지에 포함된 각각의 픽셀에 대해 B-밴드(Blue-band)의 픽셀값에서 R-밴드(Red-band)의 픽셀값을 차감한 값을 명도(brightness)로 갖는 BR 차이 이미지를 생성하고, 상기 BR 차이 이미지에서 B-밴드의 픽셀값과 R-밴드의 픽셀값을 차감한 값이 소정 이하인 복수의 픽셀을 추출하는 평균 이미지 처리부; 상기 기하보정 된 복수의 이미지에 포함된 각각의 픽셀별로 픽셀값의 편차를 계산하고, 계산된 편차값을 픽셀값으로 갖는 하나의 편차 이미지를 생성하고, 상기 생성된 편차 이미지에서 상기 편차값이 소정 이상인 복수의 픽셀을 추출하는 편차 이미지 처리부; 및 상기 평균 이미지 처리부에 의해 추출된 복수의 픽셀 및 상기 편차 이미지 처리부에 의해 추출된 복수의 픽셀의 중첩 영역을 구하여 평균 해안선으로 결정하는 해안선 결정부를 포함하는 장치에 의해서 달성될 수도 있다.According to another aspect of the present invention, there is provided an apparatus for measuring a shoreline through image processing, comprising: a photographing unit for photographing a coastline for a predetermined period of time and generating a plurality of images; A geometry correcting unit for geometrically correcting each of the plurality of images to actual terrain coordinates; The method of claim 1, further comprising: calculating a mean value of each pixel value included in the plurality of geometrically corrected images to generate an average image, and calculating a B-band pixel value And the R-band pixel value is subtracted from the BR difference image, and the R-band pixel value is subtracted from the R-band pixel value. An average image processing unit for extracting a plurality of pixels having a predetermined value or less; Calculating a deviation of a pixel value for each pixel included in the plurality of geometrically corrected images, generating a deviation image having the calculated deviation value as a pixel value, A deviation image processing unit for extracting a plurality of pixels that are equal to or larger than a predetermined number of pixels; And a shoreline determining unit for determining an overlapping area of a plurality of pixels extracted by the average image processing unit and a plurality of pixels extracted by the deviation image processing unit to determine an average shoreline.

여기서, 상기 평균 이미지 처리부는, 상기 복수의 이미지 각각을 R-밴드, G-밴드, B-밴드로 분류하고, 상기 R-밴드, G-밴드, B-밴드 이미지의 각각의 픽셀값의 평균값을 구하여 R-밴드 평균 이미지, G-밴드 평균 이미지, B-밴드 평균 이미지를 생성한 후, 상기 R-밴드 평균 이미지, G-밴드 평균 이미지, B-밴드 평균 이미지를 중첩하여 상기 평균 이미지를 생성할 수 있다.The average image processing unit may classify each of the plurality of images into R-band, G-band, and B-band, and may calculate an average value of each pixel value of the R-band, G- Band average image, a G-band average image, and a B-band average image, and then generates the average image by superimposing the R-band average image, the G-band average image, and the B- .

여기서, 상기 편차 이미지 처리부는, 상기 편차값이 소정 이상인 복수의 픽셀을 쇄파대 영역으로 결정할 수 있다.
Here, the deviation image processing unit may determine a plurality of pixels having the deviation value equal to or larger than a predetermined value as the breaking-band region.

상술한 본 발명에 따르면, 연안에 고정적으로 설치된 촬영 장치를 통해 촬영한 영상을 바탕으로 이미지 처리를 통해 해안선의 위치를 측정함으로써, 직접 관측으로 인한 비용 및 인력의 부담이 없이도, 정확한 해안선의 위치를 측정할 수 있는 해안선 측정 방법 및 장치를 제공할 수 있다.
According to the present invention, by measuring the position of a shoreline through image processing based on an image photographed through a photographing apparatus fixedly installed on the coast, accurate coastline position can be obtained without the burden of cost and manpower due to direct observation It is possible to provide a measurable shoreline measurement method and apparatus.

도 1은 본 발명의 일 실시예에 따른 해안선 측정 장치의 블록도이다.
도 2는 본 발명의 일 실시예에 따른 해안선 측정 방법의 흐름도이다.
도 3 내지 도 11은 본 발명의 일 실시예에 따라 촬영된 이미지의 처리에 따라 각 단계에서 생성되는 영상의 예시를 도시한 것이다.
1 is a block diagram of a shoreline measuring apparatus according to an embodiment of the present invention.
2 is a flowchart of a coastline measurement method according to an embodiment of the present invention.
FIGS. 3 to 11 illustrate examples of images generated in each step according to processing of photographed images according to an embodiment of the present invention.

본 명세서에서 사용되는 기술적 용어는 단지 특정한 실시 예를 설명하기 위해 사용된 것으로, 본 발명을 한정하려는 의도가 아님을 유의해야 한다. 또한, 본 명세서에서 사용되는 기술적 용어는 본 명세서에서 특별히 다른 의미로 정의되지 않는 한, 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에 의해 일반적으로 이해되는 의미로 해석되어야 하며, 과도하게 포괄적인 의미로 해석되거나, 과도하게 축소된 의미로 해석되지 않아야 한다. 또한, 본 명세서에서 사용되는 기술적인 용어가 본 발명의 사상을 정확하게 표현하지 못하는 잘못된 기술적 용어일 때에는, 당업자가 올바르게 이해할 수 있는 기술적 용어로 대체되어 이해되어야 할 것이다. 또한, 본 발명에서 사용되는 일반적인 용어는 사전에 정의되어 있는 바에 따라, 또는 전후 문맥상에 따라 해석되어야 하며, 과도하게 축소된 의미로 해석되지 않아야 한다.It is noted that the technical terms used herein are used only to describe specific embodiments and are not intended to limit the invention. It is also to be understood that the technical terms used herein are to be interpreted in a sense generally understood by a person skilled in the art to which the present invention belongs, Should not be construed to mean, or be interpreted in an excessively reduced sense. Further, when a technical term used herein is an erroneous technical term that does not accurately express the spirit of the present invention, it should be understood that technical terms that can be understood by a person skilled in the art are replaced. In addition, the general terms used in the present invention should be interpreted according to a predefined or prior context, and should not be construed as being excessively reduced.

이하, 첨부된 도면을 참조하여 본 발명에 따른 바람직한 실시예를 상세히 설명하되, 도면 부호에 관계없이 동일하거나 유사한 구성 요소는 동일한 참조 번호를 부여하고 이에 대한 중복되는 설명은 생략하기로 한다. 또한, 본 발명을 설명함에 있어서 관련된 공지 기술에 대한 구체적인 설명이 본 발명의 요지를 흐릴 수 있다고 판단되는 경우 그 상세한 설명을 생략한다. 또한, 첨부된 도면은 본 발명의 사상을 쉽게 이해할 수 있도록 하기 위한 것일 뿐, 첨부된 도면에 의해 본 발명의 사상이 제한되는 것으로 해석되어서는 아니됨을 유의해야 한다. 본 발명의 사상은 첨부된 도면 외에 모든 변경, 균등물 내지 대체물에 까지도 확장되는 것으로 해석되어야 한다.
Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings, wherein like reference numerals refer to like or similar elements throughout, and redundant description thereof will be omitted. In the following description, well-known functions or constructions are not described in detail since they would obscure the invention in unnecessary detail. It is to be noted that the accompanying drawings are only for the purpose of facilitating understanding of the present invention, and should not be construed as limiting the scope of the present invention with reference to the accompanying drawings. The spirit of the present invention should be construed as extending to all modifications, equivalents, and alternatives in addition to the appended drawings.

도 1은 본 발명의 일 실시예에 따른 해안선 측정 장치(100)의 블록도이다.1 is a block diagram of a shoreline measuring apparatus 100 according to an embodiment of the present invention.

도시된 바와 같이, 해안선 측정 장치(100)는 촬영부(110), 이미지 처리부(120), 해안선 결정부(130)를 포함하며, 이미지 처리부(120)는 기하보정부(122), 평균 이미지 처리부(124) 및 편차 이미지 처리부(126)를 포함한다. The shoreline measuring apparatus 100 includes a photographing unit 110, an image processing unit 120 and a shoreline determining unit 130. The image processing unit 120 includes a geometry correcting unit 122, (124) and a deviation image processing unit (126).

촬영부(110)는 해안선 인근에 고정 설치되어 해안선을 포함하는 이미지를 촬영한다. 촬영부(110)는 디지털 이미지를 생성할 수 있는 공지의 캠코더(Camcoder), CCTV(Closed Circuit Television) 등의 장치로 구현될 수 있으며, 후술할 이미지 처리부(120) 및 해안선 결정부(130)와는 원거리에 위치하여 유/무선 통신을 통해 촬영한 이미지를 전송할 수도 있다.The photographing unit 110 is fixed near the shoreline to take an image including the shoreline. The photographing unit 110 may be implemented by a known device such as a camcorder or a closed circuit television (CCTV) capable of generating a digital image. The image processing unit 120 and the shoreline determining unit 130, which will be described later, It is also possible to transmit an image photographed via wired / wireless communication at a remote location.

촬영부(110)는 시계열 적으로 연속 촬영을 통해 복수의(N개의) 이미지를 생성하는데, 통계적인 의미를 가질 수 있도록 일정시간 동안(15분 내지 20분) 연속해서 촬영을 수행할 수 있다. 예컨대, 프레임 레이트를 30frame/sec로 20분간 촬영한 경우 총 27,000개의 이미지가 생성될 수 있다.The photographing unit 110 generates a plurality of (N) images through continuous photographing in a time series, and it is possible to perform photographing continuously for a predetermined time (15 to 20 minutes) so as to have a statistical meaning. For example, when a frame rate is photographed for 20 minutes at 30 frames / sec, a total of 27,000 images can be generated.

이하에서, 이미지라 함은 별다른 설명이 없는 한 하나의 프레임(frame) 단위를 의미하고, 공지된 바와 같이 하나의 컬러 이미지는 별개의 레이어(layer)를 구성하는 3개의 밴드, 즉 R-밴드(Red-band), G-밴드(Green-band) 및 B-밴드(Blue-band)를 포함하며, R-밴드, G-밴드 및 B-밴드를 중첩함으로써 컬러 이미지가 완성될 수 있다.Hereinafter, an image refers to a frame unit unless otherwise stated, and one color image is divided into three bands constituting a separate layer, that is, R-band (R-band) Red-band, G-band and B-band, and color images can be completed by overlapping R-band, G-band and B-band.

이미지 처리부(120)는 기하보정부(122), 평균 이미지 처리부(124) 및 편차 이미지 처리부(126)를 포함할 수 있다. 여기서, 이미지 처리부(120)는 후술하는 이미지 처리 기능을 수행하는 하드웨어 또는 소프트웨어 적 구성을 의미하며, 기하보정부(122), 평균 이미지 처리부(124) 및 편차 이미지 처리부(126)가 반드시 별개의 하드웨어로 마련될 필요는 없다.The image processing unit 120 may include a geometric correction unit 122, an average image processing unit 124, and a deviation image processing unit 126. [ The geometric correction unit 122, the average image processing unit 124, and the deviation image processing unit 126 may be hardware (or software) .

촬영부(110)에 의해 최초 촬영된 이미지는 도 3에 도시된 바와 같으며, 이하에서는 해안선 측정 장치(100)가 도 3에 도시된 촬영 이미지에 대해 일련의 이미지 처리를 통해 해안선을 측정하는 과정을 도 4 내지 도 11에 각각 도시된 이미지를 참고하여 설명하기로 한다.3, the shoreline measuring apparatus 100 measures a shoreline through a series of image processing on the shot image shown in Fig. 3 Will be described with reference to the images shown in Figs. 4 to 11, respectively.

기하보정부(122)는 N개의 이미지 각각을 실제 지형좌표로 기하보정한다. 촬영된 이미지는 실제와 달리 2차원적으로 구성되는 바 실제 공간좌표에서의 모양과는 달리 왜곡이 될 수 있다. 이미지 내에 존재하는 왜곡에는 카메라 렌즈에 의한 굴절왜곡 및 좌표 변형에 의한 기하왜곡을 들 수 있으며, 기하보정부(122)는 DLT(Direct Linear Transformation) 기법 등 공지의 방법에 의해 상기와 같은 이미지의 기하학적 왜곡을 보정할 수 있다. 기하보정부(122)에 의한 기하보정에 따라 생성된 이미지는 도 4에 도시된 바와 같다. 도 4에서 좌측 상단 및 우측 하단에 검정색으로 도시된 부분은 기하보정에 의해 삭제된 부분으로, 실제 지형좌표 상에서는 존재하지 않는 영역에 해당한다.The geometry corrector 122 geometrically corrects each of the N images to the actual terrain coordinates. The photographed image is formed in two dimensions unlike the actual image, and may be distorted unlike the shape in the actual spatial coordinates. The distortion existing in the image includes a refractive distortion caused by a camera lens and a geometric distortion due to coordinate transformation. The geometry correction unit 122 corrects the geometric distortion of the image by using a known method such as DLT (Direct Linear Transformation) Distortion can be corrected. The image generated according to the geometric correction by the geometric correction unit 122 is as shown in FIG. In FIG. 4, the parts shown in black in the upper left and lower right corners correspond to the areas deleted by the geometric correction, and not in the actual terrain coordinates.

평균 이미지 처리부(124)는 기하보정 된 복수의 이미지의 평균 이미지를 바탕으로, 해안선의 영역을 추정한다. The average image processing unit 124 estimates the area of the shoreline based on the average image of the plurality of geometrically corrected images.

우선적으로, 평균 이미지 처리부(124)는 기하보정 된 복수의 이미지에 포함된 각각의 픽셀값의 평균값을 구하여 하나의 평균 이미지를 생성한다. 이 때, 평균 이미지 처리부(124)는 R-밴드, G-밴드, B-밴드 이미지의 각각의 픽셀값의 평균값을 구하여 R-밴드 평균 이미지, G-밴드 평균 이미지, B-밴드 평균 이미지를 생성한 후, R-밴드 평균 이미지, G-밴드 평균 이미지, B-밴드 평균 이미지를 중첩하여 평균 이미지를 생성한다.First, the average image processing unit 124 obtains an average value of each pixel value included in the plurality of geometrically corrected images, and generates one average image. At this time, the average image processing unit 124 obtains an average value of the pixel values of the R-band, G-band, and B-band images to generate an R-band average image, a G- Then, an R-band average image, a G-band average image, and a B-band average image are superimposed to generate an average image.

공지된 바와 같이, 각각의 이미지는 복수의 픽셀을 포함하며, 예컨대 해상도가 1024*768인 경우 하나의 이미지는 786,432개의 픽셀의 조합으로 구현될 수 있다. 또한, 각 픽셀은 R, G, B의 조합에 의해 하나의 컬러를 구현하며, 예컨대 256 컬러의 경우 각 픽셀의 R, G, B 픽셀값은 0 내지 255의 값을 가질 수 있다. 또한, n행 m열에 해당하는 픽셀의 픽셀값을 Pn*m(R_value, G_value, B_value)로 표현하는 경우, 이미지의 R-밴드의 해당 픽셀값은 (R_value, 0, 0), G-밴드는 (0, G_value, 0), B-밴드는 (0, 0, B_value)일 것이다.As is known, each image includes a plurality of pixels, for example, if the resolution is 1024 * 768, one image can be implemented with a combination of 786,432 pixels. In addition, each pixel implements one color by a combination of R, G, and B, for example, in the case of 256 colors, the R, G, and B pixel values of each pixel may have a value of 0 to 255. [ When the pixel value of the pixel corresponding to the nth row and mth column is represented by Pn * m (R_value, G_value, B_value), the corresponding pixel value of the R-band of the image is (R_value, 0, 0) (0, G_value, 0) and the B-band will be (0, 0, B_value).

평균 이미지 처리부(124)는 평균 이미지를 구하기 위해 N개의 이미지의 R-밴드 별, G-밴드 별, B-밴드 별로 먼저 각 픽셀의 픽셀값의 평균을 구하여 R-밴드 평균 이미지, G-밴드 평균 이미지, B-밴드 평균 이미지를 생성하며, 각 밴드의 평균 이미지의 n행 m열의 픽셀값은 Pavg_n*m(R_avg, 0, 0), Pavg_n*m(0, G_avg, 0), Pavg_n*m(0, 0, B_avg)로 표현될 수 있다. 이 후, 각 밴드의 평균 이미지를 중첩하여 평균 이미지를 생성하며, 평균 이미지의 n행 m열의 픽셀값은 Pavg_n*m(R_avg, G_avg, B_avg)로 표현될 수 있다. 상술한 방법에 따라 생성된 N개의 이미지의 평균 이미지는 도 5에 도시된 바와 같다.To obtain an average image, the average image processing unit 124 obtains an average of pixel values of each pixel by R-band, G-band, and B-band of N images and obtains R-band average image and G- (R_avg, 0, 0), Pavg_n * m (0, G_avg, 0), and Pavg_n * m 0, 0, B_avg). Then, an average image is generated by superimposing the average images of the respective bands, and the pixel values of n rows and m columns of the average image can be expressed by Pavg_n * m (R_avg, G_avg, B_avg). The average image of the N images generated according to the above-described method is as shown in Fig.

평균 이미지 처리부(124)는 N개의 이미지의 처리 결과 도 5에 도시된 바와 같은 하나의 평균 이미지가 생성되면, 평균 이미지에 포함된 각각의 픽셀에 대해 B-밴드의 픽셀값에서 R-밴드의 픽셀값을 차감한 값을 명도(brightness)로 갖는 BR 차이 이미지를 생성한다. When the average image processing unit 124 generates one average image as shown in Fig. 5 as the processing result of the N images, the R-band pixel value at the pixel value of the B-band for each pixel included in the average image And generates a BR difference image having a value obtained by subtracting the value from the brightness.

평균 이미지의 n행 m열의 픽셀의 B-밴드 픽셀값에서 R-밴드 픽셀값을 차감한 값 B_avg - R_avg은 0 내지 255의 값을 가지며, 이를 각 픽셀에 적용하면 BR 차이 이미지에서 n행 m열의 픽셀의 픽셀값은 Pbr_n*m(B_avg - R_avg, B_avg - R_avg, B_avg - R_avg)이 될 수 있다. 즉, BR 차이 이미지는 각 픽셀의 픽셀값이 RGB 밴드에서 모두 동일하며, 각 픽셀 간 명도 차이만 갖는 흑백 이미지로 구현될 수 있다. 상기와 같이 생성된 BR 차이 이미지는 도 6에 도시된 바와 같다.The value B_avg-R_avg obtained by subtracting the R-band pixel value from the B-band pixel value of the n-th row of the m-th column of the average image has a value of 0 to 255. When this is applied to each pixel, The pixel value of the pixel may be Pbr_n * m (B_avg - R_avg, B_avg - R_avg, B_avg - R_avg). That is, the BR difference image can be implemented as a monochrome image in which pixel values of each pixel are all the same in the RGB band, and only brightness differences between the respective pixels are different. The BR difference images thus generated are as shown in FIG.

상기와 같이 BR 차이 이미지를 생성하는 것은 육상과 해상의 경계에서 갈색에서 흰색 계통을 거쳐 파란색 계통으로 색상이 변화는 특성을 활용하기 위한 것이다. 보다 구체적으로, 육상의 모래밭은 갈색 계통이고, 해상의 바다는 파란색 계통의 컬러를 가지는 것이 일반적이며, 갈색 계통 및 파란색 계통에서 B-밴드 픽셀값과 R-밴드 픽셀값은 상이한 수치를 나타낸다. 이와 달리, 육상과 해상이 만나는 해안선에 해당하는 부분은 파도가 깨지는 쇄파운동이 일어나는 바 흰색 계통을 나타내며, 흰색 계통에서 B-밴드 픽셀값과 R-밴드 픽셀값은 같은 수치를 가진다. 이러한 관점에서 BR 차이 이미지를 생성하는 경우, 도 6에 도시된 바와 같이, 육상과 해상이 만나는 부분은 B-밴드 픽셀값과 R-밴드 픽셀값의 차이가 0에 가까우므로 픽셀값이 (0, 0, 0)에 가까운, 즉 검정색에 가까운 컬러를 나타내고, 그 외의 부분은 B-밴드 픽셀값과 R-밴드 픽셀값의 차이가 큰 바 일정한 크기의 명도를 나타낼 수 있다.As described above, the BR difference image is generated to utilize the characteristic of changing the color from the brown to the white line to the blue line at the boundary between land and sea. More specifically, it is common that the terrestrial sandy beaches are of the brown system, the sea of the sea has the blue system color, and the B-band pixel value and the R-band pixel value in the brown system and the blue system show different values. On the contrary, the part corresponding to the shoreline where land and sea meet corresponds to the white system in which the breaking wave breaking motion occurs. In the white system, the B-band pixel value and the R-band pixel value have the same value. 6, since the difference between the B-band pixel value and the R-band pixel value is close to 0, the pixel value is (0, 0, 0), that is, a color close to black, and the other portion may exhibit a constant brightness with a large difference between the B-band pixel value and the R-band pixel value.

평균 이미지 처리부(124)는 B-R 차이 이미지에서 B-밴드 픽셀값과 R-밴드 픽셀값의 차이가 소정 이하인, 즉 0에 가까운 복수의 픽셀을 추출한다. 앞서 설명한 바와 같이, 파도가 육지와 만나 흰색을 나타내는 해안선 영역의 픽셀이 추출될 수 있다. The average image processing unit 124 extracts a plurality of pixels whose difference between the B-band pixel value and the R-band pixel value in the B-R difference image is predetermined or less, that is, close to zero. As described above, pixels in the shoreline region where the waves meet the land and represent white can be extracted.

도 7은 후술하는 바와 같이 최종적으로 추정되는 해안선을 B-R 차이 이미지 상에서 표시한 것이다. 도 7에 도시된 바와 같이, x축 100 내지 150 및 y축 170 내지 300의 영역과 같이 해안선에 해당하지는 않으나, 해당 영역의 컬러 특성 상 B-밴드 픽셀값과 R-밴드 픽셀값의 차이가 0에 가까운 영역이 존재할 수 있다. 이러한 영역의 경우, 해안선과 무관하며, 후술하는 바와 같이 편차 이미지 처리부(126)에 의해 추출되는 영역과의 중첩에 의해 제거될 수 있다.Fig. 7 shows the coastline estimated finally, on the B-R difference image, as described later. As shown in FIG. 7, although it does not correspond to the shoreline like the areas of the x-axis 100 to 150 and y-axis 170 to 300, the difference between the B-band pixel value and the R- May be present. In the case of such an area, it is independent of the coastline and can be removed by overlapping with the area extracted by the deviation image processing unit 126 as described later.

편차 이미지 처리부(126)는 기하보정 된 복수의 이미지의 편차 이미지를 바탕으로, 해안선의 영역을 추정한다.The deviation image processing unit 126 estimates the area of the shoreline based on the deviation images of the plurality of geometrically corrected images.

우선적으로, 편차 이미지 처리부(126)는 기하보정 된 N개의 이미지에 포함된 각각의 픽셀 별로 픽셀값의 편차를 계산한다. 이 때, N개 이미지의 R-밴드, G-밴드, B-밴드의 픽셀값 별로 각 픽셀의 편차를 계산할 수 있다. 예컨대, N개 이미지 중 i번째 이미지의 n행 m열의 픽셀값을 Pi_n*m(R_value, G_value, B_value)로 표현하는 경우, 먼저 N개 이미지 각각의 R-밴드의 편차를 구하며, 각 픽셀에 대한 편차는 다음의 공식과 같이 계산될 수 있다.First, the deviation image processing unit 126 calculates the deviation of pixel values for each pixel included in the N images subjected to geometric correction. At this time, the deviation of each pixel can be calculated for each pixel value of R-band, G-band, and B-band of N images. For example, when the pixel values of the nth row and mth column of the i-th image among the N images are represented by Pi_n * m (R_value, G_value, B_value), the deviation of the R-band of each of the N images is first obtained, The deviation can be calculated as the following formula.

Figure 112014073761339-pat00001
Figure 112014073761339-pat00001

이와 같은 방법으로 N개 이미지 각각의 R-밴드, G-밴드, B-밴드의 편차 이미지를 각각 생성한 후 중첩하여 하나의 편차 이미지를 생성한다. 생성된 편차 이미지는 도 8에 도시된 바와 같다. In this manner, deviation images of R-band, G-band, and B-band of each of the N images are respectively generated and then superimposed to generate one deviation image. The generated deviation image is as shown in Fig.

이와 같이, 편차 이미지를 생성하는 이유는 연속되는 여러 이미지 상에서 바다와 모래밭의 영역에서는 변화가 크게 일어나지 않는 반면, 해안선 부근에서는 파도의 왕복 운동과 파도가 깨지는 쇄파 운동이 활발하게 발생하여 변화가 크게 일어나기 때문이다. 즉, 해안선 부근에서는 다른 영역에 비해 변화가 크게 일어나므로, 편차값이 크게 발생할 수 있다.In this way, the reason for generating the deviation image is that there is not a large change in the sea and sandy areas in the continuous images, but the wave and the wave breaks up actively in the vicinity of the shoreline, Because. In other words, since the change is larger in the vicinity of the shoreline than in the other regions, a large deviation value can be generated.

편차 이미지 처리부(126)는 생성된 편차 이미지 상에서 편차값이 소정 이상인 복수의 픽셀을 추출한다. 보다 구체적으로, 편차 이미지의 n행 m열의 픽셀값을 Pdev_n*m = (R_dev, G_dev, B_dev)로 표현하는 경우, R_dev ≥α, G_dev ≥α, B_dev ≥α를 모두 만족하는 픽셀을 추출한다. 이 때, 추출되는 픽셀들의 픽셀값은 R-밴드, G-밴드, B-밴드에서 모두 높은 값, 즉 255에 가까운 값을 가지므로, 도 8에 도시된 바와 같이 흰색에 가까울 수 있다.The deviation image processing unit 126 extracts a plurality of pixels whose deviation values are equal to or larger than a predetermined value on the generated deviation images. More specifically, when the pixel values of the n-th row and m-th column of the deviation image are represented by Pdev_n * m = (R_dev, G_dev, B_dev), pixels satisfying R_dev ≥α, G_dev ≥α, and B_dev ≥α are extracted. In this case, the pixel values of the extracted pixels are all high in the R-band, G-band, and B-band, that is, close to 255, so they may be close to white as shown in FIG.

편차 이미지 처리부(126)는 상기 추출된 복수의 픽셀을 쇄파대 영역으로 결정하고, 결정된 쇄파대 영역만을 도 9에 도시된 바와 같이 흰색으로 표시할 수 있다. 즉, 도 9에서 흰색으로 표시된 영역은 시계열 이미지 상에서 변화가 많이 일어나는 영역이므로, 파도가 육지와 만나 쇄파되는 쇄파대 영역으로 추정된다.The deviation image processing unit 126 may determine the extracted plurality of pixels as the breaking-band region, and display only the determined breaking-band region in white as shown in FIG. That is, since the region indicated by white in FIG. 9 is a region where a lot of changes occur in the time-series image, the wave is assumed to be a breaking-band region that meets with the land and breaks.

해안선 결정부(130)는 평균 이미지 처리부(124)에 의해 추출된 복수의 픽셀, 즉 BR 차이 이미지에서 B-밴드의 픽셀값과 R-밴드의 픽셀값을 차감한 값이 소정 이하인 복수의 픽셀 및 편차 이미지 처리부(126)에 의해 추출된 복수의 픽셀, 즉 편차 이미지에서 편차값이 소정 이상인 쇄파대 영역의 픽셀의 중첩 영역을 구한다. 구해진 중첩 영역은 도 10에 도시된 바와 같다.The shoreline determination unit 130 includes a plurality of pixels extracted by the average image processing unit 124, that is, a plurality of pixels having a value obtained by subtracting a pixel value of a B-band and a pixel value of an R- A plurality of pixels extracted by the deviation image processing unit 126, that is, a superimposition area of pixels of a breaking-band area having a deviation value of a predetermined value or more in the deviation image is obtained. The obtained overlapping area is as shown in Fig.

중첩 영역을 구하게 되는 결과, 앞서 도 7에서의 해안선과 무관한 영역이 제거되고, 실제 해안선과 유사한 영역만이 남게 된다.As a result of obtaining the overlap region, the region that is not related to the coastline in Fig. 7 is removed, and only the region similar to the actual coastline is left.

해안선 결정부(130)는 상기 구해진 중첩 영역을 평균 해안선으로 결정한다. 도 11은 이에 따라 결정된 평균 해안선을 도 5의 평균 이미지에 중첩하여 그린 것으로, 육안으로 추정 가능한 해안선과 해안선 결정부(130)에 의해 결정된 해안선이 거의 일치함을 확인할 수 있다.The coastline determining unit 130 determines the obtained overlapping area as an average coastline. FIG. 11 shows the average coastline determined in accordance with the above-described method, which is superimposed on the average image of FIG. 5, and it can be confirmed that the shoreline that can be estimated visually matches with the coastline determined by the coastline determining unit 130.

상술한 본 발명에 따른 해안선 측정 장치(100)를 이용하는 결과, 촬영한 영상을 바탕으로 평균 이미지 및 편차 이미지를 생성하고, 일련의 과정의 이미지 처리를 통해 해안선의 위치를 측정함으로써, 직접 관측으로 인한 비용 및 인력의 부담이 없이도 정확한 해안선의 위치를 측정할 수 있는 효과가 있다.
As a result of using the shoreline measuring apparatus 100 according to the present invention, the average image and the deviation image are generated based on the photographed image, the position of the shoreline is measured through image processing of a series of processes, It is possible to measure the position of the accurate shoreline without the burden of cost and manpower.

도 2는 본 발명의 일 실시예에 따른 해안선 측정 방법의 흐름도이다.2 is a flowchart of a coastline measurement method according to an embodiment of the present invention.

도시된 해안선 측정 방법은 앞서 도 1을 통해 설명한 해안선 측정 장치(100)에 의해 수행되며, 이미 설명한 기술적 특징에 대해서는 그 설명을 생략하기로 한다.The coastline measurement method shown in FIG. 1 is performed by the coastline measurement apparatus 100 described above with reference to FIG. 1, and the description of the technical features already described will be omitted.

해안선 측정 장치(100)는 일정 시간 동안 해안선을 촬영하여 복수의 이미지를 생성한다(S10). 해안선 측정 장치(100)는 시계열 적으로 연속 촬영을 통해 복수의(N개의) 이미지를 생성하는데, 통계적인 의미를 가질 수 있도록 일정시간 동안(15분 내지 20분) 연속해서 촬영을 수행할 수 있다. 촬영된 N개의 이미지는 도 3에 도시된 바와 같다.The coastline measuring apparatus 100 photographs the coastline for a predetermined time to generate a plurality of images (S10). The shoreline measuring apparatus 100 generates a plurality of (N) images through continuous shooting in a time series, and the shooting can be continuously performed for a predetermined time (15 to 20 minutes) so as to have a statistical meaning . The photographed N images are as shown in Fig.

해안선 측정 장치(100)는 촬영된 복수의 이미지 각각을 실제 지형좌표로 기하보정한다(S20). 촬영된 이미지는 실제와 달리 2차원적으로 구성되는 바 실제 공간좌표에서의 모양과는 달리 왜곡이 될 수 있으며, 해안선 측정 장치(100)는 DLT(Direct Linear Transformation) 기법 등 공지의 방법에 의해 상기와 같은 이미지의 기하학적 왜곡을 보정할 수 있다. 기하보정에 따라 생성된 이미지는 도 4에 도시된 바와 같다.The coastline measuring apparatus 100 geometrically corrects each of the plurality of photographed images to the actual terrain coordinates (S20). The photographed image may be distorted unlike the shape in the actual spatial coordinates because it is two-dimensionally formed unlike the actual image. The shoreline measuring apparatus 100 may be constructed by a known method such as DLT (Direct Linear Transformation) The geometric distortion of the image can be corrected. The image generated according to the geometric correction is as shown in Fig.

해안선 측정 장치(100)는 기하보정 된 복수의 이미지에 포함된 각각의 픽셀값의 평균값을 구하여 하나의 평균 이미지를 생성한다(S31). 이 때, 복수의 이미지 각각을 R-밴드, G-밴드, B-밴드로 분류하고, R-밴드, G-밴드, B-밴드 이미지의 각각의 픽셀값의 평균값을 구하여 R-밴드 평균 이미지, G-밴드 평균 이미지, B-밴드 평균 이미지를 생성한 후, 상기 R-밴드 평균 이미지, G-밴드 평균 이미지, B-밴드 평균 이미지를 중첩하여, 평균 이미지를 생성할 수 있다. 이에 따라 생성된 평균 이미지는 도 5에 도시된 바와 같다.The shoreline measuring apparatus 100 calculates an average value of each pixel value included in a plurality of geometrically corrected images to generate an average image (S31). At this time, each of a plurality of images is classified into R-band, G-band, and B-band, and an average value of pixel values of R-band, G- After generating the G-band average image and the B-band average image, the R-band average image, the G-band average image, and the B-band average image may be superimposed to generate an average image. The average image thus generated is as shown in FIG.

이 후, 해안선 측정 장치(100)는 생성된 평균 이미지에 포함된 각각의 픽셀에 대해 B-밴드(Blue-band)의 픽셀값에서 R-밴드(Red-band)의 픽셀값을 차감한 값을 명도(brightness)로 갖는 BR 차이 이미지를 생성한다(S32). BR 차이 이미지는 도 6에 도시된 바와 같으며, 도시된 바와 같이, 육상과 해상이 만나는 부분은 B-밴드 픽셀값과 R-밴드 픽셀값의 차이가 0에 가까우므로 픽셀값이 (0, 0, 0)에 가까운, 즉 검정색에 가까운 컬러를 나타내고, 그 외의 부분은 B-밴드 픽셀값과 R-밴드 픽셀값의 차이가 큰 바 일정한 크기의 명도를 나타낼 수 있다.Thereafter, the shoreline measuring apparatus 100 calculates a value obtained by subtracting the R-band (red-band) pixel value from the B-band pixel value for each pixel included in the generated average image A BR difference image having brightness is generated (S32). 6, since the difference between the B-band pixel value and the R-band pixel value is close to 0, the pixel value is (0, 0 , 0), that is, a color close to black, and the other portion may exhibit a certain amount of brightness with a large difference between the B-band pixel value and the R-band pixel value.

해안선 측정 장치(100)는 BR 차이 이미지에서 B-밴드의 픽셀값과 R-밴드의 픽셀값을 차감한 값이 소정 이하인, 즉 0에 가까운 복수의 픽셀을 추출한다(S33). 이에 따라, 파도가 육지와 만나 흰색을 나타내는 해안선 영역의 픽셀이 추출될 수 있다. The coastline measuring apparatus 100 extracts a plurality of pixels whose values are less than or equal to a predetermined value, that is, a value obtained by subtracting a pixel value of the B-band from a pixel value of the R-band in the BR difference image (S33). Accordingly, the pixels of the shoreline region in which the waves meet the land and represent white can be extracted.

한편, 해안선 측정 장치(100)는 기하보정 된 복수의 이미지에 포함된 각각의 픽셀별로 픽셀값의 편차를 계산하고, 계산된 편차값을 픽셀값으로 갖는 하나의 편차 이미지를 생성한다(S41). 이 때, N개 이미지의 R-밴드, G-밴드, B-밴드의 픽셀값 별로 각 픽셀의 편차를 계산한 후, N개 이미지 각각의 R-밴드, G-밴드, B-밴드의 편차 이미지를 중첩하여 하나의 편차 이미지를 생성할 수 있다. 생성된 편차 이미지는 도 8에 도시된 바와 같다.On the other hand, the shoreline measuring apparatus 100 calculates the deviation of the pixel values for each pixel included in the plurality of geometrically corrected images, and generates one deviation image having the calculated deviation value as the pixel value (S41). At this time, the deviation of each pixel is calculated for each pixel value of the R-band, G-band and B-band of the N images, and then the deviation image of the R-band, G- Can be superimposed to generate one deviation image. The generated deviation image is as shown in Fig.

이 후, 해안선 측정 장치(100)는 생성된 편차 이미지에서 상기 편차값이 소정 이상인 복수의 픽셀을 추출한다(S42). 이 때, 추출되는 픽셀들의 픽셀값은 R-밴드, G-밴드, B-밴드에서 모두 높은 값, 즉 255에 가까운 값을 가지므로, 도 8에 도시된 바와 같이 흰색에 가까울 수 있다.Thereafter, the shoreline measuring apparatus 100 extracts a plurality of pixels having the deviation value equal to or larger than a predetermined value in the generated deviation image (S42). In this case, the pixel values of the extracted pixels are all high in the R-band, G-band, and B-band, that is, close to 255, so they may be close to white as shown in FIG.

해안선 측정 장치(100)는 상기 추출된 복수의 픽셀을 쇄파대 영역으로 결정하고(S43), 결정된 쇄파대 영역만을 도 9에 도시된 바와 같이 흰색으로 표시할 수 있다.The shoreline measuring apparatus 100 may determine the extracted plurality of pixels as a breaking-band region (S43) and display only the determined breaking-band region in white as shown in FIG.

상기에서 설명한 바와 같이 평균 이미지 분석 및 편차 이미지 분석이 완료되면, 해안선 측정 장치(100)는 앞서 S33 단계에서 추출한 복수의 픽셀 및 S43 단계에서 추출된 복수의 픽셀의 중첩 영역을 구한다. 여기서 구해진 중첩 영역은 도 10에 도시된 바와 같다. 중첩 영역을 구하게 되는 결과, 앞서 도 7에서의 해안선과 무관한 영역이 제거되고, 실제 해안선과 유사한 영역만이 남게 된다.When the average image analysis and the deviation image analysis are completed as described above, the shoreline measuring apparatus 100 obtains the overlapping areas of the plurality of pixels extracted in step S33 and the plurality of pixels extracted in step S43. The overlapping area obtained here is as shown in Fig. As a result of obtaining the overlap region, the region that is not related to the coastline in Fig. 7 is removed, and only the region similar to the actual coastline is left.

해안선 측정 장치(100)는 상기 구해진 중첩 영역을 평균 해안선으로 결정한다(S50). 도 11은 이에 따라 결정된 평균 해안선을 도 5의 평균 이미지에 중첩하여 그린 것으로, 육안으로 추정 가능한 해안선과 해안선 측정 장치에 의해 결정된 해안선이 거의 일치함을 확인할 수 있다.
The coastline measuring apparatus 100 determines the obtained overlapping area as an average coastline (S50). Fig. 11 shows the average coastline determined according to the above, superimposed on the average image in Fig. 5, and it can be confirmed that the shoreline determined by the naked eye and the coastline determined by the coastline measurement apparatus are almost identical.

한편, 상술한 본 발명의 일 실시예에 따른 해안선 측정 방법은, 각종 연산 처리 장치를 통해 실행될 수 있는 컴퓨터 프로그램을 통해 구현될 수 있다. 해당 컴퓨터 프로그램은 프로그램 명령, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있으며, 프로그램 명령의 예에는 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드를 포함할 수 있다. 또한, 컴퓨터 프로그램은 본 발명을 위하여 특별히 설계되고 구성된 것들이거나 소프트웨어 분야의 통상의 기술자에게 공지되어 사용 가능한 것일 수도 있다. Meanwhile, the shoreline measurement method according to an embodiment of the present invention described above can be implemented through a computer program that can be executed through various arithmetic processing units. The computer program may include program instructions, data files, data structures, etc., alone or in combination, and examples of program instructions may include machine code such as those generated by a compiler, as well as instructions that may be executed by a computer using an interpreter, You can include the high-level language code. In addition, the computer program may be those specially designed and constructed for the present invention or may be those known to those skilled in the art of software.

또한, 상기 방법을 실행하는 컴퓨터 프로그램은 컴퓨터로써 판독 가능한 기록 매체에 수록될 수 있다. 컴퓨터 판독 가능 기록 매체의 예에는 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체(magnetic media), CD-ROM, DVD와 같은 광기록 매체(optical media), 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체(magneto-optical media), 및 롬(ROM), 램(RAM), 플래시 메모리 등과 같은 프로그램 명령을 저장하고 수행하도록 특별히 구성된 하드웨어 장치가 포함된다. 상기된 하드웨어 장치는 본 발명의 동작을 수행하기 위해 하나 이상의 소프트웨어 모듈로서 작동하도록 구성될 수 있으며, 그 역도 마찬가지이다.
Further, the computer program for executing the above method may be recorded in a computer-readable recording medium. Examples of computer-readable media include magnetic media such as hard disks, floppy disks and magnetic tape; optical media such as CD-ROMs and DVDs; magnetic media such as floppy disks; Magneto-optical media, and hardware devices specifically configured to store and execute program instructions such as ROM, RAM, flash memory, and the like. The hardware devices described above may be configured to operate as one or more software modules to perform the operations of the present invention, and vice versa.

이상, 본 발명의 실시예에 대하여 설명하였으나, 해당 기술 분야에서 통상의 지식을 가진 자라면 특허청구범위에 기재된 본 발명의 사상으로부터 벗어나지 않는 범위 내에서, 구성 요소의 부가, 변경, 삭제 또는 추가 등에 의해 본 발명을 다양하게 수정 및 변경시킬 수 있을 것이며, 이 또한 본 발명의 권리범위 내에 포함된다고 할 것이다.
While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it is to be understood that the invention is not limited to the disclosed embodiments, but, on the contrary, It will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

100: 해안선 측정 장치
110: 촬영부
120: 이미지 처리부
122: 기하보정부
124: 평균 이미지 처리부
126: 편차 이미지 처리부
130: 해안선 결정부
100: Coastline measuring device
110:
120:
122: Geometrical Correction
124: average image processing section
126: Deviation image processing section
130: coastline determining section

Claims (6)

영상 처리를 통한 해안선 측정 방법에 있어서,
일정 시간 동안 해안선을 촬영하여 복수의 이미지를 생성하는 제1단계;
상기 복수의 이미지 각각을 실제 지형좌표로 기하보정 하는 제2단계;
상기 기하보정 된 복수의 이미지에 포함된 각각의 픽셀 내 R-밴드(Red-band), G-밴드(Green-band), 및 B-밴드(Blue-band) 각각의 색상값에 대한 평균값을 구하여 하나의 평균 이미지를 생성하는 제3단계;
상기 생성된 평균 이미지에 포함된 각각의 픽셀에 대해 B-밴드의 색상값에서 R-밴드의 색상값을 차감한 값을 명도(brightness)로 갖는 BR 차이 이미지를 생성하는 제4단계;
상기 BR 차이 이미지에서 B-밴드의 색상값과 R-밴드의 색상값을 차감한 값이 소정 이하인 복수의 픽셀을 추출하는 제5단계;
상기 제2단계에서 기하보정 된 복수의 이미지에 포함된 각각의 픽셀별로 R-밴드, G-밴드, 및 B-밴드 각각의 색상값의 대한 편차를 계산하고, 계산된 편차값을 색상값으로 갖는 하나의 편차 이미지를 생성하는 제6단계;
상기 생성된 편차 이미지에서 상기 편차값이 소정 이상인 복수의 픽셀을 추출하는 제7단계; 및
상기 제5단계에서 추출된 복수의 픽셀 및 상기 제7단계에서 추출된 복수의 픽셀의 중첩 영역을 구하여 평균 해안선으로 결정하는 제8단계를 포함하는 방법.
A coastline measurement method using image processing,
A first step of photographing a coastline for a predetermined time to generate a plurality of images;
A second step of geometrically correcting each of the plurality of images into actual terrain coordinates;
An average value is calculated for each color value of R-band, G-band, and B-band in each pixel included in the geometrically corrected images, A third step of generating one average image;
A fourth step of generating a BR difference image having a value obtained by subtracting a color value of an R-band from a color value of a B-band with brightness for each pixel included in the generated average image;
A fifth step of extracting a plurality of pixels in which a value obtained by subtracting a color value of a B-band from a color value of an R-band is equal to or less than a predetermined value in the BR difference image;
The deviation of the color values of the R-band, the G-band, and the B-band is calculated for each pixel included in the plurality of geometrically corrected images in the second step, A sixth step of generating one deviation image;
A seventh step of extracting a plurality of pixels having the deviation value equal to or larger than a predetermined value in the generated deviation image; And
An eighth step of determining an average coastline by obtaining overlapping areas of the plurality of pixels extracted in the fifth step and the plurality of pixels extracted in the seventh step.
제 1항에 있어서,
상기 제 3단계는,
상기 복수의 이미지 각각을 R-밴드, G-밴드, B-밴드로 분류하고, 상기 R-밴드, G-밴드, B-밴드 이미지의 각각의 색상값에 대한 평균값을 구하여 R-밴드 평균 이미지, G-밴드 평균 이미지, B-밴드 평균 이미지를 생성한 후, 상기 R-밴드 평균 이미지, G-밴드 평균 이미지, B-밴드 평균 이미지를 중첩하여 상기 평균 이미지를 생성하는 것을 특징으로 하는 방법.
The method according to claim 1,
In the third step,
Band image, an R-band average image, and an R-band average image by dividing each of the plurality of images into R-band, G-band, and B- A G-band average image, and a B-band average image, and then the R-band average image, the G-band average image, and the B-band average image are superimposed to generate the average image.
제 1항에 있어서,
상기 제7단계는,
상기 편차값이 소정 이상인 복수의 픽셀을 쇄파대 영역으로 결정하는 것을 특징으로 하는 방법.
The method according to claim 1,
In the seventh step,
Wherein the plurality of pixels having the deviation value equal to or greater than a predetermined value are determined as the breaking-band region.
영상 처리를 통한 해안선 측정 장치에 있어서,
일정 시간동안 해안선을 촬영하여 복수의 이미지를 생성하는 촬영부;
상기 복수의 이미지 각각을 실제 지형좌표로 기하보정 하는 기하보정부;
상기 기하보정 된 복수의 이미지에 포함된 각각의 픽셀 내 R-밴드(Red-band), G-밴드(Green-band), 및 B-밴드(Blue-band) 각각의 색상값에 대한 평균값을 구하여 하나의 평균 이미지를 생성하며, 상기 생성된 평균 이미지에 포함된 각각의 픽셀에 대해 B-밴드의 색상값에서 R-밴드의 색상값을 차감한 값을 명도(brightness)로 갖는 BR 차이 이미지를 생성하고, 상기 BR 차이 이미지에서 B-밴드의 색상값과 R-밴드의 색상값을 차감한 값이 소정 이하인 복수의 픽셀을 추출하는 평균 이미지 처리부;
상기 기하보정 된 복수의 이미지에 포함된 각각의 픽셀별로 R-밴드, G-밴드, 및 B-밴드 각각의 색상값에 대한 편차를 계산하고, 계산된 편차값을 색상값으로 갖는 하나의 편차 이미지를 생성하며, 상기 생성된 편차 이미지에서 상기 편차값이 소정 이상인 복수의 픽셀을 추출하는 편차 이미지 처리부; 및
상기 평균 이미지 처리부에 의해 추출된 복수의 픽셀 및 상기 편차 이미지 처리부에 의해 추출된 복수의 픽셀의 중첩 영역을 구하여 평균 해안선으로 결정하는 해안선 결정부를 포함하는 장치.
A shoreline measuring apparatus for image processing, comprising:
A photographing unit for photographing a coastline for a predetermined time to generate a plurality of images;
A geometry correcting unit for geometrically correcting each of the plurality of images to actual terrain coordinates;
An average value is calculated for each color value of R-band, G-band, and B-band in each pixel included in the geometrically corrected images, And generates a BR difference image having a brightness obtained by subtracting the color value of the R-band from the color value of the B-band with respect to each pixel included in the generated average image An average image processing unit for extracting a plurality of pixels whose values obtained by subtracting a color value of the B-band and a color value of the R-band from the BR difference image are equal to or less than a predetermined value;
Calculating deviations with respect to color values of R-band, G-band, and B-band for each pixel included in the plurality of geometrically corrected images, calculating one deviation image having the calculated deviation value as a color value A deviation image processing unit for generating a plurality of pixels having the deviation value equal to or greater than a predetermined value in the generated deviation image; And
And a shade determining unit for determining an overlapping area between a plurality of pixels extracted by the average image processing unit and a plurality of pixels extracted by the deviation image processing unit to determine an average shoreline.
제 4항에 있어서,
상기 평균 이미지 처리부는,
상기 복수의 이미지 각각을 R-밴드, G-밴드, B-밴드로 분류하고, 상기 R-밴드, G-밴드, B-밴드 이미지의 각각의 색상값에 대한 평균값을 구하여 R-밴드 평균 이미지, G-밴드 평균 이미지, B-밴드 평균 이미지를 생성한 후, 상기 R-밴드 평균 이미지, G-밴드 평균 이미지, B-밴드 평균 이미지를 중첩하여 상기 평균 이미지를 생성하는 것을 특징으로 하는 장치.
5. The method of claim 4,
Wherein the average image processing unit comprises:
Band image, an R-band average image, and an R-band average image by dividing each of the plurality of images into R-band, G-band, and B- Band average image, a B-band average image, and then superimposes the R-band average image, the G-band average image, and the B-band average image to generate the average image.
제 4항에 있어서,
상기 편차 이미지 처리부는,
상기 편차값이 소정 이상인 복수의 픽셀을 쇄파대 영역으로 결정하는 것을 특징으로 하는 장치.
5. The method of claim 4,
The deviation image processing unit,
And the plurality of pixels having the deviation value equal to or larger than a predetermined value are determined as the breaking-band region.
KR1020140100032A 2014-08-04 2014-08-04 Method and apparatus to estimate coastline using image processing KR101602293B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020140100032A KR101602293B1 (en) 2014-08-04 2014-08-04 Method and apparatus to estimate coastline using image processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020140100032A KR101602293B1 (en) 2014-08-04 2014-08-04 Method and apparatus to estimate coastline using image processing

Publications (2)

Publication Number Publication Date
KR20160016286A KR20160016286A (en) 2016-02-15
KR101602293B1 true KR101602293B1 (en) 2016-03-10

Family

ID=55357053

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020140100032A KR101602293B1 (en) 2014-08-04 2014-08-04 Method and apparatus to estimate coastline using image processing

Country Status (1)

Country Link
KR (1) KR101602293B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106940797A (en) * 2017-04-28 2017-07-11 无锡北斗星通信息科技有限公司 Identifying system based on image procossing

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101956250B1 (en) * 2017-02-20 2019-03-08 한국해양과학기술원 Coastline monitoring apparatus and method using ocean color image
CN115439748B (en) * 2022-09-13 2023-09-26 中山大学 Coastline erosion degree monitoring method and device and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005148906A (en) 2003-11-12 2005-06-09 Mitsubishi Space Software Kk Shore line extraction device, shore line extraction method, computer-readable recording medium in which program is recorded, and program
JP2005346664A (en) 2004-06-07 2005-12-15 Nogiwa Sangyo Kk Coastline extraction method and coastline extraction system
KR101223046B1 (en) 2011-02-08 2013-01-17 경북대학교 산학협력단 Image segmentation device and method based on sequential frame imagery of a static scene

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005148906A (en) 2003-11-12 2005-06-09 Mitsubishi Space Software Kk Shore line extraction device, shore line extraction method, computer-readable recording medium in which program is recorded, and program
JP2005346664A (en) 2004-06-07 2005-12-15 Nogiwa Sangyo Kk Coastline extraction method and coastline extraction system
KR101223046B1 (en) 2011-02-08 2013-01-17 경북대학교 산학협력단 Image segmentation device and method based on sequential frame imagery of a static scene

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
논문1:연안해양환경포럼

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106940797A (en) * 2017-04-28 2017-07-11 无锡北斗星通信息科技有限公司 Identifying system based on image procossing

Also Published As

Publication number Publication date
KR20160016286A (en) 2016-02-15

Similar Documents

Publication Publication Date Title
US10852213B2 (en) Image processing device for gas detection, image processing method for gas detection, image processing program for gas detection, computer-readable recording medium having image processing program for gas detection recorded thereon, and gas detection system
EP3073440B1 (en) Method and device for correcting recovery and analyzing alarm of distorted image
US20170293796A1 (en) Flight device and flight control method
JP6353289B2 (en) Ranging correction device
CN102622767B (en) Method for positioning binocular non-calibrated space
CN110083157B (en) Obstacle avoidance method and device
KR101488214B1 (en) Apparatus for monitoring geographical features change of intertidal zone using image pictured by camera and the method thereof
WO2012161431A3 (en) Method for generating an image of the view around a vehicle
US8810801B2 (en) Three-dimensional measurement apparatus, method for controlling a three-dimensional measurement apparatus, and storage medium
US8730318B2 (en) Inspection apparatus and method for producing image for inspection
KR101602293B1 (en) Method and apparatus to estimate coastline using image processing
KR20160020172A (en) Method and Apparatus for detecting lane of road
CN112348775A (en) Vehicle-mounted all-round-looking-based pavement pool detection system and method
CA2793180A1 (en) Method and device for the detection of moving objects in a video image sequence
JP2019061303A (en) Periphery monitoring apparatus and periphery monitoring method for vehicle
CN104537627A (en) Depth image post-processing method
JP6473769B2 (en) Correction amount calculation device, correction device, and correction amount calculation method
KR101602288B1 (en) Method and apparatus to estimate run-up of wave using image processing
JP5633733B2 (en) Dark region noise correction device
CN103985089A (en) Image stripe correction method in which weight edge analysis and intra-frame iteration are combined
CN114727073B (en) Image projection method and device, readable storage medium and electronic equipment
KR101480171B1 (en) Apparatus for extracting coastline automatically using image pixel information and image pixel information change pattern by moving average and the method thereof
JP2019159708A5 (en)
US11592656B2 (en) Image processing apparatus, image processing program, and image processing method
KR101480172B1 (en) Apparatus for measuring size of cost area using image pictured by camera and the method thereof

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20191210

Year of fee payment: 5