情報詳細Q: find_shape_modelの処理結果が HALCON11、HALCON12、 HALCON13で出力が変わる原因を教えてもらえるでしょうか? A:出力が変化する原因としては主に以下の3つが挙げられます。・バグ修正・機能改善・CPUの拡張命令セットに対応上記の変更により内部のアルゴリズムが変化し、微妙な差が発生致します。バージョン間の差異はリリースノートに記載されておりますのでご覧ください。■HALCON12について マッチングのモデルや検査画像のピラミッドレベルの計算に修正があり以前のバージョンと結果が異なるということです。 以前のバージョン(HALCON12以前)では、少し良くないマッチング結果が得られていたようでそれらを修正したようです。 C:/Program%20Files/MVTec/HALCON-12.0/release_notes_12_0.html#Features_12_0 Because of a fix regarding the calculation of image pyramids, all operators for the creation of matching models (e.g., create_shape_model) and for finding these models in search images (e.g., find_shape_model) may produce slightly different results. This means that models created with earlier HALCON versions are not fully consistent with the current find operators, which may lead to slightly worse matching results. As a consequence, it is recommended to regenerate all matching models that have been created or modified with one of the following operators: ■HALCON13について オーバーラップしたものに対して、修正が入りました。 以前のバージョンまでは取りこぼしていたものを取りこぼさないよう修正しています。 C:/Program%20Files/MVTec/HALCON-13.0/release_notes_13_0.html#Details find_shape_model, did not discard all matching candidates correctly in cases of many overlapping candidate matches. This led to a huge amount of overlapping candidates although the parameter 'max_overlap' was set to a small value or no overlap was tolerated at all. This problem has been fixed. また、360°跨ぎあたりでは以前のHALCONのバージョンと比べるとそこでのマッチング結果に 改良が加えられているようでして、HALCON13と以前のバージョンだと完全に互換性があるとは言えないようです。 file:///C:/Program%20Files/MVTec/HALCON-13.0/release_notes_13_0.html#Compatibility_Further最後の要因はCPUの命令セットです。HALCON13は高速化のためSSE2命令やAVX命令に対応させていますが、 命令セットにより浮動小数点の演算結果が若干変わりうる可能性はあります。 添付ファイルタイトルfind_shape_model系の処理結果がHALCON11,HALCON12,HALCON13の間で異なるURL 名000005675公開状況公開済み検証状況公開済み