ImagePeriodogram - Maple Help

ImageTools

 ImagePeriodogram
 generate the periodogram of an image

 Calling Sequence ImagePeriodogram(img)

Parameters

 img - Image ; input image

Options

 • scaling = identical(sqr, "sqr", log, "log", sqrt, "sqrt", none ,"none")
 Specifies the scaling method used for the discrete fourier transform of img The default is log.
 • center = identical(none, "none", horizontal, "horizontal", vertical, "vertical", both, "both")
 Specifies the position of zero-frequency component. "none" and none means no shifting applied. "horizontal" and horizontal means the img is shifted along the first dimension. "vertical" and vertical means the img is shifted along the second dimension. "both" and both means FFTShift with default option is applied for the image img. The default is both.

Description

 • The ImagePeriodogram(img) returns the periodogram of img by applying the discrete fourier transform and FFTShift.

Examples

 > $\mathrm{with}\left(\mathrm{ImageTools}\right):$
 > $\mathrm{img}≔\mathrm{Read}\left(\mathrm{cat}\left(\mathrm{kernelopts}\left(\mathrm{datadir}\right),"/images/tree.jpg"\right)\right):$
 > $\mathrm{p1}≔\mathrm{ImagePeriodogram}\left(\mathrm{img}\right)$
 > $\mathrm{Embed}\left(\mathrm{p1}\right)$

 > $\mathrm{p2}≔\mathrm{ImagePeriodogram}\left(\mathrm{img},'\mathrm{center}'='\mathrm{horizontal}'\right):$
 > $\mathrm{Embed}\left(\mathrm{p2}\right)$

 > $\mathrm{p3}≔\mathrm{ImagePeriodogram}\left(\mathrm{img},'\mathrm{scaling}'='\mathrm{sqrt}'\right):$
 > $\mathrm{Embed}\left(\mathrm{p3}\right)$

Compatibility

 • The ImageTools[ImagePeriodogram] command was introduced in Maple 2019.