11-04-2019
Mainly for Corona688, but for interest to others too.
Well sometime in the last 24 hours, 4th November 2019, this code uploaded to AMINET......
Aminet - dev/gcc/DFT-FFT.awk.txt
......went from 996, to (TADA) 1006 dls.
So in just over a year that little acorn spawned at least over a thousand new little acorns...
This is that last post on this subject and to finish...
Congrats C688...
8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
what does today=${1:-${today}} mean???
I saw a script which has these two lines:
today=`date '+%y%m%d'`
today=${1:-${today}}
but both gives the same value for $today
user:/export/home/user>today=`date '+%y%m%d'`
user:/export/home/user>echo $today
120326... (2 Replies)
Discussion started by: Vidhyaprakash
2 Replies
2. UNIX for Beginners Questions & Answers
How to find a file that's modified more than 2 days ago but was modified less than 5 days ago by use of any Linux utility ? (4 Replies)
Discussion started by: abdulbadii
4 Replies
3. What is on Your Mind?
Dear All,
I am pleased to post that I am announcing a new award, "Poster of the Year 2019" and calling for your nominations (privately to me).
This is a new award and I plan to announce the winner for this year (2019) in January 2020. The prizes will be (still working out the details):
... (0 Replies)
Discussion started by: Neo
0 Replies
4. What is on Your Mind?
Here is a quick EOY report for 2019.
2019 has been a year of "downward trend reversal" for UNIX.com. In fact, if we compare total Google search impressions from the peak days in December 2019 to the peak days in mid December 2018, traffic is up 43% percent. That is a very respectable growth... (0 Replies)
Discussion started by: Neo
0 Replies
5. What is on Your Mind?
Dear All,
We are happy to post that I will be announcing soon my award for "Moderator of the Year 2019". This is a new award which I plan to announce in December of each year, starting this year (2019). The prizes will be (still working out the details):
A Moderator of the Year... (3 Replies)
Discussion started by: Neo
3 Replies
6. What is on Your Mind?
Today, I am very pleased to announce that the Moderator of the Year Award, 2019 has two very deserving winners.
Ravinder Singh (RavinderSingh13) and Victor Berridge (vbe)
Victor (vbe) has been a member of unix.com close to 15 years (first joined the site in 2005) and has been moderating... (5 Replies)
Discussion started by: Neo
5 Replies
7. What is on Your Mind?
Today, I am very pleased to announce the Poster of the Year Award, 2019 is Jeroen van Dijke (Scrutinizer)
Jeroen has been a member of unix.com just over 11 years (He first joined unix.com in November 2008) and has been a very valuable, reliable and thoughtful resource for countless people over... (3 Replies)
Discussion started by: Neo
3 Replies
8. What is on Your Mind?
You are seeing this new video here first!
Top Five Cybersecurity Threats | Earth Year 2019 | You Have Been Warned!
https://youtu.be/dRE4u9QVsSg
PS: That video has two small typos, but nothing serious. Heck it took nearly 1.5 hours to render even on a 12-core Mac Pro with 64GB of... (20 Replies)
Discussion started by: Neo
20 Replies
LEARN ABOUT OPENSOLARIS
mlib_imagefouriertransform
mlib_ImageFourierTransform(3MLIB) mediaLib Library Functions mlib_ImageFourierTransform(3MLIB)
NAME
mlib_ImageFourierTransform - Fourier transform
SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ]
#include <mlib.h>
mlib_status mlib_ImageFourierTransform(mlib_image *dst,
const mlib_image *src, mlib_fourier_mode mode);
DESCRIPTION
The mlib_ImageFourierTransform() function performs a two-dimensional Fourier transformation. The source and destination images must be the
same type and the same size. The data type of the images can be MLIB_BYTE, MLIB_SHORT, MLIB_USHORT, MLIB_INT, MLIB_FLOAT, or MLIB_DOUBLE.
The height and width of the images must be some positive power of 2 (but they do not have to be equal).
They can have 1 or 2 channels. If the source image has just one channel the imaginary parts are assumed to be zero. If the destination
image has just one channel, then it is assumed that the imaginary parts of the output can be discarded. But in case both source and desti-
nation images are one-channel images, then MLIB_FAILURE is returned.
The predefined modes used in the image Fourier transform function are as follows:
Mode Description
----------------------------------------------------------------------
MLIB_DFT_SCALE_NONE Forward DFT without scaling
MLIB_DFT_SCALE_MXN Forward DFT with scaling of 1/(M*N)
MLIB_DFT_SCALE_SQRT Forward DFT with scaling of 1/sqrt(M*N)
MLIB_IDFT_SCALE_NONE Inverse DFT without scaling
MLIB_IDFT_SCALE_MXN Inverse DFT with scaling of 1/(M*N)
MLIB_IDFT_SCALE_SQRT Inverse DFT with scaling of 1/sqrt(M*N)
PARAMETERS
The function takes the following arguments:
dst Pointer to destination image.
src Pointer to source image.
mode Mode of the transform.
RETURN VALUES
The function returns MLIB_SUCCESS if successful. Otherwise it returns MLIB_FAILURE.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Committed |
+-----------------------------+-----------------------------+
|MT-Level |MT-Safe |
+-----------------------------+-----------------------------+
SEE ALSO
attributes(5)
SunOS 5.11 2 Mar 2007 mlib_ImageFourierTransform(3MLIB)