Trait opencv::cudaarithm::prelude::DFTTrait
source · pub trait DFTTrait: AlgorithmTrait + DFTTraitConst {
// Required method
fn as_raw_mut_DFT(&mut self) -> *mut c_void;
// Provided methods
fn compute(
&mut self,
image: &impl ToInputArray,
result: &mut impl ToOutputArray,
stream: &mut Stream
) -> Result<()> { ... }
fn compute_def(
&mut self,
image: &impl ToInputArray,
result: &mut impl ToOutputArray
) -> Result<()> { ... }
}
Expand description
Mutable methods for crate::cudaarithm::DFT
Required Methods§
fn as_raw_mut_DFT(&mut self) -> *mut c_void
Provided Methods§
sourcefn compute(
&mut self,
image: &impl ToInputArray,
result: &mut impl ToOutputArray,
stream: &mut Stream
) -> Result<()>
fn compute( &mut self, image: &impl ToInputArray, result: &mut impl ToOutputArray, stream: &mut Stream ) -> Result<()>
Computes an FFT of a given image.
Parameters
- image: Source image. Only CV_32FC1 images are supported for now.
- result: Result image.
- stream: Stream for the asynchronous version.
C++ default parameters
- stream: Stream::Null()
sourcefn compute_def(
&mut self,
image: &impl ToInputArray,
result: &mut impl ToOutputArray
) -> Result<()>
fn compute_def( &mut self, image: &impl ToInputArray, result: &mut impl ToOutputArray ) -> Result<()>
Computes an FFT of a given image.
Parameters
- image: Source image. Only CV_32FC1 images are supported for now.
- result: Result image.
- stream: Stream for the asynchronous version.
Note
This alternative version of [compute] function uses the following default values for its arguments:
- stream: Stream::Null()
Object Safety§
This trait is not object safe.