情報詳細Q:合焦点法に関して教えていただきたいです。Solution guideを拝見させていただきました。下記の事が良く解りません。Figure 7.2: This ?gure shows the focus stack of images on the left side and the corresponding focus value- that is determined for each pixel - on the right side. The best focus point is the image wherea pixel has the highest sharpness.the highest sharpness とはどういう意味でしょうか?この値を求める論理がしりたいと思うのですが教えていただけませんでしょうか?A:depth_from_focusでは、Filterパラメータの値により、以下のようなフィルタを用いてsharpnessを計算しています。1) Filter = 'bandpass'の場合ResultImage = |A * InputImage| + |B * InputImage| / 2* 1 2 1 1 0 -1* A = 0 0 0 B = 2 0 -2* -1 -2 -1 1 0 -1こちらは、スケーリングを除いてはsobel_amp()のFilterTypeを'sum_abs'としたときと同様になります。また、HALCONの標準サンプルdetermine_sharpness.hdev内のプロシージャ action_calculate_edge_gradient()と同様です。2) Filter = 'hightpass'の場合ResultImage = |A * InputImage|* 10 22 10* A = 22 -128 22* 10 22 10こちらは、スケーリングを除いてはオペレータlaplace()をFilterMask='n_8_isotropic', ResultType = 'absolute' とした場合と同様となります。 添付ファイルタイトルdepth_from_focusでのフォーカスの計算方法についてURL 名000004696公開状況公開済み検証状況公開済み