Skip to content

power_bytePowerBytePowerBytepower_bytepower_byte🔗

説明🔗

power_bytePowerBytePowerBytepower_bytepower_byte — 複素画像のパワースペクトラムを返す。

書式🔗

power_byte( image Image, out image PowerByte )void PowerByte( const HObject& Image, HObject* PowerByte )static void HOperatorSet.PowerByte( HObject image, out HObject powerByte )def power_byte( image: HObject ) -> HObject

Herror power_byte( const Hobject Image, Hobject* PowerByte )

Herror T_power_byte( const Hobject Image, Hobject* PowerByte )

HImage HImage::PowerByte( ) const

HImage HImage.PowerByte( )

説明🔗

power_bytePowerByte は、フーリエ変換された画像 (fft_imageFftImage を参照) の実部と虚部からパワースペクトラムを計算します。結果の画 像タイプは 'byte'"byte" となります。その際に以下に示す公式が使 用されます。

\[\begin{eqnarray*} \sqrt{real part^2 + imaginary part^2} \enspace \end{eqnarray*}\]

結果の画像タイプが 'byte'"byte"であるため、255を超える結果の輝度値は 255でクリッピングされることに注意してください。

実行情報🔗

実行情報
  • マルチスレッドタイプ: リエントラント(非排他なオペレーターと並列に動作)

  • マルチスレッドスコープ: グローバル(他のスレッドから呼び出される可能性あり)

  • tupleレベルで自動的に並列演算処理を実施

  • チャンネルレベルで自動的に並列演算処理を実施

  • ドメインレベルで自動的に並列演算処理を実施

パラメーター🔗

Imageimageimage (input_object) (multichannel-)image(-array) → object (complex)HObject (complex)HImage (complex)HObject (complex)Hobject (complex)

周波数領域内の入力画像

PowerBytepowerBytepower_byte (output_object) image(-array) → object (byte)HObject (byte)HImage (byte)HObject (byte)Hobject * (byte)

入力画像のパワースペクトラム

例🔗

(C)

read_image(&Image,"monkey")\;
disp_image(Image,WindowHandle)\;
fft_image(Image,&FFT)\;
power_byte(FFT,&Power)\;
disp_image(Power,WindowHandle)\;

結果🔗

画像が正しいタイプである場合、power_bytePowerByte は値 2 (H_MSG_TRUE) を返し ます。入力が空の場合、 set_system(::'no_object_result',<Result>:) を通じて設定す ることができます。 必要に応じて、例外が発生します。

他のオペレーターとの組み合わせ🔗

組み合わせ

前処理の候補

fft_imageFftImage, fft_genericFftGeneric, rft_genericRftGeneric, convol_fftConvolFft, convol_gaborConvolGabor

後処理の候補

disp_imageDispImage

他の選択候補

abs_imageAbsImage, convert_image_typeConvertImageType, power_realPowerReal, power_lnPowerLn

関連項目

fft_imageFftImage, fft_genericFftGeneric, rft_genericRftGeneric

モジュール🔗

Foundation