JP2015056149A - Musical score recognition device and program - Google Patents
Musical score recognition device and program Download PDFInfo
- Publication number
- JP2015056149A JP2015056149A JP2013190883A JP2013190883A JP2015056149A JP 2015056149 A JP2015056149 A JP 2015056149A JP 2013190883 A JP2013190883 A JP 2013190883A JP 2013190883 A JP2013190883 A JP 2013190883A JP 2015056149 A JP2015056149 A JP 2015056149A
- Authority
- JP
- Japan
- Prior art keywords
- score
- recognition
- processing unit
- recognition processing
- unit
- 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.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V30/00—Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
- G06V30/10—Character recognition
- G06V30/30—Character recognition based on the type of data
- G06V30/304—Music notations
Landscapes
- Engineering & Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Theoretical Computer Science (AREA)
- Auxiliary Devices For Music (AREA)
- Character Discrimination (AREA)
Abstract
Description
本発明は、楽譜認識装置及びプログラムに関する。 The present invention relates to a score recognition apparatus and a program.
楽曲を表現する楽譜に記載される譜表を複数小節線により区切られた複数小節の各々が演奏されるときに経過する小節長さを算出する小節長算出部を有する楽譜認識装置が知られている(例えば、特許文献1参照)。リズムパターン修正部は、複数小節のうちの小節長さが譜表に記載される拍子記号に対応しない誤認小節の誤認リズムパターンを拍子記号に対応するように修正する。リズムパターン辞書データベースは、複数リズムパターンを記憶装置に記録する。リズムパターン修正部は、複数リズムパターンから誤認リズムパターンに類似する類似リズムパターンを検索して誤認リズムパターンを類似リズムパターンに変更する。リズムパターン辞書データベースは、複数リズムパターンに複数符号横位置パターンを対応付ける。リズムパターン修正部は、複数符号横位置パターンから誤認小節に記載される複数の符号の横位置のパターンに類似する類似符号横位置パターンを検索し、類似符号横位置パターンに対応する類似リズムパターンに誤認リズムパターンを変更する。 2. Description of the Related Art A score recognition device having a measure length calculation unit that calculates a measure length that elapses when each of a plurality of measures in which a staff described in a score representing a music is divided by a plurality of measure lines is known. (For example, refer to Patent Document 1). The rhythm pattern correction unit corrects the misidentified rhythm pattern of the misidentified measure whose measure length does not correspond to the time signature described in the staff so as to correspond to the time signature. The rhythm pattern dictionary database records a plurality of rhythm patterns in a storage device. The rhythm pattern correction unit searches for a similar rhythm pattern similar to the misidentified rhythm pattern from the plurality of rhythm patterns, and changes the misidentified rhythm pattern to a similar rhythm pattern. The rhythm pattern dictionary database associates a plurality of code lateral position patterns with a plurality of rhythm patterns. The rhythm pattern correction unit searches for a similar code horizontal position pattern similar to the horizontal position pattern of the plurality of codes described in the misrecognized measure from the multiple code horizontal position pattern, and generates a similar rhythm pattern corresponding to the similar code horizontal position pattern. Change the misperception rhythm pattern.
また、楽譜画像データから記号を認識し、認識された記号を元に楽譜データを生成する楽譜認識装置が知られている(例えば、特許文献2参照)。楽譜認識装置は、手書き楽譜の記号を認識する手書き楽譜認識処理手段を備える。手書き楽譜認識処理手段は、認識用辞書を用いたマッチング処理を実行してマッチング度が最高によい記号を認識とするとともにマッチング度が次によい1つあるいは複数の記号を候補記号として認識する認識機能と、楽譜表記スタイル情報を元に、マッチング度が最高によい記号の妥当性を判定し、妥当でないと判定した場合にマッチング度が最高によい記号を候補記号に変更しつつその妥当性を判定し、妥当と判定された候補記号にマッチング度が最高によい記号を修正する認識結果修正機能を有する。認識結果修正機能は、認識された記号から算出される小節演奏長さと楽譜における楽譜表記スタイル情報としての拍子情報から算出される小節実長さを比較する機能と、小節演奏長さが小節実長さと同じ場合、当該小節のリズムパターンをリズムパターン辞書として保存する機能と、小節演奏長さが小節実長さと異なる場合、当該小節のリズムパターンをリズムパターン辞書と比較し、最も近いリズムパターンになるように記号を修正する機能を含む。 There is also known a musical score recognition apparatus that recognizes a symbol from musical score image data and generates musical score data based on the recognized symbol (see, for example, Patent Document 2). The score recognition device includes handwritten score recognition processing means for recognizing a symbol of a handwritten score. The handwritten score recognition processing means executes a matching process using a recognition dictionary to recognize a symbol having the best matching degree and recognizes one or more symbols having the next highest matching degree as candidate symbols. Based on the function and musical score notation style information, the validity of the symbol with the best matching is judged, and if it is judged to be invalid, the symbol with the best matching is changed to the candidate symbol and the validity is confirmed. It has a recognition result correction function for determining and correcting a symbol having the best matching degree to a candidate symbol determined to be valid. The recognition result correction function compares the bar performance length calculated from the recognized symbols with the actual bar length calculated from the time signature information as the notation style information in the score, and the bar performance length is the actual bar length. If the measure performance length is different from the actual measure length, the rhythm pattern of the measure is compared with the rhythm pattern dictionary and the closest rhythm pattern is obtained. Includes the ability to correct symbols.
また、紙面の楽譜の情報を含む画像を、画像読み取り手段から取得する画像取得手段を有する楽譜認識装置が知られている(例えば、特許文献3参照)。楽譜認識手段は、画像取得手段により取得された画像に含まれる楽譜を、先ず第1の楽譜認識方法を用いて認識する。間違い箇所検出手段は、認識手段により認識された楽譜の中から間違って認識されている箇所を検出する。制御手段は、間違い箇所検出手段により検出された誤認識箇所を、第1の楽譜認識方法とは異なる楽譜認識方法を用いて楽譜認識を行うように楽譜認識手段を制御する。楽譜修正手段は、第1の楽譜認識方法とは異なる楽譜認識方法を用いて楽譜認識を行った結果、誤認識された箇所が正しく認識された場合に、誤認識された箇所を正しい認識結果で修正する。間違い箇所検出手段は、拍子記号と小節内の音符の拍数とから間違い箇所を検出する。 Also, there is known a score recognition device having an image acquisition unit that acquires an image including information on a sheet music score from an image reading unit (see, for example, Patent Document 3). The score recognition means first recognizes the score included in the image acquired by the image acquisition means using the first score recognition method. The error location detection means detects a location that is erroneously recognized from the score recognized by the recognition means. The control means controls the score recognition means so as to perform score recognition using a score recognition method different from the first score recognition method for the erroneous recognition location detected by the mistake location detection means. The score correcting means recognizes the misrecognized portion with the correct recognition result when the misrecognized location is correctly recognized as a result of performing the score recognition using a score recognition method different from the first score recognition method. Correct it. The error location detection means detects an error location from the time signature and the number of beats of the notes in the measure.
楽譜には、印刷楽譜と手書き楽譜がある。手書き楽譜の認識は、印刷楽譜の認識に比べて、誤認識が多く、認識率が低い。 The score includes a printed score and a handwritten score. The recognition of handwritten music is more erroneous and the recognition rate is lower than the recognition of printed music.
本発明の目的は、楽譜の認識率を向上させることができる楽譜認識装置及びプログラムを提供することである。 An object of the present invention is to provide a score recognition device and a program capable of improving the score recognition rate.
本発明の楽譜認識装置は、楽譜画像を基に一部の楽譜記号を認識する事前認識処理部と、前記事前認識処理部の認識結果を修正する修正部と、前記修正部により修正された認識結果を用いて、前記楽譜画像を基に他の楽譜記号を認識する本認識処理部とを有することを特徴とする。 The score recognition apparatus of the present invention is corrected by a pre-recognition processing unit for recognizing a part of score symbols based on a score image, a correction unit for correcting a recognition result of the pre-recognition processing unit, and the correction unit. And a main recognition processing unit for recognizing other musical score symbols based on the musical score image using the recognition result.
また、本発明のプログラムは、楽譜画像を基に一部の楽譜記号を認識する事前認識処理ステップと、前記事前認識処理ステップの認識結果を修正する修正ステップと、前記修正ステップにより修正された認識結果を用いて、前記楽譜画像を基に他の楽譜記号を認識する本認識処理ステップとをコンピュータに実行させるためのプログラムである。 Further, the program of the present invention has been modified by the pre-recognition processing step for recognizing some musical notation symbols based on the score image, the correction step for correcting the recognition result of the pre-recognition processing step, and the correction step. This is a program for causing a computer to execute a main recognition processing step of recognizing another musical score symbol based on the musical score image using a recognition result.
特に手書き楽譜の認識は誤認識が多いが、一部の楽譜記号の認識結果を修正し、修正された認識結果を用いて、他の楽譜記号を認識することにより、楽譜の認識率を向上させることができる。 Especially, recognition of handwritten music is often misrecognized, but the recognition result of some music symbols is corrected and the score recognition rate is improved by recognizing other music symbols using the corrected recognition results. be able to.
図12は、本発明の実施形態による楽譜認識装置1200の構成例を示す図である。楽譜認識装置1200は、楽譜画像指定部1201、五線認識処理部1202、認識対象判断部1203、認識指示部1204、第1の手書き楽譜認識部1205、第2の手書き楽譜認識部1206、印刷楽譜認識部1207、及び表示部1208を有する。第1の手書き楽譜認識部1205は、事前認識処理部1211、修正部1212、及び本認識処理部1215を有する。本認識処理部1215は、楽譜認識処理部1213及び推定処理部1214を有する。第2の手書き楽譜認識部1206は、楽譜認識処理部1221及び推定処理部1222を有する。印刷楽譜認識部1207は、楽譜認識処理部1231及び推定処理部1232を有する。
FIG. 12 is a diagram illustrating a configuration example of a
図11は、図12の楽譜認識装置1200を実現するためのコンピュータのハードウエア構成例を示す図である。コンピュータは、例えば、パーソナルコンピュータ又はタブレット型コンピュータである。バス1101には、中央処理装置(CPU)1102、ROM1103、RAM1104、ネットワークインタフェース1105、入力装置1106、出力装置1107及び外部記憶装置1108が接続されている。CPU1102は、データの処理又は演算を行うと共に、バス1101を介して接続された各種構成要素を制御するものである。ROM1103には、予めCPU1102の制御手順(コンピュータプログラム)を記憶させておき、このコンピュータプログラムをCPU1102が実行することにより、起動する。外部記憶装置1108にコンピュータプログラムが記憶されており、そのコンピュータプログラムがRAM1104にコピーされ、CPU1102により実行される。RAM1104は、データの入出力、送受信のためのワークメモリ、各構成要素の制御のための一時記憶として用いられる。外部記憶装置1108は、例えばハードディスク記憶装置やCD−ROM等であり、電源を切っても記憶内容が消えない。CPU1102は、RAM1104内のコンピュータプログラムを実行することにより、楽譜認識装置1200の処理を行う。ネットワークインタフェース1105は、インターネット等のネットワークに接続するためのインタフェースである。入力装置1106は、パーソナルコンピュータではキーボード及びマウス等であり、タブレット型コンピュータではタッチパネルであり、各種指定又は入力等を行うことができる。また、入力装置1106は、楽譜の画像データを生成するためのスキャナを含む。出力装置1107は、表示装置、スピーカ及びプリンタ等である。
FIG. 11 is a diagram illustrating a hardware configuration example of a computer for realizing the musical
本実施形態は、コンピュータがプログラムを実行することによって実現することができる。また、上記のプログラムを記録したコンピュータ読み取り可能な記録媒体及び上記のプログラム等のコンピュータプログラムプロダクトも本発明の実施形態として適用することができる。記録媒体としては、例えばフレキシブルディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、磁気テープ、不揮発性のメモリカード、ROM等を用いることができる。 This embodiment can be realized by a computer executing a program. Further, a computer-readable recording medium in which the above program is recorded and a computer program product such as the above program can also be applied as an embodiment of the present invention. As the recording medium, for example, a flexible disk, a hard disk, an optical disk, a magneto-optical disk, a CD-ROM, a magnetic tape, a nonvolatile memory card, a ROM, or the like can be used.
図1は、楽譜認識装置1200の処理方法を示すフローチャートである。図11のCPU1102は、楽譜認識のプログラムを実行することにより、図1のフローチャートの処理を行う。以下、入力装置1106がマウスの例を説明するが、入力装置1106がタッチパネルの場合も同様である。
FIG. 1 is a flowchart showing a processing method of the
まず、ステップS101では、表示部1208は、図2に示す認識画面を出力装置(表示装置)1107に表示する。ユーザが「スキャン」ボタン201をマウスでクリックすると、スキャナは、楽譜をスキャンし、楽譜画像のファイルを生成する。なお、スキャナを用いずに、楽譜画像のファイルを準備してもよい。
First, in step S <b> 101, the
次に、ステップS102では、楽譜画像指定部1201は、楽譜画像のファイルが登録されたか否かをチェックする。楽譜画像指定部1201は、スキャナを用いて楽譜画像のファイルが生成された場合は自動でファイルを登録し、ユーザが直接ファイル指定した場合は指定されたファイルを登録する。ユーザの直接ファイル指定により登録する場合は、例えば画像ファイル202を選択して登録する。すると、表示部1208は、図3に示すように、登録された楽譜画像301を表示する。楽譜画像が登録された場合にはステップS103に進み、登録されていない場合にはステップS104に進む。
Next, in step S102, the score
ステップS103では、五線認識処理部1202は、楽譜画像301の五線の認識処理を行う。その後、ステップS104に進む。
In step S103, the staff
ステップS104では、CPU1102は、楽譜画像が1ページ以上登録されているか否かをチェックする。登録されていない場合にはステップS102に戻り、登録されている場合にはステップS105に進む。
In step S104, the
ステップS105では、CPU1102は、ユーザにより「認識実行」ボタン302がマウスでクリックされたか否かをチェックする。「認識実行」ボタン302がクリックされた場合にはステップS106に進み、クリックされていない場合にはステップS102に戻る。
In step S <b> 105, the
ステップS106では、認識対象判断部1203は、楽譜画像301が印刷楽譜及び手書き楽譜のいずれであるかを判断する。楽譜画像301内の音符は、符頭(たま)を有する。例えば、認識対象判断部1203は、楽譜画像301内の複数の音符の符頭(たま)の形状のばらつきが閾値より小さい場合には、楽譜画像301が印刷楽譜であると判断し、閾値より大きい場合には、楽譜画像301が手書き楽譜であると判断する。
In step S106, the recognition
次に、ステップS107では、表示部1208は、図4に示すように、上記の認識対象判断部1203の判断結果を出力装置(表示装置)1107に表示する。例えば、「印刷楽譜と判断しました。」と表示される。
Next, in step S107, the
次に、ステップS108では、認識指示部1204は、ユーザにより「印刷楽譜として認識」ボタン401及び「手書き楽譜として認識」ボタン402のいずれがマウスでクリックされたかをチェックする。なお、上記の認識対象判断部1203により印刷楽譜であると判断された場合には、「印刷楽譜として認識」ボタン401の位置にカーソルがデフォルト設定され、「印刷楽譜として認識」の設定が容易になる。「印刷楽譜として認識」ボタン401がクリックされた場合には、ステップS116に進み、「手書き楽譜として認識」ボタン402がクリックされた場合には、ステップS109に進む。
In step S108, the
ステップS109では、表示部1208は、図5に示す画面を出力装置(表示装置)1107に表示し、事前認識を行い、結果を修正してから全体を認識するか否かをユーザに問い合わせる。認識指示部1204は、ユーザにより「はい」ボタン501及び「いいえ」ボタン502のいずれがマウスでクリックされたかをチェックする。「はい」ボタン501がクリックされた場合には、ステップS110に進み、「いいえ」ボタン502がクリックされた場合には、ステップS115に進む。
In step S109, the
ステップS110〜S114の処理は、第1の手書き楽譜認識部1205により行われる。第1の手書き楽譜認識部1205は、事前認識処理部1211、修正部1212、及び本認識処理部1215を有する。
The processing in steps S110 to S114 is performed by the first handwritten
ステップS110では、事前認識処理部1211は、登録された楽譜画像301を基に全楽譜記号のうちの一部の重要楽譜記号の認識を行う。重要楽譜記号は、拍子記号、小節線、音部記号及び調号である。例えば、事前認識処理部1211は、図6に示すように、楽譜画像301内の音部記号(ヘ音記号)601、拍子記号602及び小節線603〜605の認識処理を行う。
In step S110, the
次に、ステップS111では、表示部1208は、図6の元の楽譜画像301を黒色で表示し、それに対して、事前認識処理部1211の図7の認識結果の楽譜記号702,703,705を赤色で重ねて表示する。本来は、図6の画面と図7の画面が重なって表示されるが、表示内容の明確化のため、図6の画面と図7の画面を分けて示す。事前認識処理部1211は、図6の楽譜画像301内の手書きの音部記号(ヘ音記号)601を認識することができず、図7の認識結果に表示させることができなかった。また、事前認識処理部1211は、図6の楽譜画像301内の手書きの「2/4」の拍子記号602を、図7の「2/8」の拍子記号702に誤認識している。また、事前認識処理部1211は、図6の楽譜画像301内の小節線603を、図7の小節線703として正しく認識している。また、事前認識処理部1211は、図6の楽譜画像301内のかすれた小節線604を認識することができず、図7の認識結果に表示させることができなかった。また、事前認識処理部1211は、図6の楽譜画像301内の小節線605を、図7の小節線705として正しく認識している。
Next, in step S111, the
次に、ステップS112では、修正部1212は、ユーザの指示により、事前認識処理部1211の図7の認識結果を、図8の正しい認識結果に修正する。ユーザは、「ヘ音記号」ボタン812をマウスでクリックし、図6の音部記号(ヘ音記号)601の位置をマウスで指定する。すると、修正部1212は、図6の音部記号(ヘ音記号)601の認識結果として図8の音部記号(ヘ音記号)801を追加する。表示部1208は、図6の音部記号(ヘ音記号)601の上に重ねて、図8の赤色の音部記号(ヘ音記号)801を表示する。
Next, in step S112, the
また、ユーザは、「消しゴム」ボタン811をマウスでクリックし、図7の誤認識の「2/8」の拍子記号702の位置をマウスで指定する。すると、修正部1212は、図7の認識結果の「2/8」の拍子記号702を削除する。表示部1208は、図7の認識結果の「2/8」の拍子記号702の表示を削除する。
In addition, the user clicks the “eraser”
次に、ユーザは、「2/4」拍子記号ボタン813をマウスでクリックし、図6の拍子記号602の位置をマウスで指定する。すると、修正部1212は、図6の拍子記号602の認識結果として図8の「2/4」の拍子記号802を追加する。表示部1208は、図6の拍子記号602の上に重ねて、図8の赤色の「2/4」の拍子記号802を表示する。
Next, the user clicks the “2/4”
次に、ユーザは、「小節線」ボタン814をマウスでクリックし、図6の小節線604の位置をマウスで指定する。すると、修正部1212は、図6の小節線604の認識結果として図8の小節線804を追加する。表示部1208は、図6の小節線604の上に重ねて、図8の赤色の小節線804を表示する。
Next, the user clicks the “bar line”
次に、ステップS113では、修正部1212は、修正が完了したか否かをチェックする。具体的には、修正部1212は、ユーザにより、「OK]ボタン815がマウスでクリックされた場合には、修正が完了したと判断し、ステップS114に進む。「OK」ボタン815がクリックされていない場合には、ステップS112に戻る。
Next, in step S113, the
ステップS114では、本認識処理部1215は、修正部1212により修正された認識結果を用いて、楽譜画像301を基に、上記の重要楽譜記号(拍子記号、小節線、音部記号及び調号)の認識を行わず、他の非重要楽譜記号を認識する。非重要楽譜記号は、重要楽譜記号(拍子記号、小節線、音部記号及び調号)以外の楽譜記号であり、音符及び休符を含む。
In step S114, the main
具体的には、本認識処理部1215は、楽譜認識処理部1213及び推定処理部1214を有する。楽譜認識処理部1213は、楽譜画像301を基に非重要楽譜記号(音符及び休符等)を認識する。ここで、楽譜認識処理部1213は、楽譜画像301内の音符606を2個の8分音符として認識する。
Specifically, the main
推定処理部1214は、修正部1212により修正された図8の認識結果を用いて、楽譜認識処理部1213の非重要楽譜記号(音符及び/又は休符等)の認識結果を修正する。例えば、推定処理部1213は、図8の認識結果の「2/4」の拍子記号802及び小節線703,804,705の情報を用いて、非重要楽譜記号(音符及び/又は休符等)の認識結果を修正する。すなわち、小節線703,804,705間の各小節内の音符及び/又は休符の長さの合計が、「2/4」の拍子記号802に合うように、音符及び/又は休符の長さを修正する。例えば、第1小節は、1個の2分音符と、2個の8分音符を有するものとして、楽譜認識処理部1213により認識されている。しかし、これでは、第1小節は、3拍になってしまい、「2/4」の拍子記号802の拍数に合わない。この場合、推定処理部1222は、「2/4」の拍子記号802の拍数に合うように、第1小節の音符を修正する。具体的には、推定処理部1222は、図6の楽譜画像301内の音符606を、2個の8分音符から2個の装飾音符906(図9)に修正する。装飾音符906は、短い飾りの音であり、小さな音符記号で表記される。上記のように、第1の手書き楽譜認識部1205は、楽譜画像301内の楽譜記号を認識し、楽譜データを生成する。
The
次に、ステップS117では、表示部1208は、図9に示すように、上記の第1の手書き楽譜認識部1205の認識結果の楽譜を出力装置(表示装置)1107に表示する。第1の手書き楽譜認識部1205が認識した楽譜記号は、すべてが正しいものになっている。
In step S117, the
ステップS115では、第2の手書き楽譜認識部1206は、楽譜認識処理部1221及び推定処理部1222を有し、楽譜画像301の楽譜認識処理を行う。楽譜認識処理部1221は、楽譜画像301を基にすべての楽譜記号(重要楽譜記号及び非重要楽譜記号を含む)の認識処理を行う。推定処理部1222は、楽譜認識処理部1221の認識結果を修正する。
In step S115, the second handwritten
この場合、楽譜認識処理部1221は、ステップS110と同様に、図6の楽譜画像301内の手書きの音部記号(ヘ音記号)601を認識することができない(図7参照)。これでは、音部記号がなくなってしまうので、推定処理部1222は、デフォルトの音部記号(ト音記号)1001(図10)を追加する。
In this case, the score
また、楽譜認識処理部1221は、ステップS110と同様に、図6の楽譜画像301内の手書きの「2/4」の拍子記号602を、図7の「2/8」の拍子記号702に誤認識する。また、楽譜認識処理部1221は、図6の楽譜画像301内の小節線603を、図7の小節線703として正しく認識する。また、楽譜認識処理部1221は、図6の楽譜画像301内のかすれた小節線604を認識することができない(図7参照)。また、楽譜認識処理部1221は、図6の楽譜画像301内の小節線605を、図7の小節線705として正しく認識する。その結果、図10のように、小節線703及び705の間の第2小節の間には、4個の4分音符が認識されている。
Also, the score
推定処理部1222は、図10の第2小節内の4個の4分音符を基に拍子を推定すると、楽譜認識処理部1221により認識された図7の「2/8」の拍子記号702が誤りであると判断し、図7の「2/8」の拍子記号702を図10の「4/4」の拍子記号1002に修正する。
When the
また、楽譜認識処理部1221は、図6の音符606を図10の2個の8分音符1006として認識する。
Also, the score
次に、ステップS117では、表示部1208は、図10に示すように、上記の第2の手書き楽譜認識部1206の認識結果の楽譜を出力装置(表示装置)1107に表示する。図10の楽譜は、図6の楽譜画像301に対して、4個の誤認識が存在する。第1に、図6のヘ音記号601が図10のト音記号1001に誤認識されている。第2に、図6の「2/4」の拍子記号602が図10の「4/4」の拍子記号1002に誤認識されている。第3に、図6の装飾音符606が図10の2個の8分音符1006に誤認識されている。第4に、図6の小節線604が認識されておらず、図6の楽譜は3小節であるが、図10の楽譜は2小節に誤認識されている。
Next, in step S117, the
これに対し、図9に示したように、第1の手書き楽譜認識部1205が認識した楽譜記号は、すべてが正しいものになっている。第1の手書き楽譜認識部1205のステップS110〜S114の認識処理は、第2の手書き楽譜認識部1206のステップS115の認識処理に比べ、認識率を向上させることができる。
On the other hand, as shown in FIG. 9, all the musical score symbols recognized by the first handwritten musical
ステップS116では、印刷楽譜認識部1207は、楽譜認識処理部1231及び推定処理部1232を有し、楽譜画像301の楽譜認識処理を行う。楽譜認識処理部1231は、第2の手書き楽譜認識部1206の楽譜認識処理部1221と同様に、楽譜画像301を基にすべての楽譜記号(重要楽譜記号及び非重要楽譜記号を含む)の認識処理を行う。推定処理部1232は、第2の手書き楽譜認識部1206の推定処理部1222と同様に、楽譜認識処理部1231の認識結果を修正する。その後、ステップS117では、表示部1208は、上記の印刷楽譜認識部1207の認識結果の楽譜を出力装置(表示装置)1107に表示する。
In step S116, the printed
上記のように、手書き楽譜は、印刷楽譜に比べ、楽譜内の複数の音符の符頭(たま)の形状や大きさのばらつき、及び符頭(たま)に対する符幹(ぼう)の位置等のばらつきが大きい。そのため、手書き楽譜認識部1205及び1206内の楽譜認識処理部1213及び1221は、印刷楽譜認識部1207内の楽譜認識処理部1231に比べ、上記のばらつきの閾値を大きくして認識を行う。
As described above, the handwritten score is different from the printed score in terms of variations in the shape and size of the note heads in the score, the position of the stem of the note head, etc. Variation is large. Therefore, the score
なお、上記の重要楽譜記号は、拍子記号、小節線、音部記号及び調号に限定されない。重要楽譜記号は、拍子記号又は小節線を含むものであればよく、非重要楽譜記号は、音符又は休符を含むものであればよい。好ましくは、重要楽譜記号は、拍子記号及び小節線を含み、非重要楽譜記号は、音符又は休符を含む。より好ましくは、重要楽譜記号は、拍子記号、小節線、音部記号及び調号を含む。 The important musical score symbols are not limited to time signatures, bar lines, clefs, and key signatures. The important musical notation symbols only need to include time signatures or bar lines, and the non-important musical notation symbols only need to include notes or rests. Preferably, important score symbols include time signatures and bar lines, and non-important score symbols include notes or rests. More preferably, the important musical notation symbols include time signatures, bar lines, clefs and key signatures.
事前認識処理部1211は、少なくとも拍子記号及び小節線を認識する。修正部1212は、事前認識処理部1211により認識された拍子記号及び/又は小節線を修正する。楽譜認識処理部1213は、少なくとも音符及び休符を認識する。推定処理部1214は、修正部1212により修正された拍子記号及び/又は小節線を用いて、楽譜認識処理部1213により認識された音符及び/又は休符を修正する。
The prior
特に、手書き楽譜の認識は誤認識が多い。第1の手書き楽譜認識部1205は、ステップS110〜S114の処理により、事前認識処理部1211の一部の楽譜記号の認識結果を修正し、修正された認識結果を用いて、他の楽譜記号を認識することにより、楽譜の認識率を向上させることができる。なお、印刷楽譜であっても認識率が悪い場合があるので、印刷楽譜の場合にも事前認識と修正の処理を加えてもよい。
In particular, recognition of handwritten music is often misrecognized. The first handwritten
なお、上記実施形態は、何れも本発明を実施するにあたっての具体化の例を示したものに過ぎず、これらによって本発明の技術的範囲が限定的に解釈されてはならないものである。すなわち、本発明はその技術思想、又はその主要な特徴から逸脱することなく、様々な形で実施することができる。 The above-described embodiments are merely examples of implementation in carrying out the present invention, and the technical scope of the present invention should not be construed in a limited manner. That is, the present invention can be implemented in various forms without departing from the technical idea or the main features thereof.
1200 楽譜認識装置
1201 楽譜画像指定部
1202 五線認識処理部
1203 認識対象判断部
1204 認識指示部
1205 第1の手書き楽譜認識部
1206 第2の手書き楽譜認識部
1207 印刷楽譜認識部
1208 表示部
1211 事前認識処理部
1212 修正部
1213 楽譜認識処理部
1214 推定処理部
1215 本認識処理部
1221 楽譜認識処理部
1222 推定処理部
1231 楽譜認識処理部
1232 推定処理部
1200
Claims (7)
前記事前認識処理部の認識結果を修正する修正部と、
前記修正部により修正された認識結果を用いて、前記楽譜画像を基に他の楽譜記号を認識する本認識処理部と
を有することを特徴とする楽譜認識装置。 A pre-recognition processing unit for recognizing some musical notation symbols based on a score image;
A correction unit for correcting the recognition result of the prior recognition processing unit;
A score recognition apparatus, comprising: a main recognition processing unit that recognizes another score symbol based on the score image using the recognition result corrected by the correction unit.
前記本認識処理部は、音符又は休符を認識することを特徴とする請求項1記載の楽譜認識装置。 The pre-recognition processing unit recognizes a time signature or a bar line,
The score recognition apparatus according to claim 1, wherein the main recognition processing unit recognizes a note or a rest.
前記本認識処理部は、音符及び休符を認識することを特徴とする請求項1記載の楽譜認識装置。 The pre-recognition processing unit recognizes time signatures and bar lines,
The musical score recognition apparatus according to claim 1, wherein the main recognition processing unit recognizes a note and a rest.
前記本認識処理部は、音符及び休符を認識することを特徴とする請求項1記載の楽譜認識装置。 The pre-recognition processing unit recognizes time signatures, bar lines, clefs and key signatures,
The musical score recognition apparatus according to claim 1, wherein the main recognition processing unit recognizes a note and a rest.
前記楽譜画像を基に他の楽譜記号を認識する楽譜認識処理部と、
前記修正部により修正された認識結果を用いて、前記楽譜認識処理部の認識結果を修正する推定処理部とを有することを特徴とする請求項1記載の楽譜認識装置。 The main recognition processing unit
A score recognition processing unit for recognizing other score symbols based on the score image;
The score recognition apparatus according to claim 1, further comprising an estimation processing unit that corrects the recognition result of the score recognition processing unit using the recognition result corrected by the correction unit.
前記修正部は、前記事前認識処理部により認識された拍子記号及び/又は小節線を修正し、
前記楽譜認識処理部は、音符及び休符を認識し、
前記推定処理部は、前記修正部により修正された拍子記号及び/又は小節線を用いて、前記楽譜認識処理部により認識された音符及び/又は休符を修正することを特徴とする請求項5記載の楽譜認識装置。 The pre-recognition processing unit recognizes time signatures and bar lines,
The correction unit corrects the time signature and / or bar line recognized by the prior recognition processing unit,
The score recognition processing unit recognizes notes and rests,
6. The estimation processing unit corrects the notes and / or rests recognized by the score recognition processing unit using the time signature and / or bar line corrected by the correction unit. The musical score recognition apparatus described.
前記事前認識処理ステップの認識結果を修正する修正ステップと、
前記修正ステップにより修正された認識結果を用いて、前記楽譜画像を基に他の楽譜記号を認識する本認識処理ステップとをコンピュータに実行させるためのプログラム。 A pre-recognition processing step for recognizing some musical notation symbols based on a score image;
A correction step of correcting the recognition result of the pre-recognition processing step;
A program for causing a computer to execute a main recognition processing step of recognizing another musical score symbol based on the musical score image using the recognition result corrected in the correcting step.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013190883A JP6158005B2 (en) | 2013-09-13 | 2013-09-13 | Music score recognition apparatus and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013190883A JP6158005B2 (en) | 2013-09-13 | 2013-09-13 | Music score recognition apparatus and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2015056149A true JP2015056149A (en) | 2015-03-23 |
JP6158005B2 JP6158005B2 (en) | 2017-07-05 |
Family
ID=52820468
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2013190883A Active JP6158005B2 (en) | 2013-09-13 | 2013-09-13 | Music score recognition apparatus and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6158005B2 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106446952A (en) * | 2016-09-28 | 2017-02-22 | 北京邮电大学 | Method and apparatus for recognizing score image |
CN114419634A (en) * | 2022-03-28 | 2022-04-29 | 之江实验室 | Feature rule-based music score analysis method and device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0457183A (en) * | 1990-06-26 | 1992-02-24 | Nec Home Electron Ltd | Musical score recognition system |
JPH06103416A (en) * | 1992-08-03 | 1994-04-15 | Yamaha Corp | Musical score recognizing device |
JP2008123182A (en) * | 2006-11-10 | 2008-05-29 | Kawai Musical Instr Mfg Co Ltd | Musical score recognition device and program |
-
2013
- 2013-09-13 JP JP2013190883A patent/JP6158005B2/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0457183A (en) * | 1990-06-26 | 1992-02-24 | Nec Home Electron Ltd | Musical score recognition system |
JPH06103416A (en) * | 1992-08-03 | 1994-04-15 | Yamaha Corp | Musical score recognizing device |
JP2008123182A (en) * | 2006-11-10 | 2008-05-29 | Kawai Musical Instr Mfg Co Ltd | Musical score recognition device and program |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106446952A (en) * | 2016-09-28 | 2017-02-22 | 北京邮电大学 | Method and apparatus for recognizing score image |
CN106446952B (en) * | 2016-09-28 | 2019-08-16 | 北京邮电大学 | A kind of musical score image recognition methods and device |
CN114419634A (en) * | 2022-03-28 | 2022-04-29 | 之江实验室 | Feature rule-based music score analysis method and device |
Also Published As
Publication number | Publication date |
---|---|
JP6158005B2 (en) | 2017-07-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6229303B2 (en) | Program, information processing apparatus, and character recognition method | |
JP6526608B2 (en) | Dictionary update device and program | |
JP5030144B2 (en) | Music score recognition apparatus and program | |
JP2007109118A (en) | Input instruction processing apparatus and input instruction processing program | |
JP2017507346A (en) | System and method for optical music recognition | |
JP5154886B2 (en) | Music score recognition apparatus and computer program | |
JP6275840B2 (en) | How to identify handwritten characters | |
JP2020046819A (en) | Information processing apparatus and program | |
JP2007272473A (en) | Character recognition device, method and program | |
JP6158005B2 (en) | Music score recognition apparatus and program | |
JP6889420B2 (en) | Code information extraction device, code information extraction method and code information extraction program | |
JP2012138009A (en) | Musical score recognition device, and computer program | |
CN105843414B (en) | Input method input correction method and input method device | |
JP5694236B2 (en) | Document search apparatus, method and program | |
JP5229102B2 (en) | Form search device, form search program, and form search method | |
JP2022095391A (en) | Information processing apparatus and information processing program | |
JP2020087112A (en) | Document processing apparatus and document processing method | |
JP2012043385A (en) | Character recognition device and character recognition method | |
US20220207900A1 (en) | Information processing apparatus, information processing method, and storage medium | |
JP6487100B1 (en) | Form processing apparatus and form processing method | |
JP3812836B2 (en) | Score recognition device | |
JP2012073769A (en) | Musical score recognition device and computer program | |
JP5116073B2 (en) | Music score recognition apparatus and program | |
JP7234554B2 (en) | Information processing device and program | |
JP6935832B2 (en) | Image processing system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20160525 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20170518 |
|
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: 20170530 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20170607 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6158005 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |