JP7611571B2 - IMAGE EXTRACTION METHOD, IMAGE EXTRACTION DEVICE, IMAGE EXTRACTION PROGRAM, AND RECORDING MEDIUM - Google Patents
IMAGE EXTRACTION METHOD, IMAGE EXTRACTION DEVICE, IMAGE EXTRACTION PROGRAM, AND RECORDING MEDIUM Download PDFInfo
- Publication number
- JP7611571B2 JP7611571B2 JP2021063694A JP2021063694A JP7611571B2 JP 7611571 B2 JP7611571 B2 JP 7611571B2 JP 2021063694 A JP2021063694 A JP 2021063694A JP 2021063694 A JP2021063694 A JP 2021063694A JP 7611571 B2 JP7611571 B2 JP 7611571B2
- Authority
- JP
- Japan
- Prior art keywords
- pixel
- region
- image
- probability distribution
- adjacent
- Prior art date
- Legal status (The legal status 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 status listed.)
- Active
Links
Images
Landscapes
- Image Analysis (AREA)
Description
特許法第30条第2項適用 ・刊行物名「2020年度卒業研究概要集、第124頁、第125頁」 発行日 令和3年2月10日 発行所 関西大学 総合情報学部
本開示は画像に含まれる一部の領域を抽出した画像を生成する画像抽出方法、画像抽出方法を実現するための画像抽出装置、画像抽出プログラム、および記録媒体に関する。 This disclosure relates to an image extraction method for generating an image by extracting a partial area contained in an image, an image extraction device for implementing the image extraction method, an image extraction program, and a recording medium.
画像中から任意の領域を切り抜く技術が、写真や動画の加工などに利用されている。例えば、特許文献1には、グラフカット法を用いて、所望の領域を抽出する方法が開示されている。また、特許文献2は、領域拡張法を用いて、ある基準となる画素と隣接する画素を、順次各領域が含む画素に追加する方法を開示している。特に、特許文献2は、RGB色空間の各軸(R軸、G軸、B軸)をs個のグリッドに分割し、前景色クラスタと背景色クラスタとを用いて所望の領域を抽出する方法を開示している。
Technology for cutting out any region from an image is used in photo and video processing, etc. For example, Patent Document 1 discloses a method for extracting a desired region using a graph cut method.
特許文献1は、グラフカット法を用いており、アルゴリズムの制約により複数の物体の領域の抽出または動的色モデル推定が困難である。また、グラフカット法は、抽出する領域の境界を、多数の組み合わせの中から決定する必要があり、処理に時間がかかる。 Patent Document 1 uses a graph cut method, but due to algorithm constraints, it is difficult to extract the regions of multiple objects or estimate a dynamic color model. In addition, the graph cut method requires that the boundaries of the region to be extracted be determined from a large number of combinations, which takes time for processing.
特許文献2は、領域拡張法を用いているが、類似色が前景色クラスタと背景色クラスタの両方に使われている状態、いわゆる色の競合が生じる場合がある。このため、色の競合が生じた類似色を含む画素については、前景が含む画素なのか背景が含む画素なのかの判断を誤る場合がある。特に、一画面内において複数の物体の領域を抽出する場合、色クラスタは領域ごとに生成される。このため、多くの色の競合が発生し、精度の高い切り抜きができない場合がある。
ここで、複数の物体の領域を抽出する場合とは、画像を前景、背景の2値で分けるのではなく、領域1,領域2,…,領域Nの多値で分け、それぞれの領域を抽出する場合である。
Here, when extracting the regions of multiple objects, the image is not divided into two values, foreground and background, but is divided into multiple values, region 1,
上記の課題を解決するために、本開示の一態様に係る画像抽出方法は、画像から特定の領域を抽出する画像抽出方法であって、前記画像に含まれる第1領域の一部の画素である第1基準画素の指定を受け付ける受付工程と、前記第1基準画素を、第1画素として設定する基準画素設定工程と、前記第1基準画素の色空間上の色情報に基づいて、前記画像上の画素が、前記色空間上の座標において、前記第1領域に含まれる確率である第1確率分布を推定する確率分布推定工程と、前記第1画素と隣接する第1隣接画素の色情報と、前記第1確率分布とに基づき、前記第1隣接画素が前記第1領域に含まれる画素か否かを判定し、前記第1隣接画素が前記第1領域に含まれる画素であると判定した場合、前記第1隣接画素を前記第1画素に追加し、前記第1隣接画素と前記第1画素とを、新たな第1画素として再設定する隣接画素解析工程と、再設定された前記第1画素を第1抽出画像として抽出する抽出工程とを含む。 In order to solve the above problem, an image extraction method according to one aspect of the present disclosure is an image extraction method for extracting a specific region from an image, and includes a receiving step of receiving a designation of a first reference pixel that is a pixel of a part of a first region included in the image, a reference pixel setting step of setting the first reference pixel as a first pixel, a probability distribution estimation step of estimating a first probability distribution that is a probability that a pixel on the image is included in the first region at coordinates in the color space based on color information in the color space of the first reference pixel, a neighboring pixel analysis step of determining whether the first neighboring pixel is a pixel included in the first region based on color information of a first neighboring pixel adjacent to the first pixel and the first probability distribution, and if it is determined that the first neighboring pixel is a pixel included in the first region, adding the first neighboring pixel to the first pixel and resetting the first neighboring pixel and the first pixel as a new first pixel, and an extraction step of extracting the reset first pixel as a first extracted image.
また、本開示の他の一態様に係る画像抽出装置は、画像に含まれる第1領域の一部の画素である第1基準画素の指定を受け付け、前記第1基準画素を、第1画素として設定する基準画素設定部と、前記第1基準画素の色空間上の色情報に基づいて、前記画像上の画素が、前記色空間上の座標において、前記第1領域に含まれる確率である第1確率分布を推定する確率分布推定部と、前記第1画素と隣接する第1隣接画素の色情報と、前記第1確率分布とに基づき、前記第1隣接画素が前記第1領域に含まれる画素か否かを判定し、前記第1隣接画素が前記第1領域に含まれる画素であると判定した場合、前記第1隣接画素を前記第1画素に追加し、前記第1隣接画素と前記第1画素とを、新たな第1画素として再設定する隣接画素解析部と、再設定された前記第1画素を第1抽出領域として抽出する抽出画像生成部とを備える。 An image extraction device according to another aspect of the present disclosure includes a reference pixel setting unit that receives a designation of a first reference pixel that is a pixel that is part of a first region included in an image, and sets the first reference pixel as a first pixel; a probability distribution estimation unit that estimates a first probability distribution that is a probability that a pixel on the image is included in the first region at coordinates in the color space based on color information in the color space of the first reference pixel; an adjacent pixel analysis unit that determines whether the first adjacent pixel is a pixel included in the first region based on color information of a first adjacent pixel adjacent to the first pixel and the first probability distribution, and adds the first adjacent pixel to the first pixel and resets the first adjacent pixel and the first pixel as a new first pixel when it is determined that the first adjacent pixel is a pixel included in the first region; and an extracted image generation unit that extracts the reset first pixel as a first extraction region.
本開示の各態様に係る画像抽出装置は、コンピュータによって実現してもよく、この場合には、コンピュータを前記画像抽出装置が備える各部(ソフトウェア要素)として動作させることにより、前記画像抽出装置をコンピュータにて実現させる画像抽出プログラム、およびそれを記録したコンピュータ読み取り可能な記録媒体も、本開示の範疇に入る。 The image extraction device according to each aspect of the present disclosure may be realized by a computer. In this case, the image extraction program that causes the computer to operate as each unit (software element) of the image extraction device to realize the image extraction device on the computer, and the computer-readable recording medium on which the program is recorded, also fall within the scope of the present disclosure.
本開示の一態様によれば、画像抽出の精度をより改善できる。 According to one aspect of the present disclosure, the accuracy of image extraction can be further improved.
〔実施形態1〕
<画像抽出装置の概要>
本実施形態に係る画像抽出方法は、画像から特定の領域を抽出し、特定の領域を含む画像を生成する方法である。特に、本実施形態に係る画像抽出方法は、第1領域と第2領域とを有する画像から、第1領域を含む第1抽出領域と、第2領域を含む第2抽出領域とを抽出し、第1抽出領域を含む第1抽出画像と第2抽出領域を含む第2抽出画像とを生成する方法である。当該画像抽出方法について、図1および図2を参照して説明する。図1は、本実施形態に係る画像抽出方法を示すフローチャートである。図2は、当該画像抽出方法を実行するための画像抽出装置2および表示デバイス4を示すブロック図である。
[Embodiment 1]
<Image Extraction Device Overview>
The image extraction method according to the present embodiment is a method for extracting a specific region from an image and generating an image including the specific region. In particular, the image extraction method according to the present embodiment is a method for extracting a first extraction region including the first region and a second extraction region including the second region from an image having a first region and a second region, and generating a first extraction image including the first extraction region and a second extraction image including the second extraction region. The image extraction method will be described with reference to Figs. 1 and 2. Fig. 1 is a flowchart showing the image extraction method according to the present embodiment. Fig. 2 is a block diagram showing an
本実施形態に係る画像抽出装置2は、制御部6を備える。画像抽出装置2は、さらに、メモリ8と、通信部10と、操作部12と、入出力インターフェース14と、システムバス16とを備えていてもよい。制御部6は、基準画素設定部20と、確率分布推定部22と、隣接画素解析部24と、抽出画像生成部26とを備える。制御部6は、さらに、表示制御部18と、確率分布修正部28とを備えていてもよい。
The
本実施形態に係る画像抽出装置2は、後に詳述する方法により、表示デバイス4に画像を表示させ、ユーザからの操作を受けて、当該画像から一部領域を抽出した抽出画像を生成する。
The
表示デバイス4は、画像の表示を行うデバイスであり、例えば、ディスプレイ、スマートフォン、または、タブレット端末等を含む。なお、図2において、画像抽出装置2と表示デバイス4とは別体として図示しているが、これに限られず、画像抽出装置2は、表示デバイス4を表示部として備えていてもよい。
The
制御部6は、画像抽出装置2に入力された情報に基づいて、画像から一部領域を抽出した抽出画像を生成する。制御部6の各部の詳細な動作は、本実施形態に係る画像抽出方法についての説明と併せ、後により詳細に説明する。なお、制御部6は、CPU(Central Processing Unit)、ROM(Read Only Memory)およびRAM(Random Access Memory)等を備えていてもよく、これらのそれぞれが制御部6の各部として動作してもよい。
The
メモリ8は、画像抽出装置2が備える各部の動作に必要なデータ、または、当該各部から入力されたデータを少なくとも一時的に記憶する。メモリ8が記憶するデータは、画像抽出装置2の備える各部から適宜読み出される。
The
通信部10は、メモリ8から読み出したデータの少なくとも一部を、画像抽出装置2の外部機器へ送信し、当該外部機器から送信されたデータを受信し、メモリ8に記録するための通信装置である。例えば、本実施形態において、通信部10は、表示デバイス4とデータの相互通信が可能である。
The
操作部12は、例えば、画像抽出装置2の使用者によって操作される。例えば、操作部12は、画像抽出装置2による画像抽出のためのデータを外部から入力するために使用される、キーボード等を含んでいてもよい。例えば、操作部12は、画像抽出の際の設定等を行うためのデータを入力するために使用されてもよい。
The
入出力インターフェース14は、メモリ8、通信部10、および操作部12と、制御部6の各部との間のインターフェース処理を実行する。制御部6の各部と入出力インターフェース14は、システムバス16を介して接続されている。
The input/
<基準画素の指定>
本実施形態に係る画像抽出方法においては、はじめに、抽出対象である画像に対し、ユーザから、画像抽出の基準となる基準画素の指定を受け付ける。当該基準画素の指定の受け付けについて、図3を参照して説明する。
<Specifying the reference pixel>
In the image extraction method according to the present embodiment, first, a user designation of a reference pixel that is to be used as a reference for image extraction is accepted from an image to be extracted. The process of accepting the designation of the reference pixel will be described with reference to FIG.
本実施形態に係る画像抽出方法においては、例えば、はじめに、図3に示す画像30が表示デバイス4に表示されているとする(ステップS2)。画像抽出装置2は、例えば、制御部6の表示制御部18を制御することにより、表示デバイス4に画像30を表示させてもよい。
In the image extraction method according to this embodiment, for example, it is assumed that the
例えば、図3の(a)に示す画像30は、第1領域である前景領域31として、規定の物体が描写された第1物体領域32を有する。また、画像30は、第1領域と異なる第2領域として、規定の背景が描写された背景領域36を有する。本実施形態においては、画像30から、第1領域である第1物体領域32を含む第1抽出画像と、第2領域である背景領域36を含む第2抽出画像とを生成する方法を例に挙げて説明する。
For example,
ステップS2に次いで、受付工程として、例えばユーザから、第1領域の一部の画素である第1基準画素と、第2領域の一部の画素である第2基準画素との指定を受け付ける(ステップS4)。ステップS4は、例えば、基準画素設定部20が、ユーザからの、図3の(b)に示す第1基準領域38と第2基準領域40との指定を受け付けることにより実行される。第1基準領域38は、第1領域である第1物体領域32に、第2基準領域40は、第2領域である背景領域36に、それぞれ指定される。
Following step S2, a reception process is performed in which, for example, from a user, a designation of a first reference pixel that is a pixel of the first region and a second reference pixel that is a pixel of the second region is received (step S4). Step S4 is executed, for example, by the reference
なお、本実施形態において、画像30は、図3の(c)に示すように、第1領域である前景領域31として、第1物体領域32に加えて、他の規定の物体が描写された第2物体領域34をさらに有していてもよい。この場合、ステップS4において、第1基準領域38は、図3の(d)に示すように、第1領域である第1物体領域32と第2物体領域34とのそれぞれに指定されてもよい。このように、本実施形態において、ある領域が他の領域により複数の領域に分断される場合、各基準領域は、複数の領域のそれぞれに指定される。
In this embodiment, the
第1基準領域38と第2基準領域40との指定は、例えば、ユーザが、マウスまたはタッチペン等により、表示デバイス4に表示させた画像30に直接第1基準領域38と第2基準領域40とを書き込むことにより実行される。なお、本実施形態において、第1基準領域38と第2基準領域40とは、何れも線形状に指定されているが、これに限られず、矩形状、円形状等、規定の図形中の領域として指定されてもよい。
The
以上により、ステップS4において、第1基準領域38が有する画素が第1基準画素に設定される。また、ステップS4において、第2基準領域40が有する画素が第2基準画素に設定される。第1基準画素および第2基準画素の設定は、基準画素設定部20が、指定された第1基準領域38と第2基準領域40とを解析し、各基準領域が含む画素が、画像30のどの画素であるかを特定することにより実行する。
As a result, in step S4, the pixels in the
次いで、本実施形態においては、第1基準画素を第1画素として、第2基準画素を第2画素として、それぞれ設定する(ステップS6)。ステップS6は、例えば、基準画素設定部20が、第1基準画素と第2基準画素との設定に引き続いて実行する。
Next, in this embodiment, the first reference pixel is set as the first pixel, and the second reference pixel is set as the second pixel (step S6). Step S6 is executed, for example, by the reference
<色座標および確率分布>
次いで、確率分布推定部22が、第1基準画素、および第2基準画素のそれぞれの色情報を解析し、各基準画素の色空間上の座標を特定する(ステップS8)。第1基準画素、および第2基準画素のそれぞれの色座標の例を、図4を参照して説明する。図4は、RGB色空間における、第1基準画素、および第2基準画素のそれぞれの色座標を示す図である。図4に示すRGB色空間は、各第1基準画素の色情報から得られた第1色座標42と、各第2基準画素の色情報から得られた第2色座標44とがそれぞれプロットされている。
<Color coordinates and probability distribution>
Next, the probability
次いで、確率分布推定部22が、第1基準画素、および第2基準画素のそれぞれの色座標から、色空間上の第1確率分布と第2確率分布とを推定する(ステップS10)。ここで、第1確率分布および第2確率分布とは、それぞれ、色空間上の各座標に対応する色を有する画像30上の画素が、第1領域および第2領域のそれぞれが含む画素が有する色に含まれる確率を表現する分布である。
Next, the probability
換言すれば、第1確率分布とは、第1基準画素の色空間上の色情報に基づいて推定された、画像30上の画素が、色空間上の座標において、第1領域に含まれる確率である。また、第2確率分布とは、第2基準画素の色空間上の色情報に基づいて推定された、画像30上の画素が、色空間上の座標において、第2領域に含まれる確率である。
In other words, the first probability distribution is the probability that a pixel on
第1確率分布および第2確率分布について、その推定方法と併せ、図5を参照して説明する。図5は、RGB色空間における、第1確率分布46、および第2確率分布48をそれぞれ示す図である。なお、図5においては、図示の都合上、第1確率分布46、および第2確率分布48が、RGB色空間のある平面における分布のように表現されているが、実際には、RGB色空間上の立体的な分布として表現される。
The first probability distribution and the second probability distribution will be described with reference to FIG. 5, along with their estimation methods. FIG. 5 is a diagram showing a
一般に、例えば、前景領域31と背景領域36とを両方有する画像において、前景領域31に位置する画素のうち、ある画素が有する色は、当該画素の周囲に位置する画素が有する色と類似する蓋然性が高い。一方、前景領域31に位置する画素と、背景領域36に位置する画素とは、それぞれの画素が有する色が、互いに類似する色を有する蓋然性が低い。
In general, for example, in an image having both a
ここで、一般に、RGB色空間上の2点の色座標の距離によって、当該色座標に対応する色がどの程度類似しているかを表すことができる。具体的には、RGB色空間上の2点の色座標の距離が近い程、当該色座標に対応する色は、互いに類似する色となる。 Generally, the distance between the color coordinates of two points on the RGB color space can indicate how similar the colors corresponding to those color coordinates are. Specifically, the closer the distance between the color coordinates of two points on the RGB color space, the more similar the colors corresponding to those color coordinates are to each other.
したがって、例えば、RGB色空間上における、ある特定の色座標の周囲に、第1色座標42が多くプロットされた場合、第1領域が含む画素が有する色の色座標が、上記特定の色座標の周囲に位置する蓋然性が高いといえる。ゆえに、第1確率分布46は、第1色座標42が多くプロットされた座標の周囲において高く、また、第1色座標42のプロット数が低い座標の周囲において低くなるように決定される。同一の理由から、第2確率分布48は、第2色座標44が多くプロットされた座標の周囲において高く、また、第2色座標44のプロット数が低い座標の周囲において低くなるように決定される。
Therefore, for example, if many first color coordinates 42 are plotted around a certain color coordinate in the RGB color space, it can be said that there is a high probability that the color coordinates of the colors of the pixels included in the first region are located around the specific color coordinates. Therefore, the
具体的に、第1確率分布46は、例えば、図5に示すように、第1確率分布46のうち少なくとも一つの確率が高い座標に向かって、その周囲側から、第1低確率領域46A、第1中確率領域46B、および第1高確率領域46Cをこの順に有する。また、第2確率分布48は、例えば、第2確率分布48のうち少なくとも一つの確率が高い座標に向かって、その周囲側から、第2低確率領域48A、第2中確率領域48B、および第2高確率領域48Cをこの順に有する。
Specifically, as shown in FIG. 5, the
このような第1確率分布46および第2確率分布48は、例えば、RGB色空間上における混合ガウスモデル(GMM:Gaussian Mixture Model)によって決定される。例えば、第1確率分布46および第2確率分布48は、RGB色空間上の複数の空間ガウス分布を重ね合せた分布を有する。ただし、本実施形態においては、これに限られず、第1確率分布46および第2確率分布48は、第1領域における画素および第2領域における画素の色座標の確率を表現する分布であれば、特に問われない。
The
なお、以降、本明細書において、単に「確率分布」と記載する場合には、色空間上の各座標に対応する色を有する画像上の画素が、ある領域が含む画素が有する色に含まれる確率の分布を表すものとする。 Note that hereafter in this specification, when the term "probability distribution" is used simply, it refers to the distribution of the probability that a pixel in an image having a color corresponding to each coordinate in color space is included in the color of the pixels contained in a certain region.
<画素の追加>
次いで、各領域の画素として設定済の画素と隣接する画素のうちの一つを、何れかの領域の画素に追加する、隣接画素解析工程を実行する。隣接画素解析工程について、図6および図7をさらに参照して説明する。図6および図7は、画像30の画素のうち、設定済の第1画素と第2画素との周囲における画素を拡大して示す工程概略図である。
<Adding pixels>
Next, an adjacent pixel analysis step is performed in which one of the pixels adjacent to the pixel already set as the pixel of each region is added to the pixel of one of the regions. The adjacent pixel analysis step will be described with further reference to Figures 6 and 7. Figures 6 and 7 are schematic diagrams of the step that show, in an enlarged scale, pixels around the already set first and second pixels among the pixels of the
図6および図7の各図に示すように、画像30は、略矩形の複数の画素50を行方向および列方向に沿って配置した構造を有する。ここで、画素50は、第1領域が有する画素であると設定された第1画素52と、第2領域が有する画素であると設定された第2画素54とをそれぞれ含む。
As shown in each of Figures 6 and 7,
隣接画素解析工程においては、はじめに、第1画素52と、行方向または列方向において隣接する画素である、第1隣接画素56を特定する。また、第2画素54と、行方向または列方向において隣接する画素である、第2隣接画素58を特定する(ステップS12)。第1画素52および第2画素54の位置によっては、第1画素52と第2画素54との双方と隣接する競合画素60が生じる場合がある。競合画素60は、第1隣接画素56および第2隣接画素58の何れにも含まれる隣接画素として扱う。次いで、第1隣接画素56および第2隣接画素58のそれぞれの色情報を解析し、RGB色空間上の座標を算出する(ステップS14)。
In the adjacent pixel analysis process, first, a first
次いで、第1画素52に含まれる確率が最も高い画素を、第1隣接画素56から決定する。また、第2画素54に含まれる確率が最も高い画素を、第2隣接画素58から決定する(ステップS16)。本実施形態においては、下記の式(1)に定義されるコストCN(s,t)を、隣接画素ごとに算出し、比較することにより、ステップS16を実現する例を説明する。
Next, the pixel most likely to be included in the
式(1)において、各領域の画素の何れか一つを画素s、当該画素sと隣接する画素の何れか一つを画素tとする。なお、Nは、画素sを含む領域Nを表す。 In formula (1), one of the pixels in each region is pixel s, and one of the pixels adjacent to pixel s is pixel t. Note that N represents the region N that contains pixel s.
D(s,t)は、画素sの色と画素tの色との、RGB色空間上のユークリッド距離であり、画素sの色と画素tの色との類似性を表す。D(s,t)が小さい程、画素sの色と画素tの色とはより類似し、ひいては、画素tがより領域Nに含まれる確率が高い。C(s)は、画素sが各領域に設定された際における、当該画素sのコストCN(s,t)の値である。画素sが基準画素であった場合、C(s)は0とする。 D(s,t) is the Euclidean distance in the RGB color space between the color of pixel s and the color of pixel t, and represents the similarity between the colors of pixel s and pixel t. The smaller D(s,t) is, the more similar the colors of pixel s and pixel t are, and the higher the probability that pixel t is included in region N. C(s) is the value of the cost C N (s,t) of pixel s when pixel s is set in each region. If pixel s is the reference pixel, C(s) is set to 0.
W1(s,t)は、D(s,t)に対する重み付けであり、下記の式(2)により定義される。 W 1 (s, t) is a weight for D(s, t) and is defined by the following equation (2).
式(2)において、lM(t)は、領域Mが含む画素の色に、画素tの色が含まれる確率を表す。lM(t)は、例えば、画素tの色のRGB色空間上の座標と、領域Mにおける確率分布とを比較することにより算出される。画素tの色が、領域Mの色に含まれる確率が高い場合、換言すれば、lM(t)の値が高い場合、画素tは領域Mに含まれる確率が高い。なお、式(2)の|W0|は、lM(t)を全ての画素tに対し探索して求められる、lM(t)の最小値の絶対値であり、W1(s,t)が負の値とならないように規格化するための項である。式(1)と式(2)とから、画素sの色と画素tの色との類似性が高い程、また、画素tの色が領域Nの色に含まれる確率が高い程、コストCN(s,t)は低くなる。 In formula (2), l M (t) represents the probability that the color of pixel t is included in the colors of pixels included in region M. For example, l M (t) is calculated by comparing the coordinates of the color of pixel t in the RGB color space with the probability distribution in region M. If the color of pixel t is highly likely to be included in the colors of region M, in other words, if the value of l M (t) is high, pixel t is highly likely to be included in region M. Note that |W 0 | in formula (2) is the absolute value of the minimum value of l M (t) obtained by searching l M (t) for all pixels t, and is a term for normalizing W 1 (s, t) so that it does not become a negative value. From formulas (1) and (2), the higher the similarity between the colors of pixel s and pixel t, and the higher the probability that the color of pixel t is included in the colors of region N, the lower the cost C N (s, t).
W2(s,t)は、C(s)に対する重み付けであり、下記の式(3)により定義される。 W 2 (s, t) is a weight for C(s) and is defined by the following equation (3).
式(3)から、画素tの色が領域Nの色に含まれる確率が、画素tの色が領域Nを除く領域の色に含まれる確率よりも高い場合に、W2(s,t)の値は0となり、それ以外の場合に、W2(s,t)の値は1となる。換言すれば、W2(s,t)は、画素tの色が領域Nの色に含まれる確率が高い場合に、画素sがある領域の画素に設定された際のコストCN(s,t)を考慮しないために設けられた項である。 From equation (3), if the probability that the color of pixel t is included in the colors of region N is higher than the probability that the color of pixel t is included in the colors of regions other than region N, the value of W2 (s,t) will be 0, and otherwise the value of W2 (s,t) will be 1. In other words, W2 (s,t) is a term provided in order to not take into account the cost CN (s,t) when pixel s is set as a pixel in a certain region when there is a high probability that the color of pixel t is included in the colors of region N.
以上より、各画素tは、算出されたコストCN(s,t)が低い程、画素sを含む領域Nに含まれる確率が高いといえる。したがって、ステップS16においては、例えば、第1隣接画素56と第2隣接画素58とのそれぞれにおいて、コストCN(s,t)を算出し、最も低い画素をそれぞれ特定する。これにより、第1隣接画素56、および、第2隣接画素58のうち、コストCN(s,t)が最も低い画素である第1画素候補62を特定する。ここで、例えば、コストCN(s,t)が最も低い画素が複数存在する場合には、複数の画素候補が特定されてもよく、例えば、第1画素候補62と異なる第2画素候補64がさらに特定されてもよい。
From the above, it can be said that the lower the calculated cost C N (s, t) of each pixel t, the higher the probability that the pixel t is included in the region N including pixel s. Therefore, in step S16, for example, the cost C N (s, t) is calculated for each of the first
なお、例えば、ある第1隣接画素56と隣接する第1画素52が複数ある場合には、ステップS16において、第1画素52のそれぞれを画素sとして、コストCN(s,t)を複数算出してもよい。この場合、算出された複数のコストCN(s,t)の平均値を、第1隣接画素56のコストCN(s,t)とみなしてもよい。
For example, when there are multiple
次いで、隣接画素を、その隣接画素が含まれる蓋然性が最も高い領域が含む画素に追加し、当該画素を再設定する(ステップS18)。具体的には、第1画素候補62を、第1画素候補62が隣接し、かつ、第1画素候補62が含まれる蓋然性が最も高い領域の画素に追加する。例えば、図7に示すように、第1画素候補62が第1画素52のみに隣接する場合、第1画素候補62を第1画素52に追加する。また、第1画素候補62が第1画素52と第2画素54との双方に隣接する競合画素60である場合、よりコストCN(s,t)が低くなる領域の画素に追加する。これに伴い、追加された第1画素52と隣接する第1隣接画素56が追加される。
Next, the adjacent pixel is added to the pixels included in the region that is most likely to include the adjacent pixel, and the pixel is reset (step S18). Specifically, the
換言すれば、本実施形態における隣接画素解析工程においては、第1隣接画素56の色情報と、第1確率分布46とに基づき、第1隣接画素56が第1領域に含まれる画素か否かを判定する。さらに、本実施形態における隣接画素解析工程においては、第1隣接画素56が第1領域に含まれる画素であると判定した場合、第1隣接画素56を第1画素52に追加し、第1隣接画素56と第1画素52とを、新たな第1画素52として再設定する。
In other words, in the adjacent pixel analysis process in this embodiment, it is determined whether the first
また、本実施形態における隣接画素解析工程においては、第2隣接画素58の色情報と、第2確率分布48とに基づき、第2隣接画素58が第2領域に含まれる画素か否かを判定する。さらに、本実施形態における隣接画素解析工程においては、第2隣接画素58が第2領域に含まれる画素であると判定した場合、第2隣接画素58を第2画素54に追加し、第2隣接画素58と第2画素54とを、新たな第2画素54として再設定する。
In addition, in the adjacent pixel analysis process in this embodiment, it is determined whether the second
なお、ステップS16において、第2画素候補64が特定されている場合、ステップS18においては、第2画素候補64についても、当該第2画素候補64が隣接し、かつ、第2画素候補64が含まれる蓋然性が最も高い領域の画素に追加してもよい。例えば、図7に示すように、第2画素候補64が第2画素54のみに隣接する場合、第2画素候補64を第2画素54に追加する。
If the
以上により、隣接画素解析工程が実行され、各隣接画素のうちの一つが、各領域が含む画素に追加され、各領域が含む画素が再設定される。なお、隣接画素解析工程のステップS12からステップS18は、隣接画素解析部24が、各画素50を解析することにより実行する。
As described above, the adjacent pixel analysis process is executed, one of the adjacent pixels is added to the pixels contained in each region, and the pixels contained in each region are reset. Note that steps S12 to S18 of the adjacent pixel analysis process are executed by the adjacent
なお、各領域の画素に追加する隣接画素の決定は、上述の通り、隣接画素が各領域の何れに含まれるかを示す確率に基づいて実行される。このため、上記隣接画素解析工程により、競合画素60を何れの画素に追加すべきかについても、自動的に判定を行うことができる。換言すれば、隣接画素解析工程においては、第1隣接画素56と第2隣接画素58とが同一の画素である場合、第1確率分布46と第2確率分布48とに基づいて、第1画素52と第2画素54との何れに追加すべきかを判定する。このため、本実施形態においては、競合画素60が、不適切な領域が含む画素に設定される蓋然性が、より効果的に低下する。
As described above, the neighboring pixels to be added to the pixels of each region are determined based on the probability indicating which of the regions the neighboring pixels are included in. Therefore, the neighboring pixel analysis process can automatically determine which pixel the
<画素追加の終了の判定および確率分布の修正>
次いで、画素50のうち、各領域の何れかに設定していない画素が存在するか否かを判定する(ステップS20)。ステップS20において、各領域の何れかに設定していない画素が存在する場合には、続いて、各領域における確率分布の決定時から、属する領域を設定した画素が一定以上増加したか否かを判定する(ステップS22)。
<Determining when to end pixel addition and correcting the probability distribution>
Next, it is determined whether or not there is any pixel that has not been set to any of the regions among the pixels 50 (step S20). If it is determined in step S20 that there is a pixel that has not been set to any of the regions, it is then determined whether or not the number of pixels that have been set to the region to which they belong has increased by a certain amount or more since the probability distribution in each region was determined (step S22).
初めてステップS22を実行する場合、ステップS22は、ステップS10の実行時から、各領域が含む画素が増加した個数を計数する。当該個数が一定数以上となるまで、ステップS22は、ステップS10の実行時における、各領域が含む画素の個数を基準として、各領域が含む画素の個数の増加数を計数する。 When step S22 is executed for the first time, step S22 counts the number of pixels each region contains that has increased since step S10 was executed. Step S22 counts the increase in the number of pixels each region contains, based on the number of pixels each region contains when step S10 was executed, until that number reaches a certain number or more.
ステップS22において、各領域が含む画素の個数の増加数が一定以上ではない場合には、再度ステップS12が実行される。このため、ステップS12からステップS22までが繰り返される度に、各領域が含む画素の個数は増加する。ステップS22において、各領域が含む画素の個数の増加数が一定以上となった場合には、各領域における色空間上の確率分布を修正する、確率分布修正工程が実行される(ステップS24)。 If the increase in the number of pixels contained in each region is not equal to or greater than a certain level in step S22, step S12 is executed again. Therefore, each time steps S12 to S22 are repeated, the number of pixels contained in each region increases. If the increase in the number of pixels contained in each region is equal to or greater than a certain level in step S22, a probability distribution correction process is executed to correct the probability distribution in color space for each region (step S24).
ステップS24においては、各領域における確率分布が、現時点において各領域が含む各画素の色情報に基づいて修正される。換言すれば、ステップS24においては、再設定された第1画素52のRGB色空間上の色情報に基づいて、第1確率分布46を修正する。また、ステップS24においては、再設定された第2画素54のRGB色空間上の色情報に基づいて、第2確率分布48を修正するステップS24における各確率分布の修正は、ステップS10における各確率分布の推定と同一の方法によって実行される。
In step S24, the probability distribution in each region is modified based on the color information of each pixel that each region currently contains. In other words, in step S24, the
一度ステップS24が実行された場合、次回以降のステップS22においては、前回のステップS24の実行時における、各領域が含む画素の個数を基準として、各領域が含む画素の個数の増加数を計数し、ステップS24の実行の要否を判定する。換言すれば、ステップS24は、直近のステップS10またはステップS24の実施時から、規定数以上のステップS18を実施した場合に実行される。 Once step S24 has been executed, in the next and subsequent steps S22, the increase in the number of pixels contained in each region is counted based on the number of pixels contained in each region when step S24 was executed the previous time, and a determination is made as to whether step S24 needs to be executed. In other words, step S24 is executed if a prescribed number or more of step S18 have been executed since the most recent execution of step S10 or step S24.
ステップS24における、各領域における確率分布の修正について、図8を参照してより詳細に説明する。図8の(a)に示すS24-Aは、ステップS24が初めて実行されるまでにおける、第1確率分布46および第2確率分布48を示すRGB色空間である。図8の(b)に示すS24-Bは、ステップS24の確率分布の修正を1回実行した後における、第1確率分布46および第2確率分布48を示すRGB色空間である。図8の(c)に示すS24-Cは、ステップS24の確率分布の修正を2回実行した後における、第1確率分布46および第2確率分布48を示すRGB色空間である。図8の(d)に示すS24-Dは、画像30の全ての画素から、第1確率分布46および第2確率分布48を推定した場合における、第1確率分布46および第2確率分布48を示すRGB色空間である。
The correction of the probability distribution in each region in step S24 will be described in more detail with reference to FIG. 8. S24-A shown in FIG. 8(a) is an RGB color space showing the
ステップS10においては、第1領域の一部である第1基準画素と、第2領域の一部である第2基準画素とのそれぞれの色情報から、第1確率分布46および第2確率分布48の推定を行う。このため、ステップS10において推定された第1確率分布46および第2確率分布48は、画像30の全ての画素から推定された、理想的な第1確率分布46および第2確率分布48とは、差異がある蓋然性が高い。
In step S10, a
ステップS24における確率分布の推定は、ステップS10における確率分布の推定と比較して、基準とする画素の個数が増加している。このため、ステップS24において修正された確率分布は、画像30の全ての画素から推定された、理想的な確率分布により近似する蓋然性が高い。さらに、ステップS24の実行回数が多い程、換言すれば、確率分布がより多く修正される程、確率分布は、理想的な確率分布に近似する蓋然性が高くなる。
The estimation of the probability distribution in step S24 uses an increased number of reference pixels compared to the estimation of the probability distribution in step S10. Therefore, the probability distribution corrected in step S24 is more likely to approximate the ideal probability distribution estimated from all pixels of
したがって、設定済の画素の個数が一定以上増加する度に、ステップS24を実行し、確率分布を修正することにより、より理想的な確率分布に近い確率分布に基づいて、各隣接画素の解析が実行されることとなる。ゆえに、ステップS24の確率分布修正工程を実行することにより、隣接画素が適切な領域の画素に追加される蓋然性がより向上する。なお、ステップS24は、確率分布修正部28によって実行されるが、これに限られず、確率分布推定部22が実行してもよい。
Therefore, each time the number of set pixels increases by a certain amount or more, step S24 is executed to modify the probability distribution, so that the analysis of each adjacent pixel is executed based on a probability distribution that is closer to an ideal probability distribution. Therefore, by executing the probability distribution modification process of step S24, the probability that adjacent pixels are added to pixels in an appropriate area is further improved. Note that step S24 is executed by the probability
本実施形態においては、ステップS24が、前回の確率分布の推定または修正から、規定数以上の画素の設定が実行されてから実施される。確率分布を推定に使用する色座標の個数の差が少ない場合、確率分布の修正を行ったとしても、確率分布の変動は小さい。このため、確率分布の修正は、基準とする画素がある程度増加した場合に実行する方が効果的である。したがって、本実施形態においては、設定された画素が増加する度にステップS24を実行するよりも、より効果的に確率分布を修正しつつ、画像抽出の速度を向上させることができる。 In this embodiment, step S24 is performed after a specified number of pixels or more have been set since the previous estimation or modification of the probability distribution. If the difference in the number of color coordinates used to estimate the probability distribution is small, the fluctuation in the probability distribution is small even if the probability distribution is modified. For this reason, it is more effective to modify the probability distribution when the number of reference pixels has increased to a certain extent. Therefore, in this embodiment, the speed of image extraction can be improved while more effectively modifying the probability distribution than by performing step S24 each time the number of set pixels increases.
<画像抽出>
ステップS12からステップS24が繰り返され、画像30における全ての画素50が、何れかの領域の画素に設定された場合、ステップS20に次いで、抽出工程に移行する(ステップS26)。
<Image extraction>
Steps S12 to S24 are repeated, and when all
ステップS26においては、各領域が含む画素を含む画像を、抽出画像としてそれぞれ抽出する。具体的には、ステップS26において、第1画素52を第1抽出画像として、第2画素54を第2抽出画像として、それぞれ抽出する。抽出工程は、抽出画像生成部26が、第1画素52と第2画素54とを特定し、これらを含む画像をそれぞれ抽出することにより実行する。
In step S26, an image including the pixels contained in each region is extracted as an extracted image. Specifically, in step S26, the
以上により、理想的には、前景領域31が有する画素を含む第1抽出画像と、背景領域36が含む画素を含む第2抽出画像とが生成される。ゆえに、本実施形態においては、画像30から、前景領域31を抽出した画像と、背景領域36を抽出した画像とが得られる。
As a result of the above, ideally, a first extracted image including pixels in the
本実施形態に係る画像抽出方法においては、各画素が、何れの領域の画素に含まれるのかについて、各領域における確率分布に基づいて決定する。このため、本実施形態に係る画像抽出方法は、各画素が、適切でない領域の画素に設定される蓋然性を低下させて、画像から各領域が含む画素を抽出する精度を向上させる。当該画像抽出方法は、本実施形態に係る画像抽出装置2を使用して実現できる。
In the image extraction method according to this embodiment, the region in which each pixel is included is determined based on the probability distribution in each region. Therefore, the image extraction method according to this embodiment reduces the probability that each pixel is set as a pixel in an inappropriate region, improving the accuracy of extracting the pixels included in each region from an image. This image extraction method can be realized using the
また、本実施形態においては、画像30が有する全ての画素50が、第1画素52と第2画素54との何れか一方に設定される。このため、一方の領域が含む画素の設定を行って、抽出画像の生成を行うよりも、より確実に、各画素がどの領域の画素に含まれるのかを設定することができる。したがって、本実施形態においては、第1抽出画像と第2抽出画像との生成の精度がより改善する。
In addition, in this embodiment, all
<実施例および比較例の評価>
本実施形態に係る画像抽出方法が奏する効果について、本実施形態に沿って実施した実施例と、比較形態に係る画像抽出方法に沿って実施した比較例とを比較することにより評価する。実施例における、特定画像から抽出画像を生成する過程を、図9を参照して説明する。
<Evaluation of Examples and Comparative Examples>
The effect of the image extraction method according to the present embodiment is evaluated by comparing an example carried out according to the present embodiment with a comparative example carried out according to the image extraction method according to the comparative embodiment. The process of generating an extracted image from a specific image in the example will be described with reference to FIG.
実施例においては、図9の(a)に示す画像66から、本実施形態に係る画像抽出方法に基づき、抽出画像を生成した。画像66は、物体領域68と、背景領域70とを含む画像である。実施例においては、ステップS4において、図9の(a)に示すように、第1基準領域38と、第2基準領域40とを指定した。
In the example, an extracted image was generated from image 66 shown in FIG. 9(a) based on the image extraction method according to this embodiment. Image 66 is an image including an object region 68 and a background region 70. In the example, in step S4, a
以降、本実施形態に係る画像抽出方法に基づき、画像66から、前景領域31として物体領域68を含む第1抽出画像と、背景領域70を含む第2抽出画像との生成を試みた。実施例において、ステップS24は、画像66の全画素のうち、40%、および80%の画素が、何れかの領域に追加された際にそれぞれ実行した。
Then, based on the image extraction method according to this embodiment, an attempt was made to generate from image 66 a first extracted image including object region 68 as
図9の(b-1)に示す第1抽出画像72Aは、一回目のステップS24の直前、換言すれば、画像66の全画素のうち、40%の画素が第1画素52あるいは第2画素54に設定された時点における、第1画素52を含む抽出画像である。図9の(c-1)に示す第2抽出画像74Aは、一回目のステップS24の直前における、第2画素54を含む抽出画像である。図9の(b-2)に示す第1抽出画像72Bは、二回目のステップS24の直前、換言すれば、画像66の全画素のうち、80%の画素が第1画素52あるいは第2画素54に設定された時点における、第1画素52を含む抽出画像である。図9の(c-2)に示す第2抽出画像74Bは、二回目のステップS24の直前における、第2画素54を含む抽出画像である。図9の(b-3)に示す第1抽出画像72は、ステップS26において生成された、第1画素52を含む抽出画像である。図9の(c-3)に示す第2抽出画像74は、ステップS26において生成された、第2画素54を含む抽出画像である。
The first extracted image 72A shown in FIG. 9 (b-1) is an extracted image including the
図9に示す第1抽出画像72A、第2抽出画像74A、第1抽出画像72Bおよび第2抽出画像74Bには、本実施例において、次第に第1画素52および第2画素54が順次追加される様子が示されている。また、本実施例において、前景領域31に対応する位置の第1画素76を含む第1抽出画像72と、背景領域70に対応する位置の第2画素78を含む第2抽出画像74とが得られている。
The first extracted image 72A, the second extracted image 74A, the first extracted image 72B, and the second extracted image 74B shown in FIG. 9 show how the
次に、比較形態に係る画像抽出方法について説明する。比較形態に係る画像抽出方法は、本実施形態に係る画像抽出方法と比較して、ステップS10に代えて、各領域における色空間上の色バケツを生成する工程を含む点において相違する。当該工程について、図10を参照して説明する。 Next, an image extraction method according to a comparative embodiment will be described. The image extraction method according to the comparative embodiment differs from the image extraction method according to the present embodiment in that it includes, instead of step S10, a process of generating color buckets in a color space for each region. This process will be described with reference to FIG. 10.
図10に示すS10-Cは、比較形態において生成されたRGB色空間上の色バケツの例を示す概略図である。比較形態においては、各基準画素の色空間上の色座標の特定についで、当該色座標の情報から、各領域における色バケツを生成する。比較形態においては、RGB色空間におけるR軸、G軸、B軸を、複数のグリッドに分割し、RGB色空間を複数の区画に分割して、当該区画の一部に色バケツが生成される。各領域における色バケツは、各基準画素の色座標が多く位置する区画に生成される。 S10-C in FIG. 10 is a schematic diagram showing an example of color buckets in an RGB color space generated in a comparative embodiment. In the comparative embodiment, after identifying the color coordinates in the color space of each reference pixel, color buckets are generated in each region from the information on the color coordinates. In the comparative embodiment, the R axis, G axis, and B axis in the RGB color space are divided into multiple grids, the RGB color space is divided into multiple sections, and color buckets are generated in some of the sections. The color buckets in each region are generated in the section where the color coordinates of each reference pixel are located most frequently.
比較形態においては、例えば、図10に示すように、RGB色空間上の一部の区画のうち、第1色座標42を多く含む区画に、第1領域における色バケツである第1色バケツ46Dを生成する。また、比較形態においては、例えば、図10に示すように、RGB色空間上の一部の区画のうち、第2色座標44を多く含む区画に、第2領域における色バケツである第2色バケツ48Dを生成する。ここで、第1色座標42と第2色座標44との双方を有する区画には、第1色バケツ46Dと第2色バケツ48Dとの双方に属する、競合色バケツCBが生成される場合がある。
In the comparative embodiment, for example, as shown in FIG. 10, a
また、比較形態においても、隣接画素ごとにコストCN(s,t)を算出し、当該コストCN(s,t)が最も低い画素を、各領域が含む画素の何れかに追加する。ただし、コストCN(s,t)のW1(s,t)とW2(s,t)とは、それぞれ、以下の式(4)と式(5)とに変更される。 In the comparative example, a cost C N (s, t) is calculated for each adjacent pixel, and the pixel with the lowest cost C N (s, t) is added to one of the pixels included in each region, with the exception that W 1 (s, t) and W 2 (s, t) of the cost C N (s, t) are changed to the following equations (4) and (5), respectively.
式(4)、および式(5)におけるq(t)は、画素tの量子数を低下させた色を表し、画素tの色座標に相当する。KMは、RGB色空間上の区画のうち、領域Mにおける色バケツが生成された区画を表す。このため、式(4)から、比較形態に係るW1(s,t)は、画素tの色座標が、領域Nの色バケツのみに含まれる場合には1となり、領域Nを除く領域の色バケツのみに含まれる場合には4となり、それ以外の場合には2となる。また、式(5)から、比較形態に係るW2(s,t)は、画素tの色座標が、領域Nの色バケツに含まれる場合には0となり、それ以外の場合には1となる。 In formula (4) and formula (5), q(t) represents a color with a reduced quantum number of pixel t, and corresponds to the color coordinate of pixel t. KM represents a section in the RGB color space in which the color bucket in region M is generated. Therefore, from formula (4), W 1 (s, t) according to the comparative embodiment is 1 when the color coordinate of pixel t is included only in the color bucket of region N, 4 when the color coordinate of pixel t is included only in the color bucket of a region other than region N, and 2 otherwise. Also, from formula (5), W 2 (s, t) according to the comparative embodiment is 0 when the color coordinate of pixel t is included in the color bucket of region N, and 1 otherwise.
さらに、比較形態においては、ステップS22、ステップS24は実行されず、ステップS20において、何れかの領域が含む画素に設定されていない画素が存在する場合には、再度ステップS12が実行される。 Furthermore, in the comparative embodiment, steps S22 and S24 are not executed, and if there is a pixel in step S20 that is not set as one of the pixels contained in any of the regions, step S12 is executed again.
上述した点を除き、比較形態に係る画像抽出方法は、本実施形態に係る画像抽出方法と同一の手法により実行される。 Except for the points mentioned above, the image extraction method according to the comparative embodiment is performed in the same manner as the image extraction method according to the present embodiment.
比較例においては、図9に示す第1基準領域38および第2基準領域40と同一の基準領域の指定により、画像66から、比較形態に係る画像抽出方法によって、各抽出画像の生成を行った。比較例において生成された抽出画像と、実施例において生成された抽出画像とを、図11を参照して比較する。
In the comparative example, each extracted image was generated from image 66 by specifying the same reference area as
図11の(a)は、比較例において生成された第1抽出画像72Cを示す図である。図11の(b)は、実施例において生成された第1抽出画像72を示す図である。なお、図11の(a)および(b)においては、画像抽出の精度をより明確に比較するために、第1抽出画像72Cと第1抽出画像72とのそれぞれに、背景領域70に相当する、第2画素78Cと第2画素78とを、濃度を低下させてそれぞれ重ねている。 Figure 11 (a) is a diagram showing a first extracted image 72C generated in the comparative example. Figure 11 (b) is a diagram showing a first extracted image 72 generated in the example. Note that in Figures 11 (a) and (b), in order to more clearly compare the accuracy of image extraction, second pixels 78C and 78, which correspond to the background region 70, are overlaid on the first extracted image 72C and the first extracted image 72, respectively, with reduced density.
比較例において生成された第1抽出画像72Cは、物体領域68に相当する、第1画素76Cを有する。しかしながら、第1抽出画像72Cには、物体領域68に位置する画素の一部が、第1画素76Cとして設定されていない、不十分な領域Eが存在している。不十分な領域Eは、不十分な領域Eの周辺における画素の色が、競合色バケツCBに含まれていたために、物体領域68に位置する画素の一部が、誤って第2画素78Cとして設定されたために生じたものと推察される。 The first extracted image 72C generated in the comparative example has a first pixel 76C that corresponds to the object region 68. However, the first extracted image 72C has an insufficient region E in which some of the pixels located in the object region 68 are not set as the first pixel 76C. It is presumed that the insufficient region E has arisen because the colors of the pixels around the insufficient region E are included in the competing color bucket CB, causing some of the pixels located in the object region 68 to be erroneously set as the second pixel 78C.
一方、実施例において生成された第1抽出画像72には、不十分な領域Eが存在せず、第1画素76の設定に概ね成功している。このように、比較形態に係る画像抽出方法と比較して、本実施形態に係る画像抽出方法は、より精度よく抽出画像を生成できる。 On the other hand, the first extracted image 72 generated in the example does not have an insufficient area E, and the setting of the first pixel 76 is generally successful. Thus, compared to the image extraction method of the comparative embodiment, the image extraction method of this embodiment can generate an extracted image with greater accuracy.
〔実施形態2〕
<第3抽出画像の生成>
本開示の他の実施形態について、以下に説明する。なお、説明の便宜上、上記実施形態にて説明した部材と同じ機能を有する部材については、同じ符号を付記し、その説明を繰り返さない。
[Embodiment 2]
<Generation of Third Extracted Image>
Other embodiments of the present disclosure will be described below. For convenience of explanation, the same reference numerals will be given to components having the same functions as those described in the above embodiment, and the description thereof will not be repeated.
本実施形態においても、画像30から抽出画像を生成する方法を例に説明を行う。ただし、本実施形態においては、前実施形態と比較して、第1抽出画像および第2抽出画像に加えて、さらに、第3抽出画像を生成する点において相違する。
In this embodiment, too, a method for generating an extracted image from
本実施形態に係る画像抽出方法においては、例えば、はじめに、前実施形態におけるステップS2と同一の手法により、図12に示す画像30が表示デバイス4に表示されている。なお、図12の(a)に示す画像30は、図3の(c)に示す画像30と同一である。ただし、本実施形態において、第1領域は第1物体領域32のみを有し、第2物体領域34は第3領域に含まれるものとする。さらに、本実施形態においては、画像30から、第1領域である第1物体領域32を含む第1抽出画像と、第2領域である背景領域36を含む第2抽出画像と、第3領域である第2物体領域34を含む第3抽出画像と生成する方法を例に挙げて説明する。換言すれば、本実施形態に係る画像抽出方法は、さらに、第3領域を有する画像から、第3領域を含む第3抽出領域を抽出し、第3抽出領域を含む第3抽出画像を生成する方法である。
In the image extraction method according to this embodiment, for example, first, the
本実施形態においては、前実施形態におけるステップS4において、第1基準画素および第2基準画素の指定に加えて、第3基準画素の指定を受け付ける。第3基準画素の指定は、図12の(b)に示すように、第3領域である第2物体領域34に、第3基準領域80が指定され、第3基準領域80が含む画素が第3基準画素に指定されることにより実施される。第3基準画素の指定は、第1基準画素および第2基準画素の指定と同一の手法により実行する。
In this embodiment, in step S4 in the previous embodiment, in addition to the designation of the first and second reference pixels, the designation of a third reference pixel is accepted. The designation of the third reference pixel is performed by designating a
以降、本実施形態においては、前実施形態に係る各工程の一部を変更した工程を順次実行する。本実施形態に係るステップS6においては、さらに、第3基準画素を第3画素に設定する。本実施形態に係るステップS8、S10においては、さらに、色空間上の各座標に対応する色を有する画像30上の画素が、第3領域が含む画素が有する色に含まれる確率を表現する第3確率分布を推定する。本実施形態に係るステップS12からS18においては、さらに、第3画素と隣接する第3隣接画素についても、コストCN(s,t)を算出し、各画素の設定を行う。本実施形態に係るステップS24においては、さらに、第3確率分布の修正を行う。本実施形態に係るステップS26においては、さらに、第3画素を含む第3抽出画像を生成する。本実施形態に係るステップS6からS26のそれぞれは、上述した点を除き、前実施形態に係るステップS6からS26のそれぞれと同一の手法により実行する。本実施形態に係る画像抽出方法は、前実施形態に係る画像抽出装置2と同一の装置によって実行する。
In the present embodiment, the steps are sequentially performed by modifying each step of the previous embodiment. In step S6 of the present embodiment, the third reference pixel is further set to the third pixel. In steps S8 and S10 of the present embodiment, a third probability distribution is further estimated, which expresses the probability that a pixel on the
本実施形態においては、第1抽出画像および第2抽出画像に加えて、第3画素を含む第3抽出画像を生成できる。このため、本実施形態に係る画像抽出方法によれば、例えば、背景領域中に、複数の物体領域を有する画像から、互いに異なる物体領域を有する複数の抽出画像と、背景領域を有する抽出画像とを得ることができる。 In this embodiment, in addition to the first extracted image and the second extracted image, a third extracted image including a third pixel can be generated. Therefore, according to the image extraction method according to this embodiment, for example, from an image having multiple object regions in a background region, multiple extracted images having different object regions and an extracted image having a background region can be obtained.
また、本実施形態においても、各画素が、何れの領域の画素に含まれるのかについて、各領域における確率分布に基づいて決定する。このため、本実施形態に係る画像抽出方法によれば、抽出する領域の種類が増えた場合においても、各画素が、適切でない領域の画素に設定される蓋然性が低下し、画像から各領域が含む画素を抽出する精度が向上する。 In this embodiment, the area in which each pixel is included is determined based on the probability distribution in each area. Therefore, according to the image extraction method of this embodiment, even if the number of types of areas to be extracted increases, the probability that each pixel will be set as a pixel of an inappropriate area decreases, improving the accuracy of extracting the pixels contained in each area from the image.
なお、本実施形態においては、さらに、画像30が、さらに、例えば、第4領域、第5領域等を含む、第1領域から第3領域の何れとも異なる領域を有していてもよい。この場合、本実施形態においては、第1基準画素、第2基準画素、および、第3基準画素に限らず、第4基準画素、および第5基準画素等を含む、4種以上の基準画素を使用して、画像の抽出を行ってもよい。この場合においても、本実施形態に係る画像抽出方法によれば、当該領域の画素を含む抽出画像をさらに生成することができる。
In this embodiment, the
なお、本実施形態においては、第1領域と第3領域とが、画像30の第1物体領域32と第2物体領域34とをそれぞれ含む。このため、本実施形態に係る画像抽出方法においては、画像から複数の物体領域を個別に抽出した複数の抽出画像を生成することができる。しかしながら、これに限られず、本実施形態において、第3領域は、背景領域36の一部を含んでいてもよい。この場合、本実施形態に係る画像抽出方法においては、画像から背景領域の一部をそれぞれ抽出した、複数の抽出画像を生成することができる。
In this embodiment, the first region and the third region include the
〔実施形態3〕
<第1抽出画像のみの生成>
本開示の他の実施形態について、以下に説明する。本実施形態においても、画像30から抽出画像を生成する方法を例に説明を行う。ただし、本実施形態においては、前述した各実施形態と比較して、第1抽出画像のみを生成する点において相違する。
[Embodiment 3]
<Generation of First Extracted Image Only>
Another embodiment of the present disclosure will be described below. In this embodiment, too, an example of a method for generating an extracted image from an
本実施形態に係る画像抽出方法においては、例えば、はじめに、前述した各実施形態におけるステップS2と同一の手法により、図13の(a)に示す画像30が表示デバイス4に表示されている。なお、図13の(a)に示す画像30は、図3の(a)に示す画像30と同一である。ただし、本実施形態においては、画像30から、第1領域である前景領域31として、第1物体領域32を含む第1抽出画像のみを生成する方法を例に挙げて説明する。
In the image extraction method according to this embodiment, for example, first, the
本実施形態においては、前実施形態におけるステップS4において、第1基準画素の指定のみを受け付ける。このため、図13の(b)に示すように、本実施形態において、画像30に対しては、第1基準領域38のみが指定される。
In this embodiment, only the designation of the first reference pixel is accepted in step S4 in the previous embodiment. Therefore, as shown in FIG. 13(b), in this embodiment, only the
以降、本実施形態においては、前実施形態に係る各工程の一部を変更した工程を順次実行する。本実施形態に係るステップS6においては、第1基準画素の第1画素52への設定のみを行う。本実施形態に係るステップS8、S10においては、第1確率分布46の推定のみを行う。本実施形態に係るステップS12からS18においては、第1隣接画素56のみを特定し、当該第1隣接画素56についてコストCN(s,t)を算出し、第1画素52の再設定のみを行う。本実施形態に係るステップS24においては、第1確率分布46の修正のみを行う。本実施形態に係るステップS26においては、第1画素52を含む第1抽出画像のみを生成する。
From this point on, in this embodiment, steps that are partially modified from the steps in the previous embodiment are executed in sequence. In step S6 in this embodiment, only the first reference pixel is set to the
ここで、本実施形態に係る画像抽出方法においては、第1領域を含む第1抽出画像のみを生成するため、画像30の全ての画素50を、第1画素52に追加せず、一部の画素50のみを第1画素52に追加する。このため、本実施形態に係るステップS20は、例えば、以下の工程に変更することが考えられる。
Here, in the image extraction method according to this embodiment, in order to generate only the first extracted image including the first region, not all
例えば、本実施形態に係るステップS20においては、各第1隣接画素56のコストCN(s,t)が、ある規定値以上であるか否かを判断する。この場合、ステップS20において、全ての第1隣接画素56のコストCN(s,t)が規定値以上である場合には、ステップS26の実行に移行する。画像30の第1領域と第2領域との色の差異が明瞭であり、全ての第1隣接画素56のコストCN(s,t)が規定値以上であれば、全ての第1画素52を特定できたと判断できる場合に、ステップS20は有用である。
For example, in step S20 according to the present embodiment, it is determined whether the cost C N (s, t) of each first
あるいは、例えば、本実施形態に係るステップS20においては、第1画素52の総数が、ある規定値以上であるか否かを判断する。この場合、ステップS20において、第1画素52の総数が規定値以上である場合には、ステップS26の実行に移行する。画像30の総面積に対する第1領域の面積の割合が、少なくともおおよそ判明している場合に、ステップS20は有用である。
Alternatively, for example, in step S20 according to this embodiment, it is determined whether the total number of
上記ステップS20により、本実施形態に係る画像抽出方法においては、画像30の画素50のうち一部のみを第1画素52に追加することができる。これにより、画素50のうち、コストCN(s,t)を算出すべき画素50の個数が低減するため、本実施形態に係る画像抽出方法は、第1抽出画像の生成にかかる時間を短縮できる。
By the above step S20, in the image extraction method according to this embodiment, only a portion of the
本実施形態に係るステップS6からS26のそれぞれは、上述した点を除き、前実施形態に係るステップS6からS26のそれぞれと同一の手法により実行する。本実施形態に係る画像抽出方法は、前実施形態に係る画像抽出装置2と同一の装置によって実行する。
Each of steps S6 to S26 according to this embodiment is executed by the same method as each of steps S6 to S26 according to the previous embodiment, except for the points described above. The image extraction method according to this embodiment is executed by the same device as the
本実施形態においては、第1基準画素の指定のみにて、少なくとも第1画素52を含む第1抽出画像を生成できる。このため、本実施形態に係る画像抽出方法によれば、ユーザが第2基準画素を指定する必要がなく、より簡便に第1抽出画像を生成できる。
In this embodiment, a first extracted image including at least the
また、本実施形態においても、各画素が、第1画素52に含まれるか否かについて、第1領域における第1確率分布46に基づいて決定する。このため、本実施形態に係る画像抽出方法によれば、第1画素52に追加すべき画素50が第1画素52に追加されない蓋然性が低下する。加えて、本実施形態に係る画像抽出方法によれば、第1画素52に追加すべきではない画素50が第1画素52に追加される蓋然性が低下する。したがって、本実施形態に係る画像抽出方法によれば、画像30から、より簡便かつより精度よく、第1画素52を含む第1抽出画像を生成することができる。
Also in this embodiment, whether each pixel is included in the
なお、本実施形態においては、第1領域が、第1物体領域32を含む。このため、本実施形態に係る画像抽出方法においては、画像から物体領域のみを抽出した抽出画像を生成することができる。しかしながら、本開示は、これに限られず、本実施形態において、第1領域は、第1物体領域32を含まず、背景領域36の少なくとも一部を含んでいてもよい。この場合、本実施形態に係る画像抽出方法においては、画像から背景領域の少なくとも一部のみを抽出した抽出画像を生成することができる。また、第1領域は、第1物体領域32と第2物体領域34とを含んでいてもよい。
In this embodiment, the first region includes the
<ソフトウェアによる実現例>
前述した各実施形態に係る画像抽出装置(以下、「装置」と呼ぶ)の機能は、当該装置としてコンピュータを機能させるための画像抽出プログラムによって実現することができる。この場合、当該装置の機能は、例えば、制御部6が含む各部としてコンピュータを機能させるためのプログラムにより実現することができる。
<Example of software implementation>
The functions of the image extraction device (hereinafter, referred to as the "device") according to each of the above-described embodiments can be realized by an image extraction program for causing a computer to function as the device. In this case, the functions of the device can be realized by a program for causing a computer to function as each unit included in the
この場合、上記装置は、上記プログラムを実行するためのハードウェアとして、少なくとも1つの制御装置(例えばプロセッサ)と少なくとも1つの記憶装置(例えばメモリ)を有するコンピュータを備えている。この制御装置と記憶装置により上記プログラムを実行することにより、上記各実施形態で説明した各機能が実現される。 In this case, the device includes a computer having at least one control device (e.g., a processor) and at least one storage device (e.g., a memory) as hardware for executing the program. The control device and storage device execute the program, thereby realizing each of the functions described in each of the above embodiments.
上記プログラムは、一時的ではなく、コンピュータ読み取り可能な、1または複数の記録媒体に記録されていてもよい。この記録媒体は、上記装置が備えていてもよいし、備えていなくてもよい。後者の場合、上記プログラムは、有線または無線の任意の伝送媒体を介して上記装置に供給されてもよい。 The program may be recorded on one or more computer-readable recording media, not on a temporary basis. The recording media may or may not be included in the device. In the latter case, the program may be provided to the device via any wired or wireless transmission medium.
また、上記各制御ブロックの機能の一部または全部は、論理回路により実現することも可能である。例えば、上記各制御ブロックとして機能する論理回路が形成された集積回路も本開示の範疇に含まれる。この他にも、例えば量子コンピュータにより上記各制御ブロックの機能を実現することも可能である。 In addition, some or all of the functions of each of the control blocks can be realized by a logic circuit. For example, the scope of this disclosure also includes an integrated circuit in which a logic circuit that functions as each of the control blocks is formed. In addition, the functions of each of the control blocks can also be realized by, for example, a quantum computer.
また、上記各実施形態において説明した各処理は、AI(Artificial Intelligence:人工知能)に実行させてもよい。この場合、AIは上記制御装置で動作するものであってもよいし、他の装置(例えばエッジコンピュータまたはクラウドサーバ等)で動作するものであってもよい。 The processes described in each of the above embodiments may be executed by AI (Artificial Intelligence). In this case, the AI may run on the control device, or on another device (such as an edge computer or a cloud server).
本開示は上述した各実施形態に限定されるものではなく、請求項に示した範囲で種々の変更が可能であり、異なる実施形態にそれぞれ開示された技術的手段を適宜組み合わせて得られる実施形態についても本開示の技術的範囲に含まれる。 This disclosure is not limited to the above-described embodiments, and various modifications are possible within the scope of the claims. Embodiments obtained by appropriately combining the technical means disclosed in different embodiments are also included in the technical scope of this disclosure.
2 画像抽出装置
6 制御部
20 基準画素設定部
22 確率分布推定部
24 隣接画素解析部
26 抽出画像生成部
28 確率分布修正部
2
Claims (11)
前記画像に含まれる第1領域の一部の画素である第1基準画素の指定を受け付ける受付工程と、
前記第1基準画素を、第1画素として設定する基準画素設定工程と、
前記第1基準画素の色空間上の色情報に基づいて、前記画像上の画素が、前記色空間上の座標において、前記第1領域に含まれる確率である第1確率分布を推定する確率分布推定工程と、
前記第1画素と隣接する第1隣接画素の色情報と、前記第1確率分布とに基づき、前記第1隣接画素が前記第1領域に含まれる画素か否かを判定し、前記第1隣接画素が前記第1領域に含まれる画素であると判定した場合、前記第1隣接画素を前記第1画素に追加し、前記第1隣接画素と前記第1画素とを、新たな第1画素として再設定する隣接画素解析工程と、
再設定された前記第1画素を第1抽出画像として抽出する抽出工程と、
再設定された前記第1画素の前記色空間上の色情報に基づいて、前記第1確率分布を修正する確率分布修正工程と、を含む画像抽出方法。 An image extraction method for extracting a specific region from an image, comprising the steps of:
a receiving step of receiving a designation of a first reference pixel which is a pixel that is part of a first region included in the image;
a reference pixel setting step of setting the first reference pixel as a first pixel;
a probability distribution estimation step of estimating a first probability distribution, which is a probability that a pixel on the image is included in the first region at a coordinate in the color space, based on color information in the color space of the first reference pixel;
an adjacent pixel analysis step of determining whether the first adjacent pixel is a pixel included in the first region based on color information of a first adjacent pixel adjacent to the first pixel and the first probability distribution, and adding the first adjacent pixel to the first pixel when it is determined that the first adjacent pixel is a pixel included in the first region, and resetting the first adjacent pixel and the first pixel as a new first pixel;
an extraction step of extracting the reset first pixel as a first extracted image ;
and a probability distribution modifying step of modifying the first probability distribution based on the reset color information of the first pixel in the color space .
前記受付工程において、さらに、前記第2領域の一部の画素である第2基準画素の指定を受け付け、
前記基準画素設定工程において、さらに、前記第2基準画素を、第2画素として設定し、
前記確率分布推定工程において、さらに、前記第2基準画素の色空間上の色情報に基づいて、前記画像上の画素が、前記色空間上の座標において、前記第2領域に含まれる確率である第2確率分布を推定し、
前記隣接画素解析工程において、さらに、前記第2画素と隣接する第2隣接画素の色情報と、前記第2確率分布とに基づき、前記第2隣接画素が前記第2領域に含まれる画素か否かを判定し、前記第2隣接画素が前記第2領域に含まれる画素であると判定した場合、前記第2隣接画素を前記第2画素に追加し、前記第2隣接画素と前記第2画素とを、新たな第2画素として再設定し、
前記抽出工程において、さらに、再設定された前記第2画素を第2抽出領域として抽出する請求項1に記載の画像抽出方法。 the image has a second region different from the first region;
The receiving step further includes receiving a designation of a second reference pixel which is a pixel that is a part of the second region;
The reference pixel setting step further includes setting the second reference pixel as a second pixel;
the probability distribution estimation step further comprises estimating a second probability distribution, which is a probability that a pixel on the image is included in the second region at a coordinate in the color space, based on color information in the color space of the second reference pixel;
the adjacent pixel analyzing step further includes judging whether the second adjacent pixel is a pixel included in the second region based on color information of a second adjacent pixel adjacent to the second pixel and the second probability distribution, and when it is determined that the second adjacent pixel is a pixel included in the second region, adding the second adjacent pixel to the second pixel, and resetting the second adjacent pixel and the second pixel as a new second pixel;
2. The image extraction method according to claim 1, wherein the extraction step further comprises extracting the reset second pixel as a second extracted region.
前記受付工程において、さらに、前記第3領域の一部の画素である第3基準画素の指定を受け付け、
前記基準画素設定工程において、さらに、前記第3基準画素を、第3画素として設定し、
前記確率分布推定工程において、さらに、前記第3基準画素の色空間上の色情報に基づいて、前記画像上の画素が、前記色空間上の座標において、前記第3領域に含まれる確率である第3確率分布を推定し、
前記隣接画素解析工程において、さらに、前記第3画素と隣接する第3隣接画素の色情報と、前記第3確率分布とに基づき、前記第3隣接画素が前記第3領域に含まれる画素か否かを判定し、前記第3隣接画素が前記第3領域に含まれる画素であると判定した場合、前記第3隣接画素を前記第3画素に追加し、前記第3隣接画素と前記第3画素とを、新たな第3画素として再設定し、
前記抽出工程において、さらに、再設定された前記第3画素を第3抽出領域として抽出する請求項2から4の何れか1項に記載の画像抽出方法。 the image has a third region that is different from both the first region and the second region;
The receiving step further includes receiving a designation of a third reference pixel which is a pixel that is a part of the third region;
The reference pixel setting step further includes setting the third reference pixel as a third pixel;
the probability distribution estimation step further comprises estimating a third probability distribution, which is a probability that a pixel on the image is included in the third region at a coordinate in the color space, based on color information in the color space of the third reference pixel;
the neighboring pixel analyzing step further comprises determining whether the third neighboring pixel is a pixel included in the third region based on color information of a third neighboring pixel adjacent to the third pixel and the third probability distribution, and when it is determined that the third neighboring pixel is a pixel included in the third region, adding the third neighboring pixel to the third pixel, and resetting the third neighboring pixel and the third pixel as a new third pixel;
The image extraction method according to claim 2 , wherein the extraction step further comprises extracting the reset third pixel as a third extraction region.
前記第1基準画素の色空間上の色情報に基づいて、前記画像上の画素が、前記色空間上の座標において、前記第1領域に含まれる確率である第1確率分布を推定する確率分布推定部と、
前記第1画素と隣接する第1隣接画素の色情報と、前記第1確率分布とに基づき、前記第1隣接画素が前記第1領域に含まれる画素か否かを判定し、前記第1隣接画素が前記第1領域に含まれる画素であると判定した場合、前記第1隣接画素を前記第1画素に追加し、前記第1隣接画素と前記第1画素とを、新たな第1画素として再設定する隣接画素解析部と、
再設定された前記第1画素を第1抽出領域として抽出する抽出画像生成部と、
再設定された前記第1画素の前記色空間上の色情報に基づいて、前記第1確率分布を修正する確率分布修正部と、を備えた画像抽出装置。 a reference pixel setting unit that receives a designation of a first reference pixel that is a pixel of a part of a first region included in an image, and sets the first reference pixel as a first pixel;
a probability distribution estimation unit that estimates a first probability distribution, which is a probability that a pixel on the image is included in the first region at a coordinate in the color space, based on color information on the color space of the first reference pixel;
an adjacent pixel analysis unit that determines whether or not the first adjacent pixel is a pixel included in the first region based on color information of a first adjacent pixel adjacent to the first pixel and the first probability distribution, and adds the first adjacent pixel to the first pixel when it is determined that the first adjacent pixel is a pixel included in the first region, and resets the first adjacent pixel and the first pixel as a new first pixel;
an extraction image generating unit that extracts the reset first pixel as a first extraction region ;
a probability distribution correction unit that corrects the first probability distribution based on the reset color information of the first pixel in the color space .
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2021063694A JP7611571B2 (en) | 2021-04-02 | 2021-04-02 | IMAGE EXTRACTION METHOD, IMAGE EXTRACTION DEVICE, IMAGE EXTRACTION PROGRAM, AND RECORDING MEDIUM |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2021063694A JP7611571B2 (en) | 2021-04-02 | 2021-04-02 | IMAGE EXTRACTION METHOD, IMAGE EXTRACTION DEVICE, IMAGE EXTRACTION PROGRAM, AND RECORDING MEDIUM |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2022158652A JP2022158652A (en) | 2022-10-17 |
| JP7611571B2 true JP7611571B2 (en) | 2025-01-10 |
Family
ID=83638509
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2021063694A Active JP7611571B2 (en) | 2021-04-02 | 2021-04-02 | IMAGE EXTRACTION METHOD, IMAGE EXTRACTION DEVICE, IMAGE EXTRACTION PROGRAM, AND RECORDING MEDIUM |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP7611571B2 (en) |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2010079477A (en) | 2008-09-25 | 2010-04-08 | Rakuten Inc | Foreground area extraction program, foreground area extraction device, and foreground area extraction method |
| JP2017126304A (en) | 2016-01-15 | 2017-07-20 | 富士ゼロックス株式会社 | Image processing apparatus, image processing method, image processing system, and program |
| JP2019086899A (en) | 2017-11-02 | 2019-06-06 | キヤノン株式会社 | INFORMATION PROCESSING APPARATUS, IMAGE REGION SELECTING METHOD, COMPUTER PROGRAM, AND STORAGE MEDIUM |
-
2021
- 2021-04-02 JP JP2021063694A patent/JP7611571B2/en active Active
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2010079477A (en) | 2008-09-25 | 2010-04-08 | Rakuten Inc | Foreground area extraction program, foreground area extraction device, and foreground area extraction method |
| JP2017126304A (en) | 2016-01-15 | 2017-07-20 | 富士ゼロックス株式会社 | Image processing apparatus, image processing method, image processing system, and program |
| JP2019086899A (en) | 2017-11-02 | 2019-06-06 | キヤノン株式会社 | INFORMATION PROCESSING APPARATUS, IMAGE REGION SELECTING METHOD, COMPUTER PROGRAM, AND STORAGE MEDIUM |
Non-Patent Citations (1)
| Title |
|---|
| 境田 慎一 Shinichi Sakaida,背景差分法と時空間watershedによる領域成長法を併用した動画像オブジェクトの抽出 Moving Object Extraction Using Background Image Estimation and Region Growing with Spatio-temporal Watersheds,電子情報通信学会技術研究報告 Vol.99 No.680 IEICE Technical Report,日本,社団法人電子情報通信学会 The Institute of Electronics,Information and Communication Engineers,2000年03月10日,第99巻 |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2022158652A (en) | 2022-10-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN109033955B (en) | A face tracking method and system | |
| CN109977952B (en) | Candidate target detection method based on local maximum | |
| US20230237777A1 (en) | Information processing apparatus, learning apparatus, image recognition apparatus, information processing method, learning method, image recognition method, and non-transitory-computer-readable storage medium | |
| JPH09101970A (en) | Image search method and image search apparatus | |
| US20100104194A1 (en) | Image processing apparatus, electronic medium, and image processing method | |
| KR20220126264A (en) | Video jitter detection method and device, electronic equipment and storage medium | |
| KR20210065901A (en) | Method, device, electronic equipment and medium for identifying key point positions in images | |
| US9619729B2 (en) | Density measuring device, density measuring method, and computer program product | |
| CN116188917B (en) | Defect data generation model training method, defect data generation method and device | |
| JP7611571B2 (en) | IMAGE EXTRACTION METHOD, IMAGE EXTRACTION DEVICE, IMAGE EXTRACTION PROGRAM, AND RECORDING MEDIUM | |
| US20220392107A1 (en) | Image processing apparatus, image processing method, image capturing apparatus, and non-transitory computer-readable storage medium | |
| CN109800702B (en) | Quick comparison method for finger vein identification and computer readable storage medium | |
| JP6546385B2 (en) | IMAGE PROCESSING APPARATUS, CONTROL METHOD THEREOF, AND PROGRAM | |
| CN113343797B (en) | Information extraction method, device, terminal device and computer readable storage medium | |
| US20150084889A1 (en) | Stroke processing device, stroke processing method, and computer program product | |
| JP2012043437A (en) | Image processing method and image processing device | |
| JP6954070B2 (en) | Discrimination program, discrimination method and discrimination device | |
| CN114359903B (en) | Text recognition method, device, equipment and storage medium | |
| US8606494B2 (en) | Map generation apparatus, map generation method and computer readable medium | |
| US20110064314A1 (en) | Line segment extraction device | |
| CN111382834B (en) | A confidence comparison method and device | |
| EP3699863B1 (en) | IMAGE INTERPRETATION DEVICE | |
| US11886513B2 (en) | Data analysis system, data analysis method, and computer program product | |
| JP2022191790A (en) | Abnormality detection device, abnormality detection method, and abnormality detection program | |
| CN115410015B (en) | Template matching methods, systems, devices, and media based on template edge scoring |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A80 | Written request to apply exceptions to lack of novelty of invention |
Free format text: JAPANESE INTERMEDIATE CODE: A80 Effective date: 20210409 |
|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20231204 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20240819 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20240903 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20240927 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20241210 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20241217 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7611571 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |