All Questions
Tagged with signal-processing c
15 questions
14
votes
5
answers
2k
views
I implemented FFT in C
I wrote Cooley-Tukey's FFT algorithm in C. And I want to know how safe is this code? Is it just trash? How can I make it more memory safe?
...
3
votes
3
answers
410
views
1D Convolution vector multiplication in ANSI C code
I have a code snippet here about 1D convolution in pure ANSI C code.
Question:
Is this most optimized C code, or can it be done in a more optimized way?
In my ...
16
votes
7
answers
4k
views
Image Processing Application in C
I'm making a image processing application in c from scratch using P6 ppm images, I want some input on my code before I start adding more features to prevent it from falling apart if it's not well ...
2
votes
1
answer
239
views
Implementation of the square root for real time application
For the real time control software I need square root calculation. I have heard that the sqrt function from the standard library isn't good choice due to the unpredictable number of iterations used ...
7
votes
5
answers
2k
views
Implementation of the trigonometric functions for real time application
I have been developing a real time application in C and I need to calculate sine and cosine of a given angle in radians. In respect to the fact that the application is a real time application the ...
4
votes
2
answers
180
views
calculation code to prevent FIFO overflow during data streaming
I am using a dual channels DAQ card with data stream mode. I wrote some code for analysis/calculation and put them to the main code for operation.
However, the FIFO overflow warning sign always occur ...
4
votes
1
answer
1k
views
Get signal name from signal number
I am trying to get a signal name to print when getting a signal number.
I actually have :
...
2
votes
0
answers
499
views
Convolutions with shared memory in CUDA
I am writing a noise blur convolution kernel in CUDA
...
3
votes
1
answer
7k
views
Moving median filter (medfilt) in C
I have implemented a Moving Median Filter and I would like a review.
I am using a linked list to keep track of the oldest value in the kernel and an array of nodes ...
13
votes
1
answer
1k
views
OpenCL implementations of IQZZ and IDCT for MJPEG
I am using this code for MJPEG decoding and I am trying to make two functions (IQZZ and IDCT) run faster on the GPU (NVIDIA Tesla k20c). I am using the OpenCL framework to accomplish this task.
I ...
5
votes
1
answer
3k
views
Radix-2 FFT in C
I'm a beginner in C programming. I am current trying to work on a project requiring 1024-point FFT implementation using radix-2, Decimation-in-frequency. I attach the FFT function C code. How can I ...
6
votes
2
answers
220
views
Denoise an image under extreme time pressure
I'm working on a real-time, embedded system image processing application for my group engineering capstone in undergrad. I'm receiving data at 60FPS, and have to isolate and detect the location of a ...
13
votes
2
answers
553
views
Find binary sequences with low peak sidelobe level of autocorrelation function
I would like to find all binary sequences from the specified range, which has low peak sidelobe level of its autocorrelation function.
Here is the solution (this is simplified version of the real ...
5
votes
2
answers
400
views
FIR filters in C
I wrote 2 filters in C for the Altera DE2 Nios II FPGA, one floating-point and one fixed-point. I've verified that they perform correctly and now I wonder if you can give examples for improvement or ...
4
votes
1
answer
512
views
Onset detection using FFT
I am using this onset source code and this fft file to try to perform onset detection. Currently the code is working, but as my DSP and C skills are subpar I could use some advice on how to improve it....