WO2016006901A1 - Method and apparatus for extracting depth information from image - Google Patents

Method and apparatus for extracting depth information from image Download PDF

Info

Publication number
WO2016006901A1
WO2016006901A1 PCT/KR2015/006977 KR2015006977W WO2016006901A1 WO 2016006901 A1 WO2016006901 A1 WO 2016006901A1 KR 2015006977 W KR2015006977 W KR 2015006977W WO 2016006901 A1 WO2016006901 A1 WO 2016006901A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
patch data
psf
image
dimensional
Prior art date
Application number
PCT/KR2015/006977
Other languages
French (fr)
Korean (ko)
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 재단법인 다차원 스마트 아이티 융합시스템 연구단
Publication of WO2016006901A1 publication Critical patent/WO2016006901A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N13/00Stereoscopic video systems; Multi-view video systems; Details thereof
    • H04N13/10Processing, recording or transmission of stereoscopic or multi-view image signals
    • H04N13/106Processing image signals
    • H04N13/128Adjusting depth or disparity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N13/00Stereoscopic video systems; Multi-view video systems; Details thereof
    • H04N13/20Image signal generators

Definitions

  • the present invention relates to an apparatus and method for extracting depth information from an image, and more particularly, to a technique for extracting depth information from an image by applying a one-dimensional point spread function (PSF).
  • PSF point spread function
  • the apparatus for extracting depth information may correspond to a plurality of preset areas corresponding to a predetermined pixel position of the first image 110.
  • the plurality of filters 120 is a filter applying the 2D PSF
  • a result value of applying the 2D PSF to the first patch data may mean a brightness value of the pixel.
  • the apparatus for extracting the existing depth information extracts first patch data corresponding to the MxM region based on a specific pixel position (x, y) of the first image 110 and then extracts the first extracted data.
  • a plurality of blur patches 130 including MxM pixels may be generated.
  • the first patch data is data corresponding to each of the plurality of pixels corresponding to the MxM area around the specific pixel position (x, y), and the plurality of pixels are (x + i, y + i),- M / 2 ⁇ i, j ⁇ M / 2.
  • the plurality of blur patches 130 since the plurality of blur patches 130 are generated by the N plurality of filters 120 corresponding to the N depths, the plurality of blur patches 130 may be configured of N MxM pixels.
  • the apparatus for extracting the existing depth information includes a second data including data of each of a plurality of pixels corresponding to a predetermined area centered on a specific pixel position of the second image 140 corresponding to the first patch data.
  • the apparatus for extracting the existing depth information extracts the second patch data corresponding to the MxM area around the specific pixel position (x, y) of the second image 140 so as to correspond to the first patch data.
  • the depth at a specific pixel position may be determined.
  • Embodiments of the present invention provide a method, apparatus, and system that reduce complexity of computation and reduce computation time by using a one-dimensional PSF in the process of generating a plurality of blur patches.
  • embodiments of the present invention by applying the one-dimensional PSF in any one of the order of the one-dimensional horizontal PSF from the one-dimensional vertical PSF or the order of the one-dimensional vertical PSF from the one-dimensional horizontal PSF, Provided are a method, an apparatus, and a system for substituting data of a plurality of pixels corresponding to a predetermined area around a specific pixel position of a single image with brightness values.
  • the method of extracting depth information from an image extracts first patch data including data of each of a plurality of pixels corresponding to a predetermined area around a specific pixel position of a first image. step; Receiving the first patch data in a raster scan order; The first patch input to the raster scan order using a plurality of filters applying a one-dimensional horizontal point spread function (PSF) and a one-dimensional vertical PSF to generate a plurality of blurred patches Processing the data; Extracting second patch data including data of each of a plurality of pixels corresponding to the preset area around the specific pixel position of the second image, which is different from the first image, corresponding to the first patch data Doing; Comparing the similarity between each of the second patch data and the plurality of blur patches; And determining a depth at the specific pixel position based on the comparison result.
  • PSF horizontal point spread function
  • the receiving of the first patch data in the raster scan order may include receiving data of each of the plurality of pixels included in the first patch data in the order from the horizontal direction to the vertical direction.
  • the processing of the first patch data may include applying the one-dimensional horizontal PSF to data of each of a plurality of pixels included in the first patch data input in the horizontal direction, for each of the plurality of filters. step; Storing data of each of the plurality of pixels included in the first patch data to which the one-dimensional horizontal PSF is applied to a line memory included in each of the plurality of filters; And for each of the plurality of filters, applying the one-dimensional vertical PSF to data of each of the plurality of pixels included in the first patch data to which the one-dimensional horizontal PSF applied to the line memory is applied. It may include.
  • the receiving of the first patch data in the raster scan order may include receiving data of each of the plurality of pixels included in the first patch data in the order from the vertical direction to the horizontal direction.
  • the processing of the first patch data may include applying the one-dimensional vertical PSF to data of each of a plurality of pixels included in the first patch data input in the vertical direction, for each of the plurality of filters. step; Storing data of each of a plurality of pixels included in the first patch data to which the one-dimensional vertical PSF is applied to a line memory included in each of the plurality of filters; And for each of the plurality of filters, applying the one-dimensional horizontal PSF to data of each of the plurality of pixels included in the first patch data to which the one-dimensional vertical PSF applied to the line memory is applied. It may include.
  • Comparing the similarity between the second patch data and each of the plurality of blur patches may include a Sum of Absolute Difference (SAD) technique, a Sum of Squared Difference (SSD) technique, a Mean of Absolute Difference (MAD) technique, or a SASE (SASE) technique. And comparing the similarity between each of the second patch data and each of the plurality of blur patches using at least one of a Sum of Squared Error technique.
  • SAD Sum of Absolute Difference
  • SSD Sum of Squared Difference
  • MAD Mean of Absolute Difference
  • SASE SASE
  • Comparing the similarity between each of the second patch data and the plurality of blur patches includes obtaining a difference value between each of the second patch data and each of the plurality of blur patches. Based on the above method, determining a depth at the specific pixel position may include selecting a smallest difference value among difference values between the second patch data and each of the plurality of blur patches; And determining the smallest difference value as a depth at the specific pixel position.
  • An apparatus for extracting depth information from an image extracts first patch data including data of each of a plurality of pixels corresponding to a predetermined area around a specific pixel position of a first image.
  • a first patch data extracting unit An input unit configured to receive the first patch data in a raster scan order; The first patch input to the raster scan order using a plurality of filters applying a one-dimensional horizontal point spread function (PSF) and a one-dimensional vertical PSF to generate a plurality of blurred patches
  • a processing unit for processing data Extracting second patch data including data of each of a plurality of pixels corresponding to the preset area around the specific pixel position of the second image, which is different from the first image, corresponding to the first patch data
  • a second patch data extracting unit A comparison unit comparing the similarity between each of the second patch data and the plurality of blur patches; And a determination unit that determines a depth at the specific pixel position based on the comparison result.
  • the input unit may receive data of each of the plurality of pixels included in the first patch data in the order from the horizontal direction to the vertical direction.
  • the processing unit applies the one-dimensional horizontal PSF to each of the plurality of pixels included in the first patch data input in the horizontal direction, for each of the plurality of filters, and the one-dimensional horizontal PSF. Is stored in a line memory included in each of the plurality of filters, and the data of each of the plurality of pixels included in the first patch data to which the first patch data is applied is stored in each of the plurality of filters.
  • the one-dimensional vertical PSF may be applied to data of a plurality of pixels included in the first patch data to which the stored one-dimensional horizontal PSF is applied.
  • the input unit may receive data of each of the plurality of pixels included in the first patch data in the order from the vertical direction to the horizontal direction.
  • the processing unit applies the one-dimensional vertical direction PSF to each of the plurality of pixels included in the first patch data input in the vertical direction, for each of the plurality of filters, and applies the one-dimensional vertical direction to the data.
  • the data stored in each of the plurality of pixels included in the first patch data to which the PSF is applied is stored in a line memory included in each of the plurality of filters, and for each of the plurality of filters, the 1 stored in the line memory.
  • the one-dimensional horizontal PSF may be applied to data of a plurality of pixels included in the first patch data to which the dimensional vertical PSF is applied.
  • the comparison unit uses the second patch data using at least one of a sum of absolute difference (SAD) technique, a sum of squared difference (SSD) technique, a mean of absolute difference (MAD) technique, or a sum of squared error (SASE) technique. And similarity between each of the plurality of blur patches.
  • SAD sum of absolute difference
  • SSD sum of squared difference
  • MAD mean of absolute difference
  • SASE sum of squared error
  • Embodiments of the present invention can provide a method, apparatus and system for reducing the complexity of computation and reducing the computation time by using a one-dimensional PSF in the process of generating a plurality of blur patches.
  • embodiments of the present invention by applying the one-dimensional PSF in any one of the order of the one-dimensional horizontal PSF from the one-dimensional vertical PSF or the order of the one-dimensional vertical PSF from the one-dimensional horizontal PSF, It is possible to provide a method, an apparatus, and a system for replacing data of a plurality of pixels corresponding to a predetermined area centering on a specific pixel position of a single image with brightness values.
  • 1 is a conceptual diagram illustrating a method of extracting depth information from an existing image.
  • FIG. 2 is a conceptual diagram illustrating a method of extracting depth information from an image according to an embodiment of the present invention.
  • FIG. 3 is a diagram illustrating a first patch data input process and a one-dimensional PSF application process according to an embodiment of the present invention.
  • FIG. 4 is a diagram illustrating a first patch data input process and a 1D PSF application process according to another embodiment of the present invention.
  • FIG. 5 is a diagram illustrating a one-dimensional horizontal PSF and a one-dimensional vertical PSF according to an embodiment of the present invention.
  • FIG. 6 is a flowchart illustrating a method of extracting depth information from an image according to an embodiment of the present invention.
  • FIG. 7 is a block diagram illustrating an apparatus for extracting depth information from an image according to an embodiment of the present invention.
  • FIG. 2 is a conceptual diagram illustrating a method of extracting depth information from an image according to an embodiment of the present invention.
  • an apparatus for extracting depth information from an image uses a one-dimensional PSF based on a first image 210 and a second image 220 distinguished from the first image.
  • the first image 210 may be an image clearly captured at all depths using a small aperture
  • the second image 220 may be a small aperture used in the process of acquiring the first image 210.
  • the image may be sharper as the distance from the depth is in focus.
  • the one-dimensional PSF is a one-dimensional function indicating how the data of the pixel, which can be represented by the brightness value, has a spatial distribution, and may mean a one-dimensional vertical PSF and a one-dimensional horizontal PSF.
  • the apparatus for extracting depth information from an image extracts first patch data including data of each of a plurality of pixels corresponding to a predetermined area around a specific pixel position of the first image 210 and then extracts the first patch data.
  • Received first patch data in a raster scan order.
  • the raster scan order refers to a method in which data of each of the plurality of pixels included in the first patch data is sequentially input from left to right and from top to bottom.
  • the apparatus for extracting depth information from the image uses a plurality of filters 240 that apply a one-dimensional horizontal PSF and a one-dimensional vertical PSF to generate a plurality of blur patches 230.
  • the first patch data input to the master scan order is processed.
  • the apparatus for extracting depth information from the image receives data of each of the plurality of pixels included in the first patch data in the order from the horizontal direction to the vertical direction, for each of the plurality of filters 240, One-dimensional horizontal PSF may be applied to data of each of the plurality of pixels included in the first patch data input in the horizontal direction, and may be stored in the line memory 250 included in each of the plurality of filters 240.
  • the apparatus for extracting depth information from the image reads data of each of the plurality of pixels included in the first patch data to which the one-dimensional horizontal PSF applied to the one-dimensional horizontal PSF stored in the line memory 250 is applied in the vertical direction, thereby the one-dimensional vertical PSF. Can be applied.
  • an apparatus for extracting depth information from an image may include data of each of a plurality of pixels included in first patch data corresponding to an MxM region, based on a specific pixel position (x, y) of the first image 210.
  • the line is applied by applying a one-dimensional horizontal PSF to each of k-1 rows of data of each of the plurality of pixels included in the first patch data input in the horizontal direction. May be stored in the memory 250.
  • the apparatus for extracting the depth information from the image applies the one-dimensional horizontal PSF to the last row of the data of each of the plurality of pixels included in the first patch data currently input in the horizontal direction, and the line memory 250
  • the one-dimensional vertical PSF may be applied by combining with k-1 rows of data of each of the plurality of pixels included in the first patch data to which the one-dimensional horizontal PSF to be stored is applied.
  • the apparatus for extracting depth information from the image may receive data of each of the plurality of pixels included in the first patch data in the order from the vertical direction to the horizontal direction, For example, one-dimensional vertical PSF may be applied to data of each of the plurality of pixels included in the first patch data input in the vertical direction, and stored in the line memory 250 included in each of the plurality of filters 240. .
  • the apparatus for extracting depth information from the image reads horizontally the data of each of the plurality of pixels included in the first patch data to which the one-dimensional vertical PSF to which the one-dimensional vertical PSF is stored in the line memory 250 is applied. You can also apply
  • an apparatus for extracting depth information from an image may include data of each of a plurality of pixels included in first patch data corresponding to an MxM region, based on a specific pixel position (x, y) of the first image 210.
  • the line is applied by applying a one-dimensional vertical PSF to each of the k-1 columns of data of each of the plurality of pixels included in the first patch data input in the vertical direction. May be stored in the memory 250.
  • the apparatus for extracting depth information from the image applies the one-dimensional vertical PSF to the last column of each of the plurality of pixels included in the first patch data currently input in the vertical direction, and applies the line memory 250 to the line memory 250.
  • the one-dimensional horizontal PSF may be applied by combining the data of k-1 columns of the plurality of pixels included in the first patch data to which the stored one-dimensional vertical PSF is applied.
  • the one-dimensional PSF application process is performed in each of the plurality of filters 240, a plurality of blur patches 230 corresponding to the number of the plurality of filters 240 may be generated.
  • the plurality of filters 240 are filters applying one-dimensional vertical PSF and one-dimensional horizontal PSF, and a result value of applying the one-dimensional PSF to the first patch data may mean a brightness value of the pixel. Detailed description thereof will be described with reference to FIGS. 3 and 4.
  • the apparatus for extracting depth information from the image includes a plurality of regions corresponding to a predetermined area of a specific pixel position of the second image 220, which is distinguished from the first image 210, corresponding to the first patch data.
  • the apparatus for extracting the depth information from the image may use various techniques in the process of comparing the similarity between the second patch data and each of the plurality of blur patches 230.
  • an apparatus for extracting depth information from an image may include at least one of a Sum of Absolute Difference (SAD) technique, a Sum of Squared Difference (SSD) technique, a Mean of Absolute Difference (MAD) technique, or a Sum of Squared Error (SASE) technique.
  • SAD Sum of Absolute Difference
  • SSD Sum of Squared Difference
  • MAD Mean of Absolute Difference
  • SASE Sum of Squared Error
  • the apparatus for extracting depth information from an image obtains a difference value between each of the second patch data and the plurality of blur patches 230, and the second patch data and the plurality of blur patches 230. By selecting the smallest difference value among the difference values between each, the smallest difference value can be determined as the depth at a specific pixel position.
  • the apparatus for extracting depth information from an image may generate one-dimensional PSFs (one-dimensional horizontal PSF and one-dimensional vertical PSF) in the process of generating a plurality of blur patches 230.
  • one-dimensional PSFs one-dimensional horizontal PSF and one-dimensional vertical PSF
  • FIG 3 is a diagram illustrating a first patch data input process and a one-dimensional PSF application process according to an embodiment of the present invention.
  • the first patch data input process and the 1D PSF application process according to an embodiment of the present invention receive data of each of the plurality of pixels included in the first patch data in the order from the horizontal direction to the vertical direction, 1 After applying the dimensional horizontal PSF, a description will be given of the case of applying the one-dimensional vertical PSF.
  • an apparatus for extracting depth information from an image inputs data of each of a plurality of pixels included in the first patch data 310 in a horizontal direction to a vertical direction. I can receive it.
  • an apparatus for extracting depth information from an image may configure a plurality of rows using data of each of a plurality of pixels included in the first patch data 310, and when input of data constituting one row is completed, You can receive input from the data that makes up the next row.
  • the apparatus for extracting depth information from an image receives data included in the first row 320 in the order of left to right, and when input of data included in the first row 320 is completed, The data included in the second row 330 may be input in the order of left to right.
  • the data of each of the pixels included in the first patch data 310 input as described above may be stored in the line memory included in each of the plurality of filters by applying a one-dimensional horizontal PSF to each of the plurality of filters.
  • the data of each of the pixels included in the first patch data 310 configured by configuring the plurality of rows may be stored in the line memory by applying one-dimensional horizontal PSF to each row.
  • an apparatus for extracting depth information from an image may be applied to data included in the first row 320 and stored in the line memory by applying the one-dimensional horizontal PSF to the second row 330.
  • One-dimensional horizontal PSF is applied to the data to be stored in the line memory.
  • the apparatus for extracting depth information from the image may apply the one-dimensional vertical PSF to the data of each of the plurality of pixels included in the first patch data 310 to which the one-dimensional horizontal PSF to which the one-dimensional horizontal PSF is stored is applied.
  • the one-dimensional horizontal PSF may be applied to each of the plurality of rows, and thus, the one-dimensional vertical PSF may be applied to the data of each of the pixels included in the first patch data 310 stored in the line memory.
  • the apparatus for extracting depth information from an image may include data included in the first row 320 to which the one-dimensional horizontal PSF is applied and second row 330 to which the one-dimensional horizontal PSF is applied.
  • One-dimensional vertical PSF may be applied to the data to generate a blur patch including brightness values corresponding to data of each of the pixels included in the first patch data 310.
  • the apparatus for extracting depth information from an image applies the one-dimensional PSF in the order of the one-dimensional vertical PSF to the one-dimensional vertical PSF, thereby focusing on the specific pixel position of the first image.
  • Data of each of the plurality of pixels corresponding to the preset area may be replaced with a brightness value without omission.
  • the one-dimensional PSF application process is performed in each of the plurality of filters, a plurality of blur patches corresponding to the number of the plurality of filters may be generated.
  • FIG. 4 is a diagram illustrating a first patch data input process and a 1D PSF application process according to another embodiment of the present invention.
  • the first patch data input process and the 1D PSF application process according to another embodiment of the present invention receive data of each of the plurality of pixels included in the first patch data in the order from the vertical direction to the horizontal direction, A case in which one-dimensional vertical PSF is applied and then one-dimensional horizontal PSF is applied will be described.
  • an apparatus for extracting depth information from an image may include data of each of a plurality of pixels included in the first patch data 410 in a vertical direction from a horizontal direction. You can receive input.
  • the apparatus for extracting depth information from an image may configure a plurality of columns of data of each of the plurality of pixels included in the first patch data 410, and when input of data constituting one column is completed, In this case, you can receive input of the data that makes up the next column.
  • the apparatus for extracting depth information from an image receives data included in the first column 420 in the order of the top to the bottom, and receives data included in the second column 430 from the top to the bottom. In this order, the data included in the third column 440 may be input in the order of the top to the bottom.
  • Data of each of the pixels included in the first patch data 410 input as described above may be stored in the line memory included in each of the plurality of filters by applying a one-dimensional vertical PSF to each of the plurality of filters.
  • data of each of the plurality of pixels included in the first patch data 410 input by configuring a plurality of columns may be stored in the line memory by applying one-dimensional vertical PSF to each column.
  • the apparatus for extracting depth information from an image may be applied to the data included in the first column 420 and stored in the line memory by applying a one-dimensional vertical PSF to the data included in the second column 430. After applying the one-dimensional vertical PSF to the data and storing it in the line memory, the one-dimensional vertical PSF may be applied to the data included in the third column 440 and stored in the line memory.
  • the apparatus for extracting the depth information from the image may apply the one-dimensional horizontal PSF to the data of each of the plurality of pixels included in the first patch data 410 to which the one-dimensional vertical PSF applied in the line memory is applied.
  • the one-dimensional vertical PSF may be applied to each of the plurality of columns so that the one-dimensional horizontal PSF may be applied to the data of each of the pixels included in the first patch data 410 stored in the line memory.
  • the apparatus for extracting depth information from an image includes data included in the first column 420 to which the one-dimensional vertical PSF is applied and data included in the second column 430 to which the one-dimensional vertical PSF is applied.
  • a blur patch consisting of brightness values can be generated.
  • the apparatus for extracting depth information from an image applies the one-dimensional PSF in the order of the one-dimensional vertical PSF to the one-dimensional horizontal PSF, thereby centering the specific pixel position of the first image.
  • data of each of the pixels corresponding to the preset area may be replaced with a brightness value without omission.
  • the one-dimensional PSF application process is performed in each of the plurality of filters, a plurality of blur patches corresponding to the number of the plurality of filters may be generated.
  • FIG. 5 is a diagram illustrating a one-dimensional horizontal PSF and a one-dimensional vertical PSF according to an embodiment of the present invention.
  • the one-dimensional horizontal PSF 510 and the one-dimensional vertical PSF 520 may determine the brightness weight of the horizontal component and the brightness weight of the vertical component from the separable two-dimensional PSF. By separating each, it can be obtained.
  • the one-dimensional horizontal PSF 510 and the one-dimensional vertical PSF 520 separate the brightness weights of the horizontal component and the brightness weights of the vertical component from the Gaussian filter 530 which is the two-dimensional PSF, respectively. Can be obtained.
  • the one-dimensional horizontal PSF 510 and the one-dimensional vertical PSF 520 according to an embodiment of the present invention are not limited thereto, but are not limited thereto. It can be obtained by separating the brightness weights and the brightness weights of the vertical components, respectively.
  • FIG. 6 is a flowchart illustrating a method of extracting depth information from an image according to an embodiment of the present invention.
  • an apparatus for extracting depth information from an image may include a first data including data of each of a plurality of pixels corresponding to a predetermined area around a specific pixel position of a first image.
  • One patch data is extracted (610).
  • the apparatus for extracting depth information from the image receives the first patch data in a raster scan order.
  • the apparatus for extracting the depth information from the image may receive the data of each of the plurality of pixels included in the first patch data in the order from the horizontal direction to the vertical direction.
  • the apparatus for extracting depth information from the image may receive data of each of the plurality of pixels included in the first patch data in the order from the vertical direction to the horizontal direction.
  • the apparatus for extracting depth information from an image uses a plurality of filters to apply a one-dimensional horizontal point spread function (PSF) and a one-dimensional vertical PSF to generate a plurality of blurred patches.
  • PSF horizontal point spread function
  • the first patch data input to the raster scan order is processed (630).
  • the apparatus for extracting depth information from the image may be horizontally applied to each of the plurality of filters.
  • One-dimensional horizontal PSF is applied to data of each of the plurality of pixels included in the first patch data input, and data of each of the plurality of pixels included in the first patch data to which the one-dimensional horizontal PSF is applied is plural.
  • the apparatus for extracting depth information from the image is input in the vertical direction with respect to each of the plurality of filters.
  • One-dimensional vertical PSF is applied to data of each of the plurality of pixels included in the first patch data
  • data of each of the plurality of pixels included in the first patch data to which the one-dimensional vertical PSF is applied is a plurality of filters.
  • the one-dimensional horizontal PSF in the data of each of the plurality of pixels included in the first patch data to which the one-dimensional vertical PSF stored in the line memory is applied.
  • the apparatus for extracting depth information from the image may extract data of each of a plurality of pixels corresponding to a predetermined area around a specific pixel position of a second image, which is different from the first image, corresponding to the first patch data.
  • the second patch data including the extracted second patch data is included.
  • the apparatus for extracting depth information from the image compares the similarity between each of the second patch data and the plurality of blur patches (650).
  • the apparatus for extracting the depth information from the image is at least any one of a Sum of Absolute Difference (SAD) technique, a Sum of Squared Difference (SSD) technique, a Mean of Absolute Difference (MAD) technique, or a Sum of Squared Error (SASE) technique.
  • SAD Sum of Absolute Difference
  • SSD Sum of Squared Difference
  • MAD Mean of Absolute Difference
  • SASE Sum of Squared Error
  • the apparatus for extracting depth information from the image determines 660 the depth at a particular pixel location based on the comparison result.
  • an apparatus for extracting depth information from an image obtains a difference value between each of the second patch data and the plurality of blur patches, and obtains a smallest value of the difference value between each of the second patch data and the plurality of blur patches.
  • the difference value By selecting the difference value, the smallest difference value selected can be determined as the depth at a specific pixel position.
  • FIG. 7 is a block diagram illustrating an apparatus for extracting depth information from an image according to an embodiment of the present invention.
  • an apparatus for extracting depth information from an image may include a first patch data extractor 710, an input unit 720, a processor 730, and a second patch data extractor ( 740, a comparator 750, and a determiner 760.
  • the first patch data extractor 710 extracts first patch data including data of each of a plurality of pixels corresponding to a predetermined area centering on a specific pixel position of the first image.
  • the input unit 720 receives the first patch data in a raster scan order.
  • the input unit 720 receives data of each of the plurality of pixels included in the first patch data in the order from the horizontal direction to the vertical direction.
  • the input unit 720 may receive data of each of the plurality of pixels included in the first patch data in the order from the vertical direction to the horizontal direction.
  • the processor 730 is input to the raster scan order using a plurality of filters applying one-dimensional horizontal point spread function (PSF) and one-dimensional vertical PSF to generate a plurality of blurred patches. Process the first patch data.
  • PSF horizontal point spread function
  • the processor 730 may receive the horizontal direction with respect to each of the plurality of filters.
  • One-dimensional horizontal PSF is applied to data of each of the plurality of pixels included in the first patch data input to the first patch data, and data of each of the plurality of pixels included in the first patch data to which the one-dimensional horizontal PSF is applied is plural.
  • Data of each of the plurality of pixels stored in a line memory included in each of the filters of the plurality of filters and included in the first patch data to which the one-dimensional horizontal PSF stored in the line memory is applied to each of the plurality of filters.
  • the processing unit 730 may be configured in the vertical direction with respect to each of the plurality of filters.
  • a one-dimensional vertical PSF is applied to data of each of the plurality of pixels included in the input first patch data, and the data of each of the plurality of pixels included in the first patch data to which the one-dimensional vertical PSF is applied is plural.
  • One-dimensional horizontal direction is stored in the line memory included in each of the filters, and for each of the plurality of filters, data of each of the plurality of pixels included in the first patch data to which the one-dimensional vertical direction PSF stored in the line memory is applied.
  • the second patch data extractor 740 includes data of each of a plurality of pixels corresponding to a predetermined area centered on a specific pixel position of a second image, which is different from the first image, corresponding to the first patch data. Extract the second patch data.
  • the comparison unit 750 compares the similarity between each of the second patch data and the plurality of blur patches.
  • the comparator 750 uses at least one of a Sum of Absolute Difference (SAD) technique, a Sum of Squared Difference (SSD) technique, a Mean of Absolute Difference (MAD) technique, or a Sum of Squared Error (SASE) technique.
  • SAD Sum of Absolute Difference
  • SSD Sum of Squared Difference
  • MAD Mean of Absolute Difference
  • SASE Sum of Squared Error
  • the determination unit 760 determines the depth at the specific pixel position based on the result.
  • the comparison unit 750 obtains a difference value between each of the second patch data and the plurality of blur patches, and the determination unit 760 determines a difference value between each of the second patch data and the plurality of blur patches. By selecting the smallest difference value among these, the smallest difference value selected can be determined as the depth at a specific pixel position.
  • the apparatus described above may be implemented as a hardware component, a software component, and / or a combination of hardware components and software components.
  • the devices and components described in the embodiments may be, for example, processors, controllers, arithmetic logic units (ALUs), digital signal processors, microcomputers, field programmable arrays (FPAs), It may be implemented using one or more general purpose or special purpose computers, such as a programmable logic unit (PLU), microprocessor, or any other device capable of executing and responding to instructions.
  • the processing device may execute an operating system (OS) and one or more software applications running on the operating system.
  • the processing device may also access, store, manipulate, process, and generate data in response to the execution of the software.
  • OS operating system
  • the processing device may also access, store, manipulate, process, and generate data in response to the execution of the software.
  • processing device includes a plurality of processing elements and / or a plurality of types of processing elements. It can be seen that it may include.
  • the processing device may include a plurality of processors or one processor and one controller.
  • other processing configurations are possible, such as parallel processors.
  • the software may include a computer program, code, instructions, or a combination of one or more of the above, and configure the processing device to operate as desired, or process it independently or collectively. You can command the device.
  • Software and / or data may be any type of machine, component, physical device, virtual equipment, computer storage medium or device in order to be interpreted by or to provide instructions or data to the processing device. Or may be permanently or temporarily embodied in a signal wave to be transmitted.
  • the software may be distributed over networked computer systems so that they may be stored or executed in a distributed manner.
  • Software and data may be stored on one or more computer readable recording media.
  • the method according to the embodiment may be embodied in the form of program instructions that can be executed by various computer means and recorded in a computer readable medium.
  • the computer readable medium may include program instructions, data files, data structures, etc. alone or in combination.
  • the program instructions recorded on the media may be those specially designed and constructed for the purposes of the embodiments, or they may be of the kind well-known and available to those having skill in the computer software arts.
  • Examples of computer-readable recording media include magnetic media such as hard disks, floppy disks, and magnetic tape, optical media such as CD-ROMs, DVDs, and magnetic disks, such as floppy disks.
  • Examples of program instructions include not only machine code generated by a compiler, but also high-level language code that can be executed by a computer using an interpreter or the like.
  • the hardware device described above may be configured to operate as one or more software modules to perform the operations of the embodiments, and vice versa.

Abstract

A method for extracting depth information from an image comprises the steps of: extracting a first patch data including data of each of a plurality of pixels corresponding to a predetermined region on the basis of a certain pixel position of a first image; receiving an input of the first patch data in a raster scan order; processing the first patch data that are input in the raster scan order using one-dimensional horizontal point spread function (PSF) and a plurality of filters, to which the one-dimensional horizontal PSF is applied, in order to generate a plurality of blurred patches; extracting second patch data which corresponds to the first patch data and includes data of each of a plurality of pixels corresponding to the predetermined region on the basis of a certain pixel position of a second image which is distinctive from the first image; comparing similarities between the second patch data and each of the plurality of blurred patches; and determining the depth of the certain pixel position on the basis of the comparison result.

Description

이미지로부터 깊이 정보를 추출하는 방법 및 장치Method and apparatus for extracting depth information from an image
본 발명은 이미지로부터 깊이 정보를 추출하는 장치 및 그 방법에 관한 것으로, 보다 구체적으로 1차원 PSF(Point Spread Function)를 적용하여 이미지로부터 깊이 정보를 추출하는 기술에 관한 것이다.The present invention relates to an apparatus and method for extracting depth information from an image, and more particularly, to a technique for extracting depth information from an image by applying a one-dimensional point spread function (PSF).
기존의 이미지로부터 깊이 정보를 추출하는 기술은 제1 이미지 및 제1 이미지와 구별되는 제2 이미지를 기초로 2차원 PSF를 이용하여 특정 화소 위치에서의 깊이를 결정한다. 예를 들어, 기존의 이미지로부터 깊이 정보를 추출하는 방법을 나타낸 도 1을 살펴보면, 기존의 깊이 정보를 추출하는 장치는 제1 이미지(110)의 특정 화소 위치를 중심으로 미리 설정된 영역에 해당하는 복수의 화소들 각각의 데이터를 포함하는 제1 패치 데이터를 추출한 후, 추출된 제1 패치 데이터에 복수의 필터들(120)을 이용하여 2차원 PSF를 적용함으로써, 복수의 블러 패치(blurred patch)들(130)을 생성한다. 여기서, 복수의 필터들(120)은 2차원 PSF를 적용하는 필터로서, 제1 패치 데이터에 2차원 PSF가 적용된 결과값은 화소의 밝기값을 의미할 수 있다.Techniques for extracting depth information from an existing image determine the depth at a particular pixel location using a two-dimensional PSF based on the first image and a second image that is distinct from the first image. For example, referring to FIG. 1, which illustrates a method of extracting depth information from an existing image, the apparatus for extracting depth information may correspond to a plurality of preset areas corresponding to a predetermined pixel position of the first image 110. After extracting the first patch data including the data of each of the pixels of the plurality of pixels, by applying a two-dimensional PSF using a plurality of filters 120 to the extracted first patch data, a plurality of blurred patches (blurred patches) Generate 130. Here, the plurality of filters 120 is a filter applying the 2D PSF, and a result value of applying the 2D PSF to the first patch data may mean a brightness value of the pixel.
더 구체적인 예를 들면, 기존의 깊이 정보를 추출하는 장치는 제1 이미지(110)의 특정 화소 위치 (x, y)를 중심으로 MxM 영역에 해당하는 제1 패치 데이터를 추출한 후, 추출된 제1 패치 데이터에 2차원 PSF를 적용함으로써, MxM 화소로 구성된 복수의 블러 패치들(130)을 생성할 수 있다. 이 때, 제1 패치 데이터는 특정 화소 위치 (x, y)를 중심으로 MxM 영역에 해당하는 복수의 화소들 각각에 대응하는 데이터로서, 복수의 화소들은 (x+i, y+i), -M/2≤i, j≤M/2로 정의될 수 있다. 또한, 복수의 블러 패치들(130)은 N개의 깊이에 대응하는 N개의 복수의 필터들(120)에 의해 생성되기 때문에, N개의 MxM 화소로 구성될 수 있다. For example, the apparatus for extracting the existing depth information extracts first patch data corresponding to the MxM region based on a specific pixel position (x, y) of the first image 110 and then extracts the first extracted data. By applying the 2D PSF to the patch data, a plurality of blur patches 130 including MxM pixels may be generated. In this case, the first patch data is data corresponding to each of the plurality of pixels corresponding to the MxM area around the specific pixel position (x, y), and the plurality of pixels are (x + i, y + i),- M / 2 ≦ i, j ≦ M / 2. In addition, since the plurality of blur patches 130 are generated by the N plurality of filters 120 corresponding to the N depths, the plurality of blur patches 130 may be configured of N MxM pixels.
그 후, 기존의 깊이 정보를 추출하는 장치는 제1 패치 데이터와 대응하는 제2 이미지(140)의 특정 화소 위치를 중심으로 미리 설정된 영역에 해당하는 복수의 화소들 각각의 데이터를 포함하는 제2 패치 데이터를 추출하여, 제2 패치 데이터와 복수의 블러 패치들(130) 각각 사이의 유사도를 비교함으로써, 특정 화소 위치에서의 깊이를 결정한다. 예를 들어, 기존의 깊이 정보를 추출하는 장치는 제1 패치 데이터와 대응하도록, 제2 이미지(140)의 특정 화소 위치(x, y)를 중심으로 MxM 영역에 해당하는 제2 패치 데이터를 추출하여, 복수의 블러 패치들(130)과 유사도를 비교함으로써, 특정 화소 위치에서의 깊이를 결정할 수 있다.Thereafter, the apparatus for extracting the existing depth information includes a second data including data of each of a plurality of pixels corresponding to a predetermined area centered on a specific pixel position of the second image 140 corresponding to the first patch data. By extracting the patch data and comparing the similarity between the second patch data and each of the plurality of blur patches 130, the depth at a specific pixel position is determined. For example, the apparatus for extracting the existing depth information extracts the second patch data corresponding to the MxM area around the specific pixel position (x, y) of the second image 140 so as to correspond to the first patch data. Thus, by comparing the similarity with the plurality of blur patches 130, the depth at a specific pixel position may be determined.
그러나, 기존의 깊이 정보를 추출하는 기술은 제1 패치 데이터에 2차원 PSF를 적용하므로, 연산의 복잡도가 증가되기 때문에, 복수의 블러 패치들(130)을 생성하는 과정의 소요 시간이 긴 단점이 있다.However, since the conventional technique for extracting depth information applies a two-dimensional PSF to the first patch data, the complexity of the operation is increased, so that the time required for generating the plurality of blur patches 130 is long. have.
이에, 본 명세서에서는 1차원 PSF를 이용하여, 연산의 복잡도를 감소시킴으로써, 복수의 블러 패치들(130)을 생성하는 과정의 소요 시간을 단축시키는 기술을 제안한다.Accordingly, in the present specification, by using a one-dimensional PSF, by reducing the complexity of the operation, a technique for reducing the time required for the process of generating a plurality of blur patches 130.
본 발명의 실시예들은 복수의 블러 패치들을 생성하는 과정에서 1차원 PSF를 이용함으로써, 연산의 복잡도를 감소시키고, 연산 소요 시간을 단축시키는 방법, 장치 및 시스템을 제공한다.Embodiments of the present invention provide a method, apparatus, and system that reduce complexity of computation and reduce computation time by using a one-dimensional PSF in the process of generating a plurality of blur patches.
이 때, 본 발명의 실시예들은 1차원 수직방향 PSF로부터 1차원 수평방향 PSF의 순서 또는 1차원 수평방향 PSF로부터 1차원 수직방향 PSF의 순서 중 어느 하나의 순서로 1차원 PSF를 적용함으로써, 제1 이미지의 특정 화소 위치를 중심으로 미리 설정된 영역에 해당하는 복수의 화소들 각각의 데이터를 빠짐없이 밝기값으로 대치하는 방법, 장치 및 시스템을 제공한다.At this time, embodiments of the present invention by applying the one-dimensional PSF in any one of the order of the one-dimensional horizontal PSF from the one-dimensional vertical PSF or the order of the one-dimensional vertical PSF from the one-dimensional horizontal PSF, Provided are a method, an apparatus, and a system for substituting data of a plurality of pixels corresponding to a predetermined area around a specific pixel position of a single image with brightness values.
본 발명의 일실시예에 따른 이미지로부터 깊이 정보를 추출하는 방법은 제1 이미지의 특정 화소 위치를 중심으로 미리 설정된 영역에 해당하는 복수의 화소들 각각의 데이터를 포함하는 제1 패치 데이터를 추출하는 단계; 상기 제1 패치 데이터를 라스터 스캔 오더(raster scan order)로 입력 받는 단계; 복수의 블러 패치(blurred patch)들을 생성하기 위해, 1차원 수평방향 PSF(Point Spread Function) 및 1차원 수직방향 PSF를 적용하는 복수의 필터들을 이용하여 상기 라스터 스캔 오더로 입력되는 상기 제1 패치 데이터를 처리하는 단계; 상기 제1 패치 데이터와 대응하는, 상기 제1 이미지와 구별되는 제2 이미지의 상기 특정 화소 위치를 중심으로 상기 미리 설정된 영역에 해당하는 복수의 화소들 각각의 데이터를 포함하는 제2 패치 데이터를 추출하는 단계; 상기 제2 패치 데이터 및 상기 복수의 블러 패치들 각각 사이의 유사도를 비교하는 단계; 및 상기 비교 결과에 기초하여, 상기 특정 화소 위치에서의 깊이를 결정하는 단계를 포함한다.The method of extracting depth information from an image according to an embodiment of the present invention extracts first patch data including data of each of a plurality of pixels corresponding to a predetermined area around a specific pixel position of a first image. step; Receiving the first patch data in a raster scan order; The first patch input to the raster scan order using a plurality of filters applying a one-dimensional horizontal point spread function (PSF) and a one-dimensional vertical PSF to generate a plurality of blurred patches Processing the data; Extracting second patch data including data of each of a plurality of pixels corresponding to the preset area around the specific pixel position of the second image, which is different from the first image, corresponding to the first patch data Doing; Comparing the similarity between each of the second patch data and the plurality of blur patches; And determining a depth at the specific pixel position based on the comparison result.
상기 제1 패치 데이터를 라스터 스캔 오더로 입력 받는 단계는 상기 제1 패치 데이터에 포함되는 복수의 화소들 각각의 데이터를 수평방향으로부터 수직방향의 순서로 입력 받는 단계를 포함할 수 있다.The receiving of the first patch data in the raster scan order may include receiving data of each of the plurality of pixels included in the first patch data in the order from the horizontal direction to the vertical direction.
상기 제1 패치 데이터를 처리하는 단계는 상기 복수의 필터들 각각에 대해, 상기 수평방향으로 입력되는 상기 제1 패치 데이터에 포함되는 복수의 화소들 각각의 데이터에 상기 1차원 수평방향 PSF를 적용하는 단계; 상기 1차원 수평방향 PSF가 적용된 상기 제1 패치 데이터에 포함되는 복수의 화소들 각각의 데이터를 상기 복수의 필터들 각각에 포함되는 라인 메모리(line memory)에 저장하는 단계; 및 상기 복수의 필터들 각각에 대해, 상기 라인 메모리에 저장된 상기 1차원 수평방향 PSF가 적용된 상기 제1 패치 데이터에 포함되는 복수의 화소들 각각의 데이터에 상기 1차원 수직방향 PSF를 적용하는 단계를 포함할 수 있다.The processing of the first patch data may include applying the one-dimensional horizontal PSF to data of each of a plurality of pixels included in the first patch data input in the horizontal direction, for each of the plurality of filters. step; Storing data of each of the plurality of pixels included in the first patch data to which the one-dimensional horizontal PSF is applied to a line memory included in each of the plurality of filters; And for each of the plurality of filters, applying the one-dimensional vertical PSF to data of each of the plurality of pixels included in the first patch data to which the one-dimensional horizontal PSF applied to the line memory is applied. It may include.
상기 제1 패치 데이터를 라스터 스캔 오더로 입력 받는 단계는 상기 제1 패치 데이터에 포함되는 복수의 화소들 각각의 데이터를 수직방향으로부터 수평방향의 순서로 입력 받는 단계를 포함할 수 있다.The receiving of the first patch data in the raster scan order may include receiving data of each of the plurality of pixels included in the first patch data in the order from the vertical direction to the horizontal direction.
상기 제1 패치 데이터를 처리하는 단계는 상기 복수의 필터들 각각에 대해, 상기 수직방향으로 입력되는 상기 제1 패치 데이터에 포함되는 복수의 화소들 각각의 데이터에 상기 1차원 수직방향 PSF를 적용하는 단계; 상기 1차원 수직방향 PSF가 적용된 상기 제1 패치 데이터에 포함되는 복수의 화소들 각각의 데이터를 상기 복수의 필터들 각각에 포함되는 라인 메모리에 저장하는 단계; 및 상기 복수의 필터들 각각에 대해, 상기 라인 메모리에 저장된 상기 1차원 수직방향 PSF가 적용된 상기 제1 패치 데이터에 포함되는 복수의 화소들 각각의 데이터에 상기 1차원 수평방향 PSF를 적용하는 단계를 포함할 수 있다.The processing of the first patch data may include applying the one-dimensional vertical PSF to data of each of a plurality of pixels included in the first patch data input in the vertical direction, for each of the plurality of filters. step; Storing data of each of a plurality of pixels included in the first patch data to which the one-dimensional vertical PSF is applied to a line memory included in each of the plurality of filters; And for each of the plurality of filters, applying the one-dimensional horizontal PSF to data of each of the plurality of pixels included in the first patch data to which the one-dimensional vertical PSF applied to the line memory is applied. It may include.
상기 제2 패치 데이터 및 상기 복수의 블러 패치들 각각 사이의 유사도를 비교하는 단계는 SAD(Sum of Absolute Difference) 기법, SSD(Sum of Squared Difference) 기법, MAD(Mean of Absolute Difference) 기법 또는 SASE(Sum of Squared Error) 기법 중 적어도 어느 하나를 이용하여 상기 제2 패치 데이터 및 상기 복수의 블러 패치들 각각 사이의 유사도를 비교하는 단계일 수 있다.Comparing the similarity between the second patch data and each of the plurality of blur patches may include a Sum of Absolute Difference (SAD) technique, a Sum of Squared Difference (SSD) technique, a Mean of Absolute Difference (MAD) technique, or a SASE (SASE) technique. And comparing the similarity between each of the second patch data and each of the plurality of blur patches using at least one of a Sum of Squared Error technique.
상기 제2 패치 데이터 및 상기 복수의 블러 패치들 각각 사이의 유사도를 비교하는 단계는 상기 제2 패치 데이터 및 상기 복수의 블러 패치들 각각 사이의 차이값을 획득하는 단계를 포함하고, 상기 비교 결과에 기초하여, 상기 특정 화소 위치에서의 깊이를 결정하는 단계는 상기 제2 패치 데이터 및 상기 복수의 블러 패치들 각각 사이의 차이값 중 가장 작은 차이값을 선택하는 단계; 및 상기 가장 작은 차이값을 상기 특정 화소 위치에서의 깊이로 결정하는 단계를 포함할 수 있다.Comparing the similarity between each of the second patch data and the plurality of blur patches includes obtaining a difference value between each of the second patch data and each of the plurality of blur patches. Based on the above method, determining a depth at the specific pixel position may include selecting a smallest difference value among difference values between the second patch data and each of the plurality of blur patches; And determining the smallest difference value as a depth at the specific pixel position.
본 발명의 일실시예에 따른 이미지로부터 깊이 정보를 추출하는 장치는 제1 이미지의 특정 화소 위치를 중심으로 미리 설정된 영역에 해당하는 복수의 화소들 각각의 데이터를 포함하는 제1 패치 데이터를 추출하는 제1 패치 데이터 추출부; 상기 제1 패치 데이터를 라스터 스캔 오더(raster scan order)로 입력 받는 입력부; 복수의 블러 패치(blurred patch)들을 생성하기 위해, 1차원 수평방향 PSF(Point Spread Function) 및 1차원 수직방향 PSF를 적용하는 복수의 필터들을 이용하여 상기 라스터 스캔 오더로 입력되는 상기 제1 패치 데이터를 처리하는 처리부; 상기 제1 패치 데이터와 대응하는, 상기 제1 이미지와 구별되는 제2 이미지의 상기 특정 화소 위치를 중심으로 상기 미리 설정된 영역에 해당하는 복수의 화소들 각각의 데이터를 포함하는 제2 패치 데이터를 추출하는 제2 패치 데이터 추출부; 상기 제2 패치 데이터 및 상기 복수의 블러 패치들 각각 사이의 유사도를 비교하는 비교부; 및 상기 비교 결과에 기초하여, 상기 특정 화소 위치에서의 깊이를 결정하는 결정부를 포함한다.An apparatus for extracting depth information from an image according to an embodiment of the present invention extracts first patch data including data of each of a plurality of pixels corresponding to a predetermined area around a specific pixel position of a first image. A first patch data extracting unit; An input unit configured to receive the first patch data in a raster scan order; The first patch input to the raster scan order using a plurality of filters applying a one-dimensional horizontal point spread function (PSF) and a one-dimensional vertical PSF to generate a plurality of blurred patches A processing unit for processing data; Extracting second patch data including data of each of a plurality of pixels corresponding to the preset area around the specific pixel position of the second image, which is different from the first image, corresponding to the first patch data A second patch data extracting unit; A comparison unit comparing the similarity between each of the second patch data and the plurality of blur patches; And a determination unit that determines a depth at the specific pixel position based on the comparison result.
상기 입력부는 상기 제1 패치 데이터에 포함되는 복수의 화소들 각각의 데이터를 수평방향으로부터 수직방향의 순서로 입력 받을 수 있다.The input unit may receive data of each of the plurality of pixels included in the first patch data in the order from the horizontal direction to the vertical direction.
상기 처리부는 상기 복수의 필터들 각각에 대해, 상기 수평방향으로 입력되는 상기 제1 패치 데이터에 포함되는 복수의 화소들 각각의 데이터에 상기 1차원 수평방향 PSF를 적용하고, 상기 1차원 수평방향 PSF가 적용된 상기 제1 패치 데이터에 포함되는 복수의 화소들 각각의 데이터를 상기 복수의 필터들 각각에 포함되는 라인 메모리(line memory)에 저장하며, 상기 복수의 필터들 각각에 대해, 상기 라인 메모리에 저장된 상기 1차원 수평방향 PSF가 적용된 상기 제1 패치 데이터에 포함되는 복수의 화소들 각각의 데이터에 상기 1차원 수직방향 PSF를 적용할 수 있다.The processing unit applies the one-dimensional horizontal PSF to each of the plurality of pixels included in the first patch data input in the horizontal direction, for each of the plurality of filters, and the one-dimensional horizontal PSF. Is stored in a line memory included in each of the plurality of filters, and the data of each of the plurality of pixels included in the first patch data to which the first patch data is applied is stored in each of the plurality of filters. The one-dimensional vertical PSF may be applied to data of a plurality of pixels included in the first patch data to which the stored one-dimensional horizontal PSF is applied.
상기 입력부는 상기 제1 패치 데이터에 포함되는 복수의 화소들 각각의 데이터를 수직방향으로부터 수평방향의 순서로 입력 받을 수 있다.The input unit may receive data of each of the plurality of pixels included in the first patch data in the order from the vertical direction to the horizontal direction.
*상기 처리부는 상기 복수의 필터들 각각에 대해, 상기 수직방향으로 입력되는 상기 제1 패치 데이터에 포함되는 복수의 화소들 각각의 데이터에 상기 1차원 수직방향 PSF를 적용하고, 상기 1차원 수직방향 PSF가 적용된 상기 제1 패치 데이터에 포함되는 복수의 화소들 각각의 데이터를 상기 복수의 필터들 각각에 포함되는 라인 메모리에 저장하며, 상기 복수의 필터들 각각에 대해, 상기 라인 메모리에 저장된 상기 1차원 수직방향 PSF가 적용된 상기 제1 패치 데이터에 포함되는 복수의 화소들 각각의 데이터에 상기 1차원 수평방향 PSF를 적용할 수 있다.The processing unit applies the one-dimensional vertical direction PSF to each of the plurality of pixels included in the first patch data input in the vertical direction, for each of the plurality of filters, and applies the one-dimensional vertical direction to the data. The data stored in each of the plurality of pixels included in the first patch data to which the PSF is applied is stored in a line memory included in each of the plurality of filters, and for each of the plurality of filters, the 1 stored in the line memory. The one-dimensional horizontal PSF may be applied to data of a plurality of pixels included in the first patch data to which the dimensional vertical PSF is applied.
상기 비교부는 SAD(Sum of Absolute Difference) 기법, SSD(Sum of Squared Difference) 기법, MAD(Mean of Absolute Difference) 기법 또는 SASE(Sum of Squared Error) 기법 중 적어도 어느 하나를 이용하여 상기 제2 패치 데이터 및 상기 복수의 블러 패치들 각각 사이의 유사도를 비교할 수 있다.The comparison unit uses the second patch data using at least one of a sum of absolute difference (SAD) technique, a sum of squared difference (SSD) technique, a mean of absolute difference (MAD) technique, or a sum of squared error (SASE) technique. And similarity between each of the plurality of blur patches.
본 발명의 실시예들은 복수의 블러 패치들을 생성하는 과정에서 1차원 PSF를 이용함으로써, 연산의 복잡도를 감소시키고, 연산 소요 시간을 단축시키는 방법, 장치 및 시스템을 제공할 수 있다.Embodiments of the present invention can provide a method, apparatus and system for reducing the complexity of computation and reducing the computation time by using a one-dimensional PSF in the process of generating a plurality of blur patches.
이 때, 본 발명의 실시예들은 1차원 수직방향 PSF로부터 1차원 수평방향 PSF의 순서 또는 1차원 수평방향 PSF로부터 1차원 수직방향 PSF의 순서 중 어느 하나의 순서로 1차원 PSF를 적용함으로써, 제1 이미지의 특정 화소 위치를 중심으로 미리 설정된 영역에 해당하는 복수의 화소들 각각의 데이터를 빠짐없이 밝기값으로 대치하는 방법, 장치 및 시스템을 제공할 수 있다.At this time, embodiments of the present invention by applying the one-dimensional PSF in any one of the order of the one-dimensional horizontal PSF from the one-dimensional vertical PSF or the order of the one-dimensional vertical PSF from the one-dimensional horizontal PSF, It is possible to provide a method, an apparatus, and a system for replacing data of a plurality of pixels corresponding to a predetermined area centering on a specific pixel position of a single image with brightness values.
도 1은 기존의 이미지로부터 깊이 정보를 추출하는 방법을 나타낸 개념도이다.1 is a conceptual diagram illustrating a method of extracting depth information from an existing image.
도 2는 본 발명의 일실시예에 따른 이미지로부터 깊이 정보를 추출하는 방법을 나타낸 개념도이다.2 is a conceptual diagram illustrating a method of extracting depth information from an image according to an embodiment of the present invention.
도 3은 본 발명의 일실시예에 따른 제1 패치 데이터 입력 과정 및 1차원 PSF 적용 과정을 나타낸 도면이다.3 is a diagram illustrating a first patch data input process and a one-dimensional PSF application process according to an embodiment of the present invention.
도 4는 본 발명의 다른 일실시예에 따른 제1 패치 데이터 입력 과정 및 1차원 PSF 적용 과정을 나타낸 도면이다.4 is a diagram illustrating a first patch data input process and a 1D PSF application process according to another embodiment of the present invention.
도 5는 본 발명의 일실시예에 따른 1차원 수평방향 PSF 및 1차원 수직방향 PSF를 나타낸 도면이다.5 is a diagram illustrating a one-dimensional horizontal PSF and a one-dimensional vertical PSF according to an embodiment of the present invention.
도 6은 본 발명의 일실시예에 따른 이미지로부터 깊이 정보를 추출하는 방법을 나타낸 플로우 차트이다.6 is a flowchart illustrating a method of extracting depth information from an image according to an embodiment of the present invention.
도 7은 본 발명의 일실시예에 따른 이미지로부터 깊이 정보를 추출하는 장치를 나타낸 블록도이다.7 is a block diagram illustrating an apparatus for extracting depth information from an image according to an embodiment of the present invention.
이하, 본 발명에 따른 실시예들을 첨부된 도면을 참조하여 상세하게 설명한다. 그러나 본 발명이 실시예들에 의해 제한되거나 한정되는 것은 아니다. 또한, 각 도면에 제시된 동일한 참조 부호는 동일한 부재를 나타낸다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. However, the present invention is not limited or limited by the embodiments. Also, like reference numerals in the drawings denote like elements.
도 2는 본 발명의 일실시예에 따른 이미지로부터 깊이 정보를 추출하는 방법을 나타낸 개념도이다.2 is a conceptual diagram illustrating a method of extracting depth information from an image according to an embodiment of the present invention.
도 2를 참조하면, 본 발명의 일실시예에 따른 이미지로부터 깊이 정보를 추출하는 장치는 제1 이미지(210) 및 제1 이미지와 구별되는 제2 이미지(220)를 기초로 1차원 PSF를 이용하여 특정 화소 위치에서의 깊이를 결정한다. 이 때, 제1 이미지(210)는 작은 조리개를 사용하여 모든 깊이에 대해서 선명하게 찍힌 영상일 수 있고, 제2 이미지(220)는 제1 이미지(210)를 획득하는 과정에서 이용되는 작은 조리개에 비해 상대적으로 큰 조리개를 사용하여, 초점이 맞는 깊이에서는 선명하게 찍히지만, 초점이 맞는 깊이로부터 멀어질수록 선명도가 떨어지는 영상일 수 있다. 또한, 1차원 PSF는 밝기값으로 대변될 수 있는 화소의 데이터가 공간 상에서 어떤 분포를 가지는 지를 나타내는 1차원 함수로서, 1차원 수직방향 PSF 및 1차원 수평방향 PSF를 의미할 수 있다.Referring to FIG. 2, an apparatus for extracting depth information from an image according to an embodiment of the present invention uses a one-dimensional PSF based on a first image 210 and a second image 220 distinguished from the first image. To determine the depth at a particular pixel location. In this case, the first image 210 may be an image clearly captured at all depths using a small aperture, and the second image 220 may be a small aperture used in the process of acquiring the first image 210. Compared to a depth at which the focus is achieved by using a relatively large aperture, the image may be sharper as the distance from the depth is in focus. In addition, the one-dimensional PSF is a one-dimensional function indicating how the data of the pixel, which can be represented by the brightness value, has a spatial distribution, and may mean a one-dimensional vertical PSF and a one-dimensional horizontal PSF.
구체적으로, 이미지로부터 깊이 정보를 추출하는 장치는 제1 이미지(210)의 특정 화소 위치를 중심으로 미리 설정된 영역에 해당하는 복수의 화소들 각각의 데이터를 포함하는 제1 패치 데이터를 추출한 후, 추출된 제1 패치 데이터를 라스터 스캔 오더(raster scan order)로 입력 받는다. 이 때, 라스터 스캔 오더는 제1 패치 데이터에 포함되는 복수의 화소들 각각의 데이터가 좌측에서 우측으로, 상단에서 하단으로 순차적으로 입력되는 방식을 의미한다.In detail, the apparatus for extracting depth information from an image extracts first patch data including data of each of a plurality of pixels corresponding to a predetermined area around a specific pixel position of the first image 210 and then extracts the first patch data. Received first patch data in a raster scan order. In this case, the raster scan order refers to a method in which data of each of the plurality of pixels included in the first patch data is sequentially input from left to right and from top to bottom.
그 다음, 이미지로부터 깊이 정보를 추출하는 장치는 복수의 블러 패치들(230)을 생성하기 위해, 1차원 수평방향 PSF 및 1차원 수직방향 PSF를 적용하는 복수의 필터들(240)을 이용하여 라스터 스캔 오더로 입력되는 제1 패치 데이터를 처리한다.The apparatus for extracting depth information from the image then uses a plurality of filters 240 that apply a one-dimensional horizontal PSF and a one-dimensional vertical PSF to generate a plurality of blur patches 230. The first patch data input to the master scan order is processed.
이 때, 이미지로부터 깊이 정보를 추출하는 장치는 제1 패치 데이터에 포함되는 복수의 화소들 각각의 데이터를 수평방향으로부터 수직방향의 순서로 입력 받기 때문에, 복수의 필터들(240) 각각에 대해, 수평방향으로 입력되는 제1 패치 데이터에 포함되는 복수의 화소들 각각의 데이터에 1차원 수평방향 PSF를 적용하여 복수의 필터들(240) 각각에 포함되는 라인 메모리(250)에 저장할 수 있다. 그 다음, 이미지로부터 깊이 정보를 추출하는 장치는 라인 메모리(250)에 저장된 1차원 수평방향 PSF가 적용된 제1 패치 데이터에 포함되는 복수의 화소들 각각의 데이터를 수직방향으로 읽어서 1차원 수직방향 PSF를 적용할 수 있다.In this case, since the apparatus for extracting depth information from the image receives data of each of the plurality of pixels included in the first patch data in the order from the horizontal direction to the vertical direction, for each of the plurality of filters 240, One-dimensional horizontal PSF may be applied to data of each of the plurality of pixels included in the first patch data input in the horizontal direction, and may be stored in the line memory 250 included in each of the plurality of filters 240. Next, the apparatus for extracting depth information from the image reads data of each of the plurality of pixels included in the first patch data to which the one-dimensional horizontal PSF applied to the one-dimensional horizontal PSF stored in the line memory 250 is applied in the vertical direction, thereby the one-dimensional vertical PSF. Can be applied.
예를 들어, 이미지로부터 깊이 정보를 추출하는 장치는 제1 이미지(210)의 특정 화소 위치 (x, y)를 중심으로 MxM 영역에 해당하는 제1 패치 데이터에 포함되는 복수의 화소들 각각의 데이터에 대해서 k개의 탭을 가지는 1차원 PSF를 적용할 경우, 수평방향으로 입력되는 제1 패치 데이터에 포함되는 복수의 화소들 각각의 데이터 k-1개의 행 각각에 1차원 수평방향 PSF를 적용하여 라인 메모리(250)에 저장할 수 있다. 그 다음, 이미지로부터 깊이 정보를 추출하는 장치는 현재 수평방향으로 입력되는 제1 패치 데이터에 포함되는 복수의 화소들 각각의 데이터의 마지막 행에 1차원 수평방향 PSF를 적용하고, 라인 메모리(250)에 저장된 1차원 수평방향 PSF가 적용된 제1 패치 데이터에 포함되는 복수의 화소들 각각의 데이터 k-1개의 행과 결합하여, 1차원 수직방향 PSF를 적용할 수 있다.For example, an apparatus for extracting depth information from an image may include data of each of a plurality of pixels included in first patch data corresponding to an MxM region, based on a specific pixel position (x, y) of the first image 210. In the case of applying a one-dimensional PSF having k tabs, the line is applied by applying a one-dimensional horizontal PSF to each of k-1 rows of data of each of the plurality of pixels included in the first patch data input in the horizontal direction. May be stored in the memory 250. Next, the apparatus for extracting the depth information from the image applies the one-dimensional horizontal PSF to the last row of the data of each of the plurality of pixels included in the first patch data currently input in the horizontal direction, and the line memory 250 The one-dimensional vertical PSF may be applied by combining with k-1 rows of data of each of the plurality of pixels included in the first patch data to which the one-dimensional horizontal PSF to be stored is applied.
반면에, 이미지로부터 깊이 정보를 추출하는 장치는 제1 패치 데이터에 포함되는 복수의 화소들 각각의 데이터를 수직방향으로부터 수평방향의 순서로 입력 받을 수도 있기 때문에, 복수의 필터들(240) 각각에 대해, 수직방향으로 입력되는 제1 패치 데이터에 포함되는 복수의 화소들 각각의 데이터에 1차원 수직방향 PSF를 적용하여 복수의 필터들(240) 각각에 포함되는 라인 메모리(250)에 저장할 수 있다. 그 다음, 이미지로부터 깊이 정보를 추출하는 장치는 라인 메모리(250)에 저장된 1차원 수직방향 PSF가 적용된 제1 패치 데이터에 포함되는 복수의 화소들 각각의 데이터를 수평방향으로 읽어서 1차원 수평방향 PSF를 적용할 수도 있다.On the other hand, since the apparatus for extracting depth information from the image may receive data of each of the plurality of pixels included in the first patch data in the order from the vertical direction to the horizontal direction, For example, one-dimensional vertical PSF may be applied to data of each of the plurality of pixels included in the first patch data input in the vertical direction, and stored in the line memory 250 included in each of the plurality of filters 240. . Next, the apparatus for extracting depth information from the image reads horizontally the data of each of the plurality of pixels included in the first patch data to which the one-dimensional vertical PSF to which the one-dimensional vertical PSF is stored in the line memory 250 is applied. You can also apply
예를 들어, 이미지로부터 깊이 정보를 추출하는 장치는 제1 이미지(210)의 특정 화소 위치 (x, y)를 중심으로 MxM 영역에 해당하는 제1 패치 데이터에 포함되는 복수의 화소들 각각의 데이터에 대해서 k개의 탭을 가지는 1차원 PSF를 적용할 경우, 수직방향으로 입력되는 제1 패치 데이터에 포함되는 복수의 화소들 각각의 데이터 k-1개의 열 각각에 1차원 수직방향 PSF를 적용하여 라인 메모리(250)에 저장할 수 있다. 그 다음, 이미지로부터 깊이 정보를 추출하는 장치는 현재 수직방향으로 입력되는 제1 패치 데이터에 포함되는 복수의 화소들 각각의 데이터의 마지막 열에 1차원 수직방향 PSF를 적용하고, 라인 메모리(250)에 저장된 1차원 수직방향 PSF가 적용된 제1 패치 데이터에 포함되는 복수의 화소들 각각의 데이터 k-1개의 열과 결합하여, 1차원 수평방향 PSF를 적용할 수 있다.For example, an apparatus for extracting depth information from an image may include data of each of a plurality of pixels included in first patch data corresponding to an MxM region, based on a specific pixel position (x, y) of the first image 210. In the case of applying a one-dimensional PSF having k tabs, the line is applied by applying a one-dimensional vertical PSF to each of the k-1 columns of data of each of the plurality of pixels included in the first patch data input in the vertical direction. May be stored in the memory 250. Next, the apparatus for extracting depth information from the image applies the one-dimensional vertical PSF to the last column of each of the plurality of pixels included in the first patch data currently input in the vertical direction, and applies the line memory 250 to the line memory 250. The one-dimensional horizontal PSF may be applied by combining the data of k-1 columns of the plurality of pixels included in the first patch data to which the stored one-dimensional vertical PSF is applied.
이 때, 1차원 PSF 적용 과정은 복수의 필터들(240) 각각에서 수행되기 때문에, 복수의 필터들(240)의 개수에 대응하는 복수의 블러 패치들(230)이 생성될 수 있다. 여기서, 복수의 필터들(240)은 1차원 수직방향 PSF 및 1차원 수평방향 PSF를 적용하는 필터로서, 제1 패치 데이터에 1차원 PSF가 적용된 결과값은 화소의 밝기값을 의미할 수 있다. 이에 대한 상세한 설명은 도 3 및 도 4를 참조하여 기재하기로 한다.In this case, since the one-dimensional PSF application process is performed in each of the plurality of filters 240, a plurality of blur patches 230 corresponding to the number of the plurality of filters 240 may be generated. Here, the plurality of filters 240 are filters applying one-dimensional vertical PSF and one-dimensional horizontal PSF, and a result value of applying the one-dimensional PSF to the first patch data may mean a brightness value of the pixel. Detailed description thereof will be described with reference to FIGS. 3 and 4.
그 후, 이미지로부터 깊이 정보를 추출하는 장치는 제1 패치 데이터와 대응하는, 제1 이미지(210)와 구별되는 제2 이미지(220)의 특정 화소 위치를 중심으로 미리 설정된 영역에 해당하는 복수의 화소들 각각의 데이터를 포함하는 제2 패치 데이터를 추출하여, 제2 패치 데이터와 복수의 블러 패치들(230) 각각 사이의 유사도를 비교함으로써, 특정 화소 위치에서의 깊이를 결정한다. 이 때, 이미지로부터 깊이 정보를 추출하는 장치는 제2 패치 데이터와 복수의 블러 패치들(230) 각각 사이의 유사도를 비교하는 과정에서 다양한 기법을 이용할 수 있다. 예를 들어, 이미지로부터 깊이 정보를 추출하는 장치는 SAD(Sum of Absolute Difference) 기법, SSD(Sum of Squared Difference) 기법, MAD(Mean of Absolute Difference) 기법 또는 SASE(Sum of Squared Error) 기법 중 적어도 어느 하나를 이용하여 제2 패치 데이터와 복수의 블러 패치들(230) 각각 사이의 유사도를 비교함으로써, 비교 결과에 기초하여 제 1이미지(210) 또는 제2 이미지(220)의 특정 화소 위치에서의 깊이를 결정할 수 있다. 더 구체적인 예를 들면, 이미지로부터 깊이 정보를 추출하는 장치는 제2 패치 데이터 및 복수의 블러 패치들(230) 각각 사이의 차이값을 획득하고, 제2 패치 데이터 및 복수의 블러 패치들(230) 각각 사이의 차이값 중 가장 작은 차이값을 선택함으로써, 가장 작은 차이값을 특정 화소 위치에서의 깊이로 결정할 수 있다.Thereafter, the apparatus for extracting depth information from the image includes a plurality of regions corresponding to a predetermined area of a specific pixel position of the second image 220, which is distinguished from the first image 210, corresponding to the first patch data. By extracting the second patch data including the data of each of the pixels, and comparing the similarity between the second patch data and each of the plurality of blur patches 230, the depth at a particular pixel position is determined. In this case, the apparatus for extracting the depth information from the image may use various techniques in the process of comparing the similarity between the second patch data and each of the plurality of blur patches 230. For example, an apparatus for extracting depth information from an image may include at least one of a Sum of Absolute Difference (SAD) technique, a Sum of Squared Difference (SSD) technique, a Mean of Absolute Difference (MAD) technique, or a Sum of Squared Error (SASE) technique. By comparing the similarity between each of the second patch data and each of the plurality of blur patches 230 by using any one, based on the comparison result, at a specific pixel position of the first image 210 or the second image 220. Depth can be determined. As a more specific example, the apparatus for extracting depth information from an image obtains a difference value between each of the second patch data and the plurality of blur patches 230, and the second patch data and the plurality of blur patches 230. By selecting the smallest difference value among the difference values between each, the smallest difference value can be determined as the depth at a specific pixel position.
이와 같이, 본 발명의 일실시예에 따른 이미지로부터 깊이 정보를 추출하는 장치는 복수의 블러 패치들(230)을 생성하는 과정에서, 1차원 PSF(1차원 수평방향 PSF 및 1차원 수직방향 PSF)를 이용함으로써, 연산의 복잡도를 감소시키고, 연산 소요 시간을 단축시킬 수 있다.As such, the apparatus for extracting depth information from an image according to an embodiment of the present invention may generate one-dimensional PSFs (one-dimensional horizontal PSF and one-dimensional vertical PSF) in the process of generating a plurality of blur patches 230. By using, it is possible to reduce the complexity of the calculation and to shorten the computation time.
도 3은 본 발명의 일실시예에 따른 제1 패치 데이터 입력 과정 및 1차원 PSF 적용 과정을 나타낸 도면이다. 이하, 본 발명의 일실시예에 따른 제1 패치 데이터 입력 과정 및 1차원 PSF 적용 과정을 제1 패치 데이터에 포함되는 복수의 화소들 각각의 데이터를 수평방향으로부터 수직방향의 순서로 입력 받고, 1차원 수평방향 PSF를 적용한 후, 1차원 수직방향 PSF를 적용하는 경우로 설명한다.3 is a diagram illustrating a first patch data input process and a one-dimensional PSF application process according to an embodiment of the present invention. Hereinafter, the first patch data input process and the 1D PSF application process according to an embodiment of the present invention receive data of each of the plurality of pixels included in the first patch data in the order from the horizontal direction to the vertical direction, 1 After applying the dimensional horizontal PSF, a description will be given of the case of applying the one-dimensional vertical PSF.
도 3을 참조하면, 본 발명의 일실시예에 따른 이미지로부터 깊이 정보를 추출하는 장치는 제1 패치 데이터(310)에 포함되는 복수의 화소들 각각의 데이터를 수평방향으로부터 수직방향의 순서로 입력 받을 수 있다. 예를 들어, 이미지로부터 깊이 정보를 추출하는 장치는 제1 패치 데이터(310)에 포함되는 복수의 화소들 각각의 데이터로 복수의 행들을 구성하여, 하나의 행을 구성하는 데이터들의 입력이 완료되면, 다음 행을 구성하는 데이터들의 입력을 받을 수 있다. 더 구체적인 예를 들면, 이미지로부터 깊이 정보를 추출하는 장치는 제1 행(320)에 포함되는 데이터들을 좌측에서 우측의 순서로 입력 받고, 제1 행(320)에 포함되는 데이터들의 입력이 완료되면, 제2 행(330)에 포함되는 데이터들을 좌측에서 우측의 순서로 입력 받을 수 있다.Referring to FIG. 3, an apparatus for extracting depth information from an image according to an embodiment of the present invention inputs data of each of a plurality of pixels included in the first patch data 310 in a horizontal direction to a vertical direction. I can receive it. For example, an apparatus for extracting depth information from an image may configure a plurality of rows using data of each of a plurality of pixels included in the first patch data 310, and when input of data constituting one row is completed, You can receive input from the data that makes up the next row. For example, the apparatus for extracting depth information from an image receives data included in the first row 320 in the order of left to right, and when input of data included in the first row 320 is completed, The data included in the second row 330 may be input in the order of left to right.
이와 같이 입력되는 제1 패치 데이터(310)에 포함되는 복수의 화소들 각각의 데이터는 복수의 필터들 각각에서, 1차원 수평방향 PSF가 적용되어 복수의 필터들 각각에 포함되는 라인 메모리에 저장될 수 있다. 예를 들어, 복수의 행들을 구성하여 입력되는 제1 패치 데이터(310)에 포함되는 복수의 화소들 각각의 데이터는 하나의 행 별로 1차원 수평방향 PSF가 적용되어 라인 메모리에 저장될 수 있다. 더 구체적인 예를 들면, 이미지로부터 깊이 정보를 추출하는 장치는 제1 행(320)에 포함되는 데이터들에 1차원 수평방향 PSF를 적용하여 라인 메모리에 저장한 후, 제2 행(330)에 포함되는 데이터들에 1차원 수평방향 PSF를 적용하여 라인 메모리에 저장할 수 있다.The data of each of the pixels included in the first patch data 310 input as described above may be stored in the line memory included in each of the plurality of filters by applying a one-dimensional horizontal PSF to each of the plurality of filters. Can be. For example, the data of each of the pixels included in the first patch data 310 configured by configuring the plurality of rows may be stored in the line memory by applying one-dimensional horizontal PSF to each row. More specifically, an apparatus for extracting depth information from an image may be applied to data included in the first row 320 and stored in the line memory by applying the one-dimensional horizontal PSF to the second row 330. One-dimensional horizontal PSF is applied to the data to be stored in the line memory.
그 후, 이미지로부터 깊이 정보를 추출하는 장치는 라인 메모리에 저장된 1차원 수평방향 PSF가 적용된 제1 패치 데이터(310)에 포함되는 복수의 화소들 각각의 데이터에 1차원 수직방향 PSF를 적용할 수 있다. 예를 들어, 복수의 행들 각각 별로 1차원 수평방향 PSF가 적용되어 라인 메모리에 저장된 제1 패치 데이터(310)에 포함되는 복수의 화소들 각각의 데이터에는 1차원 수직방향 PSF가 적용될 수 있다. 더 구체적인 예를 들면, 이미지로부터 깊이 정보를 추출하는 장치는 1차원 수평방향 PSF가 적용된 제1 행(320)에 포함되는 데이터들 및 1차원 수평방향 PSF가 적용된 제2 행(330)에 포함되는 데이터들에 1차원 수직방향 PSF를 적용하여 제1 패치 데이터(310)에 포함되는 복수의 화소들 각각의 데이터에 대응하는 밝기값으로 구성되는 블러 패치를 생성할 수 있다.Thereafter, the apparatus for extracting depth information from the image may apply the one-dimensional vertical PSF to the data of each of the plurality of pixels included in the first patch data 310 to which the one-dimensional horizontal PSF to which the one-dimensional horizontal PSF is stored is applied. have. For example, the one-dimensional horizontal PSF may be applied to each of the plurality of rows, and thus, the one-dimensional vertical PSF may be applied to the data of each of the pixels included in the first patch data 310 stored in the line memory. More specifically, the apparatus for extracting depth information from an image may include data included in the first row 320 to which the one-dimensional horizontal PSF is applied and second row 330 to which the one-dimensional horizontal PSF is applied. One-dimensional vertical PSF may be applied to the data to generate a blur patch including brightness values corresponding to data of each of the pixels included in the first patch data 310.
이와 같이 본 발명의 일실시예에 따른 이미지로부터 깊이 정보를 추출하는 장치는 1차원 수평방향 PSF로부터 1차원 수직방향 PSF의 순서로 1차원 PSF를 적용함으로써, 제1 이미지의 특정 화소 위치를 중심으로 미리 설정된 영역에 해당하는 복수의 화소들 각각의 데이터를 빠짐없이 밝기값으로 대치할 수 있다. 이 때, 1차원 PSF 적용 과정은 복수의 필터들 각각에서 수행되기 때문에, 복수의 필터들의 개수에 대응하는 복수의 블러 패치들이 생성될 수 있다.As described above, the apparatus for extracting depth information from an image according to an embodiment of the present invention applies the one-dimensional PSF in the order of the one-dimensional vertical PSF to the one-dimensional vertical PSF, thereby focusing on the specific pixel position of the first image. Data of each of the plurality of pixels corresponding to the preset area may be replaced with a brightness value without omission. In this case, since the one-dimensional PSF application process is performed in each of the plurality of filters, a plurality of blur patches corresponding to the number of the plurality of filters may be generated.
도 4는 본 발명의 다른 일실시예에 따른 제1 패치 데이터 입력 과정 및 1차원 PSF 적용 과정을 나타낸 도면이다. 이하, 본 발명의 다른 일실시예에 따른 제1 패치 데이터 입력 과정 및 1차원 PSF 적용 과정을 제1 패치 데이터에 포함되는 복수의 화소들 각각의 데이터를 수직방향으로부터 수평방향의 순서로 입력 받고, 1차원 수직방향 PSF를 적용한 후, 1차원 수평방향 PSF를 적용하는 경우로 설명한다.4 is a diagram illustrating a first patch data input process and a 1D PSF application process according to another embodiment of the present invention. Hereinafter, the first patch data input process and the 1D PSF application process according to another embodiment of the present invention receive data of each of the plurality of pixels included in the first patch data in the order from the vertical direction to the horizontal direction, A case in which one-dimensional vertical PSF is applied and then one-dimensional horizontal PSF is applied will be described.
도 4를 참조하면, 본 발명의 다른 일실시예에 따른 이미지로부터 깊이 정보를 추출하는 장치는 제1 패치 데이터(410)에 포함되는 복수의 화소들 각각의 데이터를 수직방향으로부터 수평방향의 순서로 입력 받을 수 있다. 예를 들어, 이미지로부터 깊이 정보를 추출하는 장치는 제1 패치 데이터(410)에 포함되는 복수의 화소들 각각의 데이터로 복수의 열들을 구성하여, 하나의 열을 구성하는 데이터들의 입력이 완료되면, 다음 열을 구성하는 데이터들의 입력을 받을 수 있다. 더 구체적인 예를 들면, 이미지로부터 깊이 정보를 추출하는 장치는 제1 열(420)에 포함되는 데이터들을 상단에서 하단의 순서로 입력 받고, 제2 열(430)에 포함되는 데이터들을 상단에서 하단의 순서로 입력 받으며, 제3 열(440)에 포함되는 데이터들을 상단에서 하단의 순서로 입력 받을 수 있다.Referring to FIG. 4, an apparatus for extracting depth information from an image according to another exemplary embodiment of the present invention may include data of each of a plurality of pixels included in the first patch data 410 in a vertical direction from a horizontal direction. You can receive input. For example, the apparatus for extracting depth information from an image may configure a plurality of columns of data of each of the plurality of pixels included in the first patch data 410, and when input of data constituting one column is completed, In this case, you can receive input of the data that makes up the next column. For example, the apparatus for extracting depth information from an image receives data included in the first column 420 in the order of the top to the bottom, and receives data included in the second column 430 from the top to the bottom. In this order, the data included in the third column 440 may be input in the order of the top to the bottom.
이와 같이 입력되는 제1 패치 데이터(410)에 포함되는 복수의 화소들 각각의 데이터는 복수의 필터들 각각에서, 1차원 수직방향 PSF가 적용되어 복수의 필터들 각각에 포함되는 라인 메모리에 저장될 수 있다. 예를 들어, 복수의 열들을 구성하여 입력되는 제1 패치 데이터(410)에 포함되는 복수의 화소들 각각의 데이터는 하나의 열 별로 1차원 수직방향 PSF가 적용되어 라인 메모리에 저장될 수 있다. 더 구체적인 예를 들면, 이미지로부터 깊이 정보를 추출하는 장치는 제1 열(420)에 포함되는 데이터들에 1차원 수직방향 PSF를 적용하여 라인 메모리에 저장하고, 제2 열(430)에 포함되는 데이터들에 1차원 수직방향 PSF를 적용하여 라인 메모리에 저장한 후, 제3 열(440)에 포함되는 데이터들에 1차원 수직방향 PSF를 적용하여 라인 메모리에 저장할 수 있다.Data of each of the pixels included in the first patch data 410 input as described above may be stored in the line memory included in each of the plurality of filters by applying a one-dimensional vertical PSF to each of the plurality of filters. Can be. For example, data of each of the plurality of pixels included in the first patch data 410 input by configuring a plurality of columns may be stored in the line memory by applying one-dimensional vertical PSF to each column. For example, the apparatus for extracting depth information from an image may be applied to the data included in the first column 420 and stored in the line memory by applying a one-dimensional vertical PSF to the data included in the second column 430. After applying the one-dimensional vertical PSF to the data and storing it in the line memory, the one-dimensional vertical PSF may be applied to the data included in the third column 440 and stored in the line memory.
그 후, 이미지로부터 깊이 정보를 추출하는 장치는 라인 메모리에 저장된 1차원 수직방향 PSF가 적용된 제1 패치 데이터(410)에 포함되는 복수의 화소들 각각의 데이터에 1차원 수평방향 PSF를 적용할 수 있다. 예를 들어, 복수의 열들 각각 별로 1차원 수직방향 PSF가 적용되어 라인 메모리에 저장된 제1 패치 데이터(410)에 포함되는 복수의 화소들 각각의 데이터에는 1차원 수평방향 PSF가 적용될 수 있다. 더 구체적인 예를 들면, 이미지로부터 깊이 정보를 추출하는 장치는 1차원 수직방향 PSF가 적용된 제1 열(420)에 포함되는 데이터들, 1차원 수직방향 PSF가 적용된 제2 열(430)에 포함되는 데이터들 및 1차원 수직방향 PSF가 적용된 제3 열(440)에 포함되는 데이터들에 1차원 수평방향 PSF를 적용하여 제1 패치 데이터(410)에 포함되는 복수의 화소들 각각의 데이터에 대응하는 밝기값으로 구성되는 블러 패치를 생성할 수 있다.Thereafter, the apparatus for extracting the depth information from the image may apply the one-dimensional horizontal PSF to the data of each of the plurality of pixels included in the first patch data 410 to which the one-dimensional vertical PSF applied in the line memory is applied. have. For example, the one-dimensional vertical PSF may be applied to each of the plurality of columns so that the one-dimensional horizontal PSF may be applied to the data of each of the pixels included in the first patch data 410 stored in the line memory. For example, the apparatus for extracting depth information from an image includes data included in the first column 420 to which the one-dimensional vertical PSF is applied and data included in the second column 430 to which the one-dimensional vertical PSF is applied. Data corresponding to the data of each of the plurality of pixels included in the first patch data 410 by applying the one-dimensional horizontal PSF to the data and the data included in the third column 440 to which the one-dimensional vertical PSF is applied. A blur patch consisting of brightness values can be generated.
이와 같이 본 발명의 다른 일실시예에 따른 이미지로부터 깊이 정보를 추출하는 장치는 1차원 수직방향 PSF로부터 1차원 수평방향 PSF의 순서로 1차원 PSF를 적용함으로써, 제1 이미지의 특정 화소 위치를 중심으로 미리 설정된 영역에 해당하는 복수의 화소들 각각의 데이터를 빠짐없이 밝기값으로 대치할 수 있다. 이 때, 1차원 PSF 적용 과정은 복수의 필터들 각각에서 수행되기 때문에, 복수의 필터들의 개수에 대응하는 복수의 블러 패치들이 생성될 수 있다.As described above, the apparatus for extracting depth information from an image according to another embodiment of the present invention applies the one-dimensional PSF in the order of the one-dimensional vertical PSF to the one-dimensional horizontal PSF, thereby centering the specific pixel position of the first image. As a result, data of each of the pixels corresponding to the preset area may be replaced with a brightness value without omission. In this case, since the one-dimensional PSF application process is performed in each of the plurality of filters, a plurality of blur patches corresponding to the number of the plurality of filters may be generated.
도 5는 본 발명의 일실시예에 따른 1차원 수평방향 PSF 및 1차원 수직방향 PSF를 나타낸 도면이다.5 is a diagram illustrating a one-dimensional horizontal PSF and a one-dimensional vertical PSF according to an embodiment of the present invention.
도 5를 참조하면, 본 발명의 일실시예에 따른 1차원 수평방향 PSF(510) 및 1차원 수직방향 PSF(520)은 분리 가능한 2차원 PSF로부터 수평성분의 밝기 가중치 및 수직성분의 밝기 가중치를 각각 분리함으로써, 획득될 수 있다.Referring to FIG. 5, the one-dimensional horizontal PSF 510 and the one-dimensional vertical PSF 520 according to an embodiment of the present invention may determine the brightness weight of the horizontal component and the brightness weight of the vertical component from the separable two-dimensional PSF. By separating each, it can be obtained.
예를 들어, 1차원 수평방향 PSF(510) 및 1차원 수직방향 PSF(520)은 2차원 PSF인 가우시안 필터(Gaussian filter)(530)로부터 수평성분의 밝기 가중치 및 수직성분의 밝기 가중치를 각각 분리함으로써, 획득될 수 있다. 그러나, 본 발명의 일실시예에 따른 1차원 수평방향 PSF(510) 및 1차원 수직방향 PSF(520)는 이에 제한되거나 한정되지 않고, 기존의 다양한 분리 가능한 2차원 PSF를 갖는 필터의 수평성분의 밝기 가중치 및 수직성분의 밝기 가중치를 각각 분리함으로써, 획득될 수 있다.For example, the one-dimensional horizontal PSF 510 and the one-dimensional vertical PSF 520 separate the brightness weights of the horizontal component and the brightness weights of the vertical component from the Gaussian filter 530 which is the two-dimensional PSF, respectively. Can be obtained. However, the one-dimensional horizontal PSF 510 and the one-dimensional vertical PSF 520 according to an embodiment of the present invention are not limited thereto, but are not limited thereto. It can be obtained by separating the brightness weights and the brightness weights of the vertical components, respectively.
도 6은 본 발명의 일실시예에 따른 이미지로부터 깊이 정보를 추출하는 방법을 나타낸 플로우 차트이다.6 is a flowchart illustrating a method of extracting depth information from an image according to an embodiment of the present invention.
도 6을 참조하면, 본 발명의 일실시예에 따른 이미지로부터 깊이 정보를 추출하는 장치는 제1 이미지의 특정 화소 위치를 중심으로 미리 설정된 영역에 해당하는 복수의 화소들 각각의 데이터를 포함하는 제1 패치 데이터를 추출한다(610).Referring to FIG. 6, an apparatus for extracting depth information from an image according to an embodiment of the present invention may include a first data including data of each of a plurality of pixels corresponding to a predetermined area around a specific pixel position of a first image. One patch data is extracted (610).
이어서, 이미지로부터 깊이 정보를 추출하는 장치는 제1 패치 데이터를 라스터 스캔 오더(raster scan order)로 입력 받는다(620). 이 때, 이미지로부터 깊이 정보를 추출하는 장치는 제1 패치 데이터에 포함되는 복수의 화소들 각각의 데이터를 수평방향으로부터 수직방향의 순서로 입력 받을 수 있다. 또한, 이미지로부터 깊이 정보를 추출하는 장치는 제1 패치 데이터에 포함되는 복수의 화소들 각각의 데이터를 수직방향으로부터 수평방향의 순서로 입력 받을 수 있다.In operation 620, the apparatus for extracting depth information from the image receives the first patch data in a raster scan order. At this time, the apparatus for extracting the depth information from the image may receive the data of each of the plurality of pixels included in the first patch data in the order from the horizontal direction to the vertical direction. In addition, the apparatus for extracting depth information from the image may receive data of each of the plurality of pixels included in the first patch data in the order from the vertical direction to the horizontal direction.
그 다음, 이미지로부터 깊이 정보를 추출하는 장치는 복수의 블러 패치(blurred patch)들을 생성하기 위해, 1차원 수평방향 PSF(Point Spread Function) 및 1차원 수직방향 PSF를 적용하는 복수의 필터들을 이용하여 라스터 스캔 오더로 입력되는 제1 패치 데이터를 처리한다(630).The apparatus for extracting depth information from an image then uses a plurality of filters to apply a one-dimensional horizontal point spread function (PSF) and a one-dimensional vertical PSF to generate a plurality of blurred patches. The first patch data input to the raster scan order is processed (630).
이 때, 제1 패치 데이터에 포함되는 복수의 화소들 각각의 데이터를 수평방향으로부터 수직방향의 순서로 입력 받은 경우, 이미지로부터 깊이 정보를 추출하는 장치는 복수의 필터들 각각에 대해, 수평방향으로 입력되는 제1 패치 데이터에 포함되는 복수의 화소들 각각의 데이터에 1차원 수평방향 PSF를 적용하고, 1차원 수평방향 PSF가 적용된 제1 패치 데이터에 포함되는 복수의 화소들 각각의 데이터를 복수의 필터들 각각에 포함되는 라인 메모리(line memory)에 저장하며, 복수의 필터들 각각에 대해, 라인 메모리에 저장된 1차원 수평방향 PSF가 적용된 제1 패치 데이터에 포함되는 복수의 화소들 각각의 데이터에 1차원 수직방향 PSF를 적용함으로써, 제1 패치 데이터를 처리할 수 있다.In this case, when data of each of the plurality of pixels included in the first patch data is input in the order from the horizontal direction to the vertical direction, the apparatus for extracting depth information from the image may be horizontally applied to each of the plurality of filters. One-dimensional horizontal PSF is applied to data of each of the plurality of pixels included in the first patch data input, and data of each of the plurality of pixels included in the first patch data to which the one-dimensional horizontal PSF is applied is plural. Stored in a line memory included in each of the filters, and for each of the plurality of filters, in each of the plurality of pixels included in the first patch data to which the one-dimensional horizontal PSF applied in the line memory is applied. By applying the one-dimensional vertical PSF, the first patch data can be processed.
또한, 제1 패치 데이터에 포함되는 복수의 화소들 각각의 데이터를 수직방향으로부터 수평방향의 순서로 입력 받은 경우, 이미지로부터 깊이 정보를 추출하는 장치는 복수의 필터들 각각에 대해, 수직방향으로 입력되는 제1 패치 데이터에 포함되는 복수의 화소들 각각의 데이터에 1차원 수직방향 PSF를 적용하고, 1차원 수직방향 PSF가 적용된 제1 패치 데이터에 포함되는 복수의 화소들 각각의 데이터를 복수의 필터들 각각에 포함되는 라인 메모리에 저장하며, 복수의 필터들 각각에 대해, 라인 메모리에 저장된 1차원 수직방향 PSF가 적용된 제1 패치 데이터에 포함되는 복수의 화소들 각각의 데이터에 1차원 수평방향 PSF를 적용함으로써, 제1 패치 데이터를 처리할 수 있다.In addition, when data of each of the plurality of pixels included in the first patch data is input in the order from the vertical direction to the horizontal direction, the apparatus for extracting depth information from the image is input in the vertical direction with respect to each of the plurality of filters. One-dimensional vertical PSF is applied to data of each of the plurality of pixels included in the first patch data, and data of each of the plurality of pixels included in the first patch data to which the one-dimensional vertical PSF is applied is a plurality of filters. Stored in the line memory included in each of the plurality of filters, and for each of the plurality of filters, the one-dimensional horizontal PSF in the data of each of the plurality of pixels included in the first patch data to which the one-dimensional vertical PSF stored in the line memory is applied. By applying, the first patch data can be processed.
그 다음, 이미지로부터 깊이 정보를 추출하는 장치는 제1 패치 데이터와 대응하는, 제1 이미지와 구별되는 제2 이미지의 특정 화소 위치를 중심으로 미리 설정된 영역에 해당하는 복수의 화소들 각각의 데이터를 포함하는 제2 패치 데이터를 추출한다(640).Next, the apparatus for extracting depth information from the image may extract data of each of a plurality of pixels corresponding to a predetermined area around a specific pixel position of a second image, which is different from the first image, corresponding to the first patch data. In operation 640, the second patch data including the extracted second patch data is included.
그 다음, 이미지로부터 깊이 정보를 추출하는 장치는 제2 패치 데이터 및 복수의 블러 패치들 각각 사이의 유사도를 비교한다(650). 이 때, 이미지로부터 깊이 정보를 추출하는 장치는 SAD(Sum of Absolute Difference) 기법, SSD(Sum of Squared Difference) 기법, MAD(Mean of Absolute Difference) 기법 또는 SASE(Sum of Squared Error) 기법 중 적어도 어느 하나를 이용하여 제2 패치 데이터 및 복수의 블러 패치들 각각 사이의 유사도를 비교할 수 있다.The apparatus for extracting depth information from the image then compares the similarity between each of the second patch data and the plurality of blur patches (650). In this case, the apparatus for extracting the depth information from the image is at least any one of a Sum of Absolute Difference (SAD) technique, a Sum of Squared Difference (SSD) technique, a Mean of Absolute Difference (MAD) technique, or a Sum of Squared Error (SASE) technique. One may be used to compare the similarity between each of the second patch data and the plurality of blur patches.
그 후, 이미지로부터 깊이 정보를 추출하는 장치는 비교 결과에 기초하여, 특정 화소 위치에서의 깊이를 결정한다(660).The apparatus for extracting depth information from the image then determines 660 the depth at a particular pixel location based on the comparison result.
예를 들어, 이미지로부터 깊이 정보를 추출하는 장치는 제2 패치 데이터 및 복수의 블러 패치들 각각 사이의 차이값을 획득하고, 제2 패치 데이터 및 복수의 블러 패치들 각각 사이의 차이값 중 가장 작은 차이값을 선택함으로써, 선택된 가장 작은 차이값을 특정 화소 위치에서의 깊이로 결정할 수 있다.For example, an apparatus for extracting depth information from an image obtains a difference value between each of the second patch data and the plurality of blur patches, and obtains a smallest value of the difference value between each of the second patch data and the plurality of blur patches. By selecting the difference value, the smallest difference value selected can be determined as the depth at a specific pixel position.
도 7은 본 발명의 일실시예에 따른 이미지로부터 깊이 정보를 추출하는 장치를 나타낸 블록도이다.7 is a block diagram illustrating an apparatus for extracting depth information from an image according to an embodiment of the present invention.
도 7을 참조하면, 본 발명의 일실시예에 따른 이미지로부터 깊이 정보를 추출하는 장치는 제1 패치 데이터 추출부(710), 입력부(720), 처리부(730), 제2 패치 데이터 추출부(740), 비교부(750) 및 결정부(760)를 포함한다.Referring to FIG. 7, an apparatus for extracting depth information from an image according to an exemplary embodiment may include a first patch data extractor 710, an input unit 720, a processor 730, and a second patch data extractor ( 740, a comparator 750, and a determiner 760.
제1 패치 데이터 추출부(710)는 제1 이미지의 특정 화소 위치를 중심으로 미리 설정된 영역에 해당하는 복수의 화소들 각각의 데이터를 포함하는 제1 패치 데이터를 추출한다.The first patch data extractor 710 extracts first patch data including data of each of a plurality of pixels corresponding to a predetermined area centering on a specific pixel position of the first image.
입력부(720)는 제1 패치 데이터를 라스터 스캔 오더(raster scan order)로 입력 받는다.The input unit 720 receives the first patch data in a raster scan order.
이 때, 입력부(720)는 제1 패치 데이터에 포함되는 복수의 화소들 각각의 데이터를 수평방향으로부터 수직방향의 순서로 입력 받는다. 또한, 입력부(720)는 제1 패치 데이터에 포함되는 복수의 화소들 각각의 데이터를 수직방향으로부터 수평방향의 순서로 입력 받을 수 있다.In this case, the input unit 720 receives data of each of the plurality of pixels included in the first patch data in the order from the horizontal direction to the vertical direction. In addition, the input unit 720 may receive data of each of the plurality of pixels included in the first patch data in the order from the vertical direction to the horizontal direction.
처리부(730)는 복수의 블러 패치(blurred patch)들을 생성하기 위해, 1차원 수평방향 PSF(Point Spread Function) 및 1차원 수직방향 PSF를 적용하는 복수의 필터들을 이용하여 라스터 스캔 오더로 입력되는 제1 패치 데이터를 처리한다.The processor 730 is input to the raster scan order using a plurality of filters applying one-dimensional horizontal point spread function (PSF) and one-dimensional vertical PSF to generate a plurality of blurred patches. Process the first patch data.
이 때, 처리부(730)는 입력부(720)에서 제1 패치 데이터에 포함되는 복수의 화소들 각각의 데이터를 수평방향으로부터 수직방향의 순서로 입력 받은 경우, 복수의 필터들 각각에 대해, 수평방향으로 입력되는 제1 패치 데이터에 포함되는 복수의 화소들 각각의 데이터에 1차원 수평방향 PSF를 적용하고, 1차원 수평방향 PSF가 적용된 제1 패치 데이터에 포함되는 복수의 화소들 각각의 데이터를 복수의 필터들 각각에 포함되는 라인 메모리(line memory)에 저장하며, 복수의 필터들 각각에 대해, 라인 메모리에 저장된 1차원 수평방향 PSF가 적용된 제1 패치 데이터에 포함되는 복수의 화소들 각각의 데이터에 1차원 수직방향 PSF를 적용함으로써, 제1 패치 데이터를 처리할 수 있다.In this case, when the input unit 720 receives data of each of the plurality of pixels included in the first patch data in the order from the horizontal direction to the vertical direction, the processor 730 may receive the horizontal direction with respect to each of the plurality of filters. One-dimensional horizontal PSF is applied to data of each of the plurality of pixels included in the first patch data input to the first patch data, and data of each of the plurality of pixels included in the first patch data to which the one-dimensional horizontal PSF is applied is plural. Data of each of the plurality of pixels stored in a line memory included in each of the filters of the plurality of filters and included in the first patch data to which the one-dimensional horizontal PSF stored in the line memory is applied to each of the plurality of filters. By applying the one-dimensional vertical PSF to the first patch data, the first patch data can be processed.
또한, 처리부(730)는 입력부(720)에서 제1 패치 데이터에 포함되는 복수의 화소들 각각의 데이터를 수직방향으로부터 수평방향의 순서로 입력 받은 경우, 복수의 필터들 각각에 대해, 수직방향으로 입력되는 제1 패치 데이터에 포함되는 복수의 화소들 각각의 데이터에 1차원 수직방향 PSF를 적용하고, 1차원 수직방향 PSF가 적용된 제1 패치 데이터에 포함되는 복수의 화소들 각각의 데이터를 복수의 필터들 각각에 포함되는 라인 메모리에 저장하며, 복수의 필터들 각각에 대해, 라인 메모리에 저장된 1차원 수직방향 PSF가 적용된 제1 패치 데이터에 포함되는 복수의 화소들 각각의 데이터에 1차원 수평방향 PSF를 적용함으로써, 제1 패치 데이터를 처리할 수 있다.In addition, when the processor 730 receives data of each of the plurality of pixels included in the first patch data from the input unit 720 in the order from the vertical direction to the horizontal direction, the processing unit 730 may be configured in the vertical direction with respect to each of the plurality of filters. A one-dimensional vertical PSF is applied to data of each of the plurality of pixels included in the input first patch data, and the data of each of the plurality of pixels included in the first patch data to which the one-dimensional vertical PSF is applied is plural. One-dimensional horizontal direction is stored in the line memory included in each of the filters, and for each of the plurality of filters, data of each of the plurality of pixels included in the first patch data to which the one-dimensional vertical direction PSF stored in the line memory is applied. By applying the PSF, the first patch data can be processed.
제2 패치 데이터 추출부(740)는 제1 패치 데이터와 대응하는, 제1 이미지와 구별되는 제2 이미지의 특정 화소 위치를 중심으로 미리 설정된 영역에 해당하는 복수의 화소들 각각의 데이터를 포함하는 제2 패치 데이터를 추출한다.The second patch data extractor 740 includes data of each of a plurality of pixels corresponding to a predetermined area centered on a specific pixel position of a second image, which is different from the first image, corresponding to the first patch data. Extract the second patch data.
비교부(750)는 제2 패치 데이터 및 복수의 블러 패치들 각각 사이의 유사도를 비교한다.The comparison unit 750 compares the similarity between each of the second patch data and the plurality of blur patches.
이 때, 비교부(750)는 SAD(Sum of Absolute Difference) 기법, SSD(Sum of Squared Difference) 기법, MAD(Mean of Absolute Difference) 기법 또는 SASE(Sum of Squared Error) 기법 중 적어도 어느 하나를 이용하여 제2 패치 데이터 및 복수의 블러 패치들 각각 사이의 유사도를 비교할 수 있다.In this case, the comparator 750 uses at least one of a Sum of Absolute Difference (SAD) technique, a Sum of Squared Difference (SSD) technique, a Mean of Absolute Difference (MAD) technique, or a Sum of Squared Error (SASE) technique. The similarity between each of the second patch data and the plurality of blur patches may be compared.
결정부(760)는 결과에 기초하여, 특정 화소 위치에서의 깊이를 결정한다.The determination unit 760 determines the depth at the specific pixel position based on the result.
예를 들어, 비교부(750)가 제2 패치 데이터 및 복수의 블러 패치들 각각 사이의 차이값을 획득하고, 결정부(760)에서 제2 패치 데이터 및 복수의 블러 패치들 각각 사이의 차이값 중 가장 작은 차이값을 선택함으로써, 선택된 가장 작은 차이값이 특정 화소 위치에서의 깊이로 결정될 수 있다.For example, the comparison unit 750 obtains a difference value between each of the second patch data and the plurality of blur patches, and the determination unit 760 determines a difference value between each of the second patch data and the plurality of blur patches. By selecting the smallest difference value among these, the smallest difference value selected can be determined as the depth at a specific pixel position.
이상에서 설명된 장치는 하드웨어 구성요소, 소프트웨어 구성요소, 및/또는 하드웨어 구성요소 및 소프트웨어 구성요소의 조합으로 구현될 수 있다. 예를 들어, 실시예들에서 설명된 장치 및 구성요소는, 예를 들어, 프로세서, 콘트롤러, ALU(arithmetic logic unit), 디지털 신호 프로세서(digital signal processor), 마이크로컴퓨터, FPA(field programmable array), PLU(programmable logic unit), 마이크로프로세서, 또는 명령(instruction)을 실행하고 응답할 수 있는 다른 어떠한 장치와 같이, 하나 이상의 범용 컴퓨터 또는 특수 목적 컴퓨터를 이용하여 구현될 수 있다. 처리 장치는 운영 체제(OS) 및 상기 운영 체제 상에서 수행되는 하나 이상의 소프트웨어 애플리케이션을 수행할 수 있다. 또한, 처리 장치는 소프트웨어의 실행에 응답하여, 데이터를 접근, 저장, 조작, 처리 및 생성할 수도 있다. 이해의 편의를 위하여, 처리 장치는 하나가 사용되는 것으로 설명된 경우도 있지만, 해당 기술분야에서 통상의 지식을 가진 자는, 처리 장치가 복수 개의 처리 요소(processing element) 및/또는 복수 유형의 처리 요소를 포함할 수 있음을 알 수 있다. 예를 들어, 처리 장치는 복수 개의 프로세서 또는 하나의 프로세서 및 하나의 콘트롤러를 포함할 수 있다. 또한, 병렬 프로세서(parallel processor)와 같은, 다른 처리 구성(processing configuration)도 가능하다.The apparatus described above may be implemented as a hardware component, a software component, and / or a combination of hardware components and software components. For example, the devices and components described in the embodiments may be, for example, processors, controllers, arithmetic logic units (ALUs), digital signal processors, microcomputers, field programmable arrays (FPAs), It may be implemented using one or more general purpose or special purpose computers, such as a programmable logic unit (PLU), microprocessor, or any other device capable of executing and responding to instructions. The processing device may execute an operating system (OS) and one or more software applications running on the operating system. The processing device may also access, store, manipulate, process, and generate data in response to the execution of the software. For convenience of explanation, one processing device may be described as being used, but one of ordinary skill in the art will appreciate that the processing device includes a plurality of processing elements and / or a plurality of types of processing elements. It can be seen that it may include. For example, the processing device may include a plurality of processors or one processor and one controller. In addition, other processing configurations are possible, such as parallel processors.
소프트웨어는 컴퓨터 프로그램(computer program), 코드(code), 명령(instruction), 또는 이들 중 하나 이상의 조합을 포함할 수 있으며, 원하는 대로 동작하도록 처리 장치를 구성하거나 독립적으로 또는 결합적으로(collectively) 처리 장치를 명령할 수 있다. 소프트웨어 및/또는 데이터는, 처리 장치에 의하여 해석되거나 처리 장치에 명령 또는 데이터를 제공하기 위하여, 어떤 유형의 기계, 구성요소(component), 물리적 장치, 가상 장치(virtual equipment), 컴퓨터 저장 매체 또는 장치, 또는 전송되는 신호 파(signal wave)에 영구적으로, 또는 일시적으로 구체화(embody)될 수 있다. 소프트웨어는 네트워크로 연결된 컴퓨터 시스템 상에 분산되어서, 분산된 방법으로 저장되거나 실행될 수도 있다. 소프트웨어 및 데이터는 하나 이상의 컴퓨터 판독 가능 기록 매체에 저장될 수 있다.The software may include a computer program, code, instructions, or a combination of one or more of the above, and configure the processing device to operate as desired, or process it independently or collectively. You can command the device. Software and / or data may be any type of machine, component, physical device, virtual equipment, computer storage medium or device in order to be interpreted by or to provide instructions or data to the processing device. Or may be permanently or temporarily embodied in a signal wave to be transmitted. The software may be distributed over networked computer systems so that they may be stored or executed in a distributed manner. Software and data may be stored on one or more computer readable recording media.
실시예에 따른 방법은 다양한 컴퓨터 수단을 통하여 수행될 수 있는 프로그램 명령 형태로 구현되어 컴퓨터 판독 가능 매체에 기록될 수 있다. 상기 컴퓨터 판독 가능 매체는 프로그램 명령, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 상기 매체에 기록되는 프로그램 명령은 실시예를 위하여 특별히 설계되고 구성된 것들이거나 컴퓨터 소프트웨어 당업자에게 공지되어 사용 가능한 것일 수도 있다. 컴퓨터 판독 가능 기록 매체의 예에는 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체(magnetic media), CD-ROM, DVD와 같은 광기록 매체(optical media), 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체(magneto-optical media), 및 롬(ROM), 램(RAM), 플래시 메모리 등과 같은 프로그램 명령을 저장하고 수행하도록 특별히 구성된 하드웨어 장치가 포함된다. 프로그램 명령의 예에는 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드를 포함한다. 상기된 하드웨어 장치는 실시예의 동작을 수행하기 위해 하나 이상의 소프트웨어 모듈로서 작동하도록 구성될 수 있으며, 그 역도 마찬가지이다.The method according to the embodiment may be embodied in the form of program instructions that can be executed by various computer means and recorded in a computer readable medium. The computer readable medium may include program instructions, data files, data structures, etc. alone or in combination. The program instructions recorded on the media may be those specially designed and constructed for the purposes of the embodiments, or they may be of the kind well-known and available to those having skill in the computer software arts. Examples of computer-readable recording media include magnetic media such as hard disks, floppy disks, and magnetic tape, optical media such as CD-ROMs, DVDs, and magnetic disks, 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. Examples of program instructions include not only machine code generated by a compiler, but also high-level language code that can be executed by a computer using an interpreter or the like. The hardware device described above may be configured to operate as one or more software modules to perform the operations of the embodiments, and vice versa.
이상과 같이 실시예들이 비록 한정된 실시예와 도면에 의해 설명되었으나, 해당 기술분야에서 통상의 지식을 가진 자라면 상기의 기재로부터 다양한 수정 및 변형이 가능하다. 예를 들어, 설명된 기술들이 설명된 방법과 다른 순서로 수행되거나, 및/또는 설명된 시스템, 구조, 장치, 회로 등의 구성요소들이 설명된 방법과 다른 형태로 결합 또는 조합되거나, 다른 구성요소 또는 균등물에 의하여 대치되거나 치환되더라도 적절한 결과가 달성될 수 있다.Although the embodiments have been described by the limited embodiments and the drawings as described above, various modifications and variations are possible to those skilled in the art from the above description. For example, the described techniques may be performed in a different order than the described method, and / or components of the described systems, structures, devices, circuits, etc. may be combined or combined in a different form than the described method, or other components. Or even if replaced or substituted by equivalents, an appropriate result can be achieved.
그러므로, 다른 구현들, 다른 실시예들 및 특허청구범위와 균등한 것들도 후술하는 특허청구범위의 범위에 속한다.Therefore, other implementations, other embodiments, and equivalents to the claims are within the scope of the claims that follow.

Claims (14)

  1. 제1 이미지의 특정 화소 위치를 중심으로 미리 설정된 영역에 해당하는 복수의 화소들 각각의 데이터를 포함하는 제1 패치 데이터를 추출하는 단계; Extracting first patch data including data of each of a plurality of pixels corresponding to a predetermined area centering on a specific pixel position of the first image;
    상기 제1 패치 데이터를 라스터 스캔 오더(raster scan order)로 입력 받는 단계;Receiving the first patch data in a raster scan order;
    복수의 블러 패치(blurred patch)들을 생성하기 위해, 1차원 수평방향 PSF(Point Spread Function) 및 1차원 수직방향 PSF를 적용하는 복수의 필터들을 이용하여 상기 라스터 스캔 오더로 입력되는 상기 제1 패치 데이터를 처리하는 단계; The first patch input to the raster scan order using a plurality of filters applying a one-dimensional horizontal point spread function (PSF) and a one-dimensional vertical PSF to generate a plurality of blurred patches Processing the data;
    상기 제1 패치 데이터와 대응하는, 상기 제1 이미지와 구별되는 제2 이미지의 상기 특정 화소 위치를 중심으로 상기 미리 설정된 영역에 해당하는 복수의 화소들 각각의 데이터를 포함하는 제2 패치 데이터를 추출하는 단계; Extracting second patch data including data of each of a plurality of pixels corresponding to the preset area around the specific pixel position of the second image, which is different from the first image, corresponding to the first patch data Doing;
    상기 제2 패치 데이터 및 상기 복수의 블러 패치들 각각 사이의 유사도를 비교하는 단계; 및 Comparing the similarity between each of the second patch data and the plurality of blur patches; And
    상기 비교 결과에 기초하여, 상기 특정 화소 위치에서의 깊이를 결정하는 단계Determining a depth at the specific pixel position based on the comparison result
    를 포함하는 이미지로부터 깊이 정보를 추출하는 방법.Extracting depth information from an image comprising a.
  2. 제1항에 있어서,The method of claim 1,
    상기 제1 패치 데이터를 라스터 스캔 오더로 입력 받는 단계는 Receiving the first patch data in the raster scan order
    상기 제1 패치 데이터에 포함되는 복수의 화소들 각각의 데이터를 수평방향으로부터 수직방향의 순서로 입력 받는 단계Receiving data of each of the plurality of pixels included in the first patch data in an order from a horizontal direction to a vertical direction
    를 포함하는 이미지로부터 깊이 정보를 추출하는 방법.Extracting depth information from an image comprising a.
  3. 제2항에 있어서,The method of claim 2,
    상기 제1 패치 데이터를 처리하는 단계는 Processing the first patch data
    상기 복수의 필터들 각각에 대해, 상기 수평방향으로 입력되는 상기 제1 패치 데이터에 포함되는 복수의 화소들 각각의 데이터에 상기 1차원 수평방향 PSF를 적용하는 단계; For each of the plurality of filters, applying the one-dimensional horizontal PSF to data of each of a plurality of pixels included in the first patch data input in the horizontal direction;
    상기 1차원 수평방향 PSF가 적용된 상기 제1 패치 데이터에 포함되는 복수의 화소들 각각의 데이터를 상기 복수의 필터들 각각에 포함되는 라인 메모리(line memory)에 저장하는 단계; 및 Storing data of each of the plurality of pixels included in the first patch data to which the one-dimensional horizontal PSF is applied to a line memory included in each of the plurality of filters; And
    상기 복수의 필터들 각각에 대해, 상기 라인 메모리에 저장된 상기 1차원 수평방향 PSF가 적용된 상기 제1 패치 데이터에 포함되는 복수의 화소들 각각의 데이터에 상기 1차원 수직방향 PSF를 적용하는 단계For each of the plurality of filters, applying the one-dimensional vertical PSF to data of each of the plurality of pixels included in the first patch data to which the one-dimensional horizontal PSF applied to the line memory is applied.
    를 포함하는 이미지로부터 깊이 정보를 추출하는 방법.Extracting depth information from an image comprising a.
  4. 제1항에 있어서,The method of claim 1,
    상기 제1 패치 데이터를 라스터 스캔 오더로 입력 받는 단계는 Receiving the first patch data in the raster scan order
    상기 제1 패치 데이터에 포함되는 복수의 화소들 각각의 데이터를 수직방향으로부터 수평방향의 순서로 입력 받는 단계Receiving data of each of the plurality of pixels included in the first patch data in the order from the vertical direction to the horizontal direction
    를 포함하는 이미지로부터 깊이 정보를 추출하는 방법.Extracting depth information from an image comprising a.
  5. 제4항에 있어서,The method of claim 4, wherein
    상기 제1 패치 데이터를 처리하는 단계는 Processing the first patch data
    상기 복수의 필터들 각각에 대해, 상기 수직방향으로 입력되는 상기 제1 패치 데이터에 포함되는 복수의 화소들 각각의 데이터에 상기 1차원 수직방향 PSF를 적용하는 단계; For each of the plurality of filters, applying the one-dimensional vertical PSF to data of each of the plurality of pixels included in the first patch data input in the vertical direction;
    상기 1차원 수직방향 PSF가 적용된 상기 제1 패치 데이터에 포함되는 복수의 화소들 각각의 데이터를 상기 복수의 필터들 각각에 포함되는 라인 메모리에 저장하는 단계; 및 Storing data of each of a plurality of pixels included in the first patch data to which the one-dimensional vertical PSF is applied to a line memory included in each of the plurality of filters; And
    상기 복수의 필터들 각각에 대해, 상기 라인 메모리에 저장된 상기 1차원 수직방향 PSF가 적용된 상기 제1 패치 데이터에 포함되는 복수의 화소들 각각의 데이터에 상기 1차원 수평방향 PSF를 적용하는 단계For each of the plurality of filters, applying the one-dimensional horizontal PSF to data of each of the plurality of pixels included in the first patch data to which the one-dimensional vertical PSF applied to the line memory is applied.
    를 포함하는 이미지로부터 깊이 정보를 추출하는 방법.Extracting depth information from an image comprising a.
  6. 제1항에 있어서,The method of claim 1,
    상기 제2 패치 데이터 및 상기 복수의 블러 패치들 각각 사이의 유사도를 비교하는 단계는 Comparing the similarity between the second patch data and each of the plurality of blur patches
    SAD(Sum of Absolute Difference) 기법, SSD(Sum of Squared Difference) 기법, MAD(Mean of Absolute Difference) 기법 또는 SASE(Sum of Squared Error) 기법 중 적어도 어느 하나를 이용하여 상기 제2 패치 데이터 및 상기 복수의 블러 패치들 각각 사이의 유사도를 비교하는 단계인 이미지로부터 깊이 정보를 추출하는 방법.The second patch data and the plurality of patches using at least one of a Sum of Absolute Difference (SAD) technique, a Sum of Squared Difference (SSD) technique, a Mean of Absolute Difference (MAD) technique, or a Sum of Squared Error (SASE) technique. Comparing depth of similarity between each of the blur patches.
  7. 제6항에 있어서,The method of claim 6,
    상기 제2 패치 데이터 및 상기 복수의 블러 패치들 각각 사이의 유사도를 비교하는 단계는 Comparing the similarity between the second patch data and each of the plurality of blur patches
    상기 제2 패치 데이터 및 상기 복수의 블러 패치들 각각 사이의 차이값을 획득하는 단계Obtaining a difference value between each of the second patch data and the plurality of blur patches
    를 포함하고, Including,
    상기 비교 결과에 기초하여, 상기 특정 화소 위치에서의 깊이를 결정하는 단계는 Based on the comparison result, determining the depth at the specific pixel position
    상기 제2 패치 데이터 및 상기 복수의 블러 패치들 각각 사이의 차이값 중 가장 작은 차이값을 선택하는 단계; 및 Selecting the smallest difference value among the difference values between each of the second patch data and the plurality of blur patches; And
    상기 가장 작은 차이값을 상기 특정 화소 위치에서의 깊이로 결정하는 단계Determining the smallest difference as the depth at the particular pixel location
    를 포함하는 이미지로부터 깊이 정보를 추출하는 방법.Extracting depth information from an image comprising a.
  8. 제1항 내지 제7항 중 어느 한 항의 방법을 수행하기 위한 프로그램이 기록된 컴퓨터로 판독 가능한 기록 매체.A computer-readable recording medium having recorded thereon a program for performing the method of any one of claims 1 to 7.
  9. 제1 이미지의 특정 화소 위치를 중심으로 미리 설정된 영역에 해당하는 복수의 화소들 각각의 데이터를 포함하는 제1 패치 데이터를 추출하는 제1 패치 데이터 추출부; A first patch data extracting unit configured to extract first patch data including data of each of a plurality of pixels corresponding to a predetermined area centering on a specific pixel position of the first image;
    상기 제1 패치 데이터를 라스터 스캔 오더(raster scan order)로 입력 받는 입력부;An input unit configured to receive the first patch data in a raster scan order;
    복수의 블러 패치(blurred patch)들을 생성하기 위해, 1차원 수평방향 PSF(Point Spread Function) 및 1차원 수직방향 PSF를 적용하는 복수의 필터들을 이용하여 상기 라스터 스캔 오더로 입력되는 상기 제1 패치 데이터를 처리하는 처리부; The first patch input to the raster scan order using a plurality of filters applying a one-dimensional horizontal point spread function (PSF) and a one-dimensional vertical PSF to generate a plurality of blurred patches A processing unit for processing data;
    상기 제1 패치 데이터와 대응하는, 상기 제1 이미지와 구별되는 제2 이미지의 상기 특정 화소 위치를 중심으로 상기 미리 설정된 영역에 해당하는 복수의 화소들 각각의 데이터를 포함하는 제2 패치 데이터를 추출하는 제2 패치 데이터 추출부; Extracting second patch data including data of each of a plurality of pixels corresponding to the preset area around the specific pixel position of the second image, which is different from the first image, corresponding to the first patch data A second patch data extracting unit;
    상기 제2 패치 데이터 및 상기 복수의 블러 패치들 각각 사이의 유사도를 비교하는 비교부; 및 A comparison unit comparing the similarity between each of the second patch data and the plurality of blur patches; And
    상기 비교 결과에 기초하여, 상기 특정 화소 위치에서의 깊이를 결정하는 결정부A determination unit that determines a depth at the specific pixel position based on the comparison result
    를 포함하는 이미지로부터 깊이 정보를 추출하는 장치.Apparatus for extracting depth information from an image comprising a.
  10. 제9항에 있어서,The method of claim 9,
    상기 입력부는 The input unit
    상기 제1 패치 데이터에 포함되는 복수의 화소들 각각의 데이터를 수평방향으로부터 수직방향의 순서로 입력 받는 이미지로부터 깊이 정보를 추출하는 장치.An apparatus for extracting depth information from an image that receives data of each of the plurality of pixels included in the first patch data in the order from the horizontal direction to the vertical direction.
  11. 제10항에 있어서,The method of claim 10,
    상기 처리부는 The processing unit
    상기 복수의 필터들 각각에 대해, 상기 수평방향으로 입력되는 상기 제1 패치 데이터에 포함되는 복수의 화소들 각각의 데이터에 상기 1차원 수평방향 PSF를 적용하고, 상기 1차원 수평방향 PSF가 적용된 상기 제1 패치 데이터에 포함되는 복수의 화소들 각각의 데이터를 상기 복수의 필터들 각각에 포함되는 라인 메모리(line memory)에 저장하며, 상기 복수의 필터들 각각에 대해, 상기 라인 메모리에 저장된 상기 1차원 수평방향 PSF가 적용된 상기 제1 패치 데이터에 포함되는 복수의 화소들 각각의 데이터에 상기 1차원 수직방향 PSF를 적용하는 이미지로부터 깊이 정보를 추출하는 장치.For each of the plurality of filters, the one-dimensional horizontal PSF is applied to data of each of the plurality of pixels included in the first patch data input in the horizontal direction, and the one-dimensional horizontal PSF is applied. Storing data of each of the plurality of pixels included in the first patch data in a line memory included in each of the plurality of filters, and for each of the plurality of filters, the 1 stored in the line memory And extracting depth information from an image of applying the one-dimensional vertical PSF to data of each of the plurality of pixels included in the first patch data to which the dimensional horizontal PSF is applied.
  12. 제9항에 있어서,The method of claim 9,
    상기 입력부는 The input unit
    상기 제1 패치 데이터에 포함되는 복수의 화소들 각각의 데이터를 수직방향으로부터 수평방향의 순서로 입력 받는 이미지로부터 깊이 정보를 추출하는 장치.And extracting depth information from an image that receives data of each of the plurality of pixels included in the first patch data in the order from the vertical direction to the horizontal direction.
  13. 제12항에 있어서,The method of claim 12,
    상기 처리부는 The processing unit
    상기 복수의 필터들 각각에 대해, 상기 수직방향으로 입력되는 상기 제1 패치 데이터에 포함되는 복수의 화소들 각각의 데이터에 상기 1차원 수직방향 PSF를 적용하고, 상기 1차원 수직방향 PSF가 적용된 상기 제1 패치 데이터에 포함되는 복수의 화소들 각각의 데이터를 상기 복수의 필터들 각각에 포함되는 라인 메모리에 저장하며, 상기 복수의 필터들 각각에 대해, 상기 라인 메모리에 저장된 상기 1차원 수직방향 PSF가 적용된 상기 제1 패치 데이터에 포함되는 복수의 화소들 각각의 데이터에 상기 1차원 수평방향 PSF를 적용하는 이미지로부터 깊이 정보를 추출하는 장치.For each of the plurality of filters, the one-dimensional vertical PSF is applied to data of each of the plurality of pixels included in the first patch data input in the vertical direction, and the one-dimensional vertical PSF is applied. Storing the data of each of the plurality of pixels included in the first patch data in a line memory included in each of the plurality of filters, and for each of the plurality of filters, the one-dimensional vertical PSF stored in the line memory And extracting depth information from an image of applying the one-dimensional horizontal PSF to data of each of the plurality of pixels included in the first patch data.
  14. 제9항에 있어서,The method of claim 9,
    상기 비교부는 The comparison unit
    SAD(Sum of Absolute Difference) 기법, SSD(Sum of Squared Difference) 기법, MAD(Mean of Absolute Difference) 기법 또는 SASE(Sum of Squared Error) 기법 중 적어도 어느 하나를 이용하여 상기 제2 패치 데이터 및 상기 복수의 블러 패치들 각각 사이의 유사도를 비교하는 이미지로부터 깊이 정보를 추출하는 장치.The second patch data and the plurality of patches using at least one of a Sum of Absolute Difference (SAD) technique, a Sum of Squared Difference (SSD) technique, a Mean of Absolute Difference (MAD) technique, or a Sum of Squared Error (SASE) technique. Apparatus for extracting depth information from an image comparing the similarity between each of the blur patches of.
PCT/KR2015/006977 2014-07-08 2015-07-07 Method and apparatus for extracting depth information from image WO2016006901A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR10-2014-0085203 2014-07-08
KR1020140085203A KR101600183B1 (en) 2014-07-08 2014-07-08 Method and apparatus for extracting depth information from image

Publications (1)

Publication Number Publication Date
WO2016006901A1 true WO2016006901A1 (en) 2016-01-14

Family

ID=55064461

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2015/006977 WO2016006901A1 (en) 2014-07-08 2015-07-07 Method and apparatus for extracting depth information from image

Country Status (2)

Country Link
KR (1) KR101600183B1 (en)
WO (1) WO2016006901A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109195435A (en) * 2018-10-29 2019-01-11 珠海奇川精密设备有限公司 The anti-re-posted of chip mounter mounts mechanism

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101829534B1 (en) 2016-05-25 2018-02-19 재단법인 다차원 스마트 아이티 융합시스템 연구단 Depth extracting camera system using multi focus image and operation method thereof

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001208524A (en) * 2000-01-26 2001-08-03 Sony Corp Image processor and image processing method
KR101086274B1 (en) * 2008-12-05 2011-11-24 한국전자통신연구원 Apparatus and method for extracting depth information
KR101088347B1 (en) * 2010-06-11 2011-11-30 주식회사 실리콘웍스 A device of 1-dimension content-based image interpolation, method of a database construct for the device and method of 1-dimension content-based image interpolation

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11234703A (en) * 1998-02-09 1999-08-27 Toshiba Corp Stereoscopic display device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001208524A (en) * 2000-01-26 2001-08-03 Sony Corp Image processor and image processing method
KR101086274B1 (en) * 2008-12-05 2011-11-24 한국전자통신연구원 Apparatus and method for extracting depth information
KR101088347B1 (en) * 2010-06-11 2011-11-30 주식회사 실리콘웍스 A device of 1-dimension content-based image interpolation, method of a database construct for the device and method of 1-dimension content-based image interpolation

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
SAEED MAHMOUDPOUR ET AL.: "Depth Map Generation Using Infocused and Defocused Images", JOURNAL OF BROADCAST ENGINEERING, vol. 19, no. 3, May 2014 (2014-05-01), pages 363 - 367 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109195435A (en) * 2018-10-29 2019-01-11 珠海奇川精密设备有限公司 The anti-re-posted of chip mounter mounts mechanism
CN109195435B (en) * 2018-10-29 2024-02-13 珠海奇川精密设备有限公司 Anti-re-pasting mounting mechanism of chip mounter

Also Published As

Publication number Publication date
KR101600183B1 (en) 2016-03-04
KR20160005984A (en) 2016-01-18

Similar Documents

Publication Publication Date Title
WO2015005577A1 (en) Camera pose estimation apparatus and method
WO2020071701A1 (en) Method and device for detecting object in real time by means of deep learning network model
KR102483641B1 (en) Method and apparatus for processing binocular image
WO2020027607A1 (en) Object detection device and control method
WO2021095991A1 (en) Device and method for generating defect image
WO2011087289A2 (en) Method and system for rendering three dimensional views of a scene
WO2020139009A1 (en) Cerebrovascular disease learning device, cerebrovascular disease detection device, cerebrovascular disease learning method, and cerebrovascular disease detection method
AU2020289853A1 (en) Matching method and apparatus, electronic device, computer-readable storage medium, and computer program
WO2017099510A1 (en) Method for segmenting static scene on basis of image statistical information and method therefor
US11386934B2 (en) Method and device for displaying target object
WO2016006901A1 (en) Method and apparatus for extracting depth information from image
WO2014010820A1 (en) Method and apparatus for estimating image motion using disparity information of a multi-view image
WO2016190698A1 (en) Weighted median filtering method and device for noise removal
WO2021084797A1 (en) Object detection device, object detection method, object detection program, and learning device
WO2018101607A1 (en) Vector processor and control method therefor
WO2020231005A1 (en) Image processing device and operation method thereof
WO2017195985A1 (en) Portable 3d document scanning device and method
WO2016159613A1 (en) Object tracking method and system for image synthesis
WO2016098943A1 (en) Image processing method and system for improving face detection capability
JP6982194B2 (en) Video feature extraction method and equipment
WO2017007047A1 (en) Spatial depth non-uniformity compensation method and device using jittered comparison
WO2019225799A1 (en) Method and device for deleting user information using deep learning generative model
WO2017073823A1 (en) Device and method for deriving adaptive threshold value and distinguishing between tongue fur, tongue texture, and mixed area thereof
WO2021071258A1 (en) Mobile security image learning device and method based on artificial intelligence
WO2015046658A1 (en) Apparatus and method for measuring reproducibility of tongue diagnosis device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15819549

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15819549

Country of ref document: EP

Kind code of ref document: A1