Questions tagged [algorithms]

Algorithm is a method expressed in a finite list of steps of well-defined instructions to process a signal.

Filter by
Sorted by
Tagged with
0 votes
1 answer
193 views

Algorithm/Code for finding surface shape of an image?

Is it possible to find the surface shape of an image as mentioned in the reference question ? If I find the unknowns of the equation , then what should be my next step in determining the shape of the ...
Salman Saleh's user avatar
1 vote
1 answer
44 views

Is sparsity induced penalty in source separation "Entrywise matrix norms"?

I am reading this paper where they introduce norm penalties for source separation. In table 1, the $\log/ l_1$ type is $\sum_{g} log(\epsilon + \lVert H_{g} \rVert_1)$. I wonder this $\lVert H_{g} \...
Jan's user avatar
  • 189
9 votes
1 answer
19k views

Understanding FFT: FFT size and bins

I'm trying to implement an FFT to understand how it works. I'm using a random sound file (so I can't control the size of the signal), with a sampling frequency of 44,1Khz. I'm using this library: Fft....
Bouji's user avatar
  • 103
4 votes
2 answers
141 views

Method for finding the best non-increasing approximation function of a given signal

I have a discrete-time signal (with noise) and I want to determine the best non-increasing function that represents it. Of course it would be useful if the obtained function were defined in terms of ...
Diego S. Rodrigues's user avatar
3 votes
1 answer
386 views

Doubts on LMS derivation

I have been trying to follow the Least Mean Square(LMS) algorithm derivation given by Wikipedia here and have the following questions. Here I expected $y(n)$ is to be computed by convolving $x(n)$ ...
Sajil C K's user avatar
  • 149
2 votes
1 answer
2k views

Computational Complexity of Polyphase Resampling

does someone know the approximate computational complexity of a polyphase resampling algorithm? I am trying to find a good argument to prefer a polyphase resampling of Scipy over the FFT resampling ...
openloop's user avatar
2 votes
0 answers
82 views

Selection of transforms, windows, wavelets for current signal analysis

I am new to this topic but I already read about the propperties of different signal analysis methods. I am stuck with the obvious advantages of FFT, STFT and Wavelet transforms but can't find good ...
dopetob's user avatar
  • 21
0 votes
1 answer
72 views

Clustering algorithm [closed]

I am looking for some suggestions regarding clustering. Lets say I have 5 subjects (1, 2, 3, 4 and 5) ...
Dina's user avatar
  • 1
-1 votes
1 answer
176 views

Approximating a Gaussian Process

Suppose that $\theta_t$ is an exogenous variable with known Gaussian process. Next, suppose that for any index $i\in [0,1]$, $$ a_{i,t} = (1-\beta)\mathbb E[\theta_t|\mathcal I_{i,t}]+\beta \mathbb E[...
mzp's user avatar
  • 109
0 votes
2 answers
140 views

recognize unwanted sounds, noises, and deleting them algorithm

I have a function that I need to use denoise algorithm on. What I thought is to divide it to smaller parts and then use Fourier Transform on each one of the parts, but I am not sure what to do next. ...
Holo's user avatar
  • 65
-1 votes
1 answer
56 views

Accelerometer to track Potholes

So I am trying to make an application to track potholes in a road. I am using accelerometer readings for that. Assuming that the phone is mounted in a car and our orientation doesn't change. After ...
Shivangi Singh's user avatar
0 votes
2 answers
233 views

How to label sound events in noisy .wav files

I'm trying to find a way of automatically identifying birdsong in phone-recorded sound files (1min long). Currently the algorithm I'm using doesn't label all of the events I want it to. (it is ...
Finn Maunsell's user avatar
3 votes
1 answer
309 views

Finding good feedback coefficients for basic reverb

I'm currently working on some reverb algorithm code for the Gamebody Advance to get a bit of that ambient feeling for the music instead of having plain dull sound. A few challanging restrictions are ...
theIpatix's user avatar
3 votes
1 answer
73 views

Engine for Google / Browsers to detect manipulated images? [closed]

Would it be possible for Google and web browsers to scan images and detect doctored photos? For example, a web browser could check for abnormal color gradients and signals that indicate if a photo ...
bandybabboon's user avatar
4 votes
2 answers
4k views

Improving Template Matching Algorithm for OpenCV

Car detection using OpenCV I am working on a small personal project where i have to know wether an image shown is a car or not. I am using the basic OpenCV python based template matching. Positive ...
ANIRUDH NJ's user avatar
1 vote
1 answer
189 views

Introduction to fast algorithms for time–frequency analysis

I had preliminary knowledge of digital signal processing from Oppenheim's Discrete-Time Signal Processing and is studying time-frequency analysis now. May someone suggest introductory reference (...
Rikeijin's user avatar
  • 189
2 votes
1 answer
93 views

Combining different Likelihoods - Particle Filter

I am new to particle filters and have a problem when it comes to the weightening (using SIR to be precise). The problem is that my different state-variables are subject to different noise-...
J. Doe's user avatar
  • 23
4 votes
1 answer
9k views

Finding notes played in an audio clip

I am working on a program that will be able to tell when a musical note is played in audio and what that note is (ie. guitar or piano). You can assume can assume any audio used for the program will be ...
Ben Arnao's user avatar
  • 141
2 votes
3 answers
1k views

Fast way to calculate a few points in convolution?

Say I have two 1000-point sequences. I can compute the entire convolution fairly efficiently using FFTs (keeping in mind that zeroes have to be padded on to avoid doing a circular convolution). ...
Mahkoe's user avatar
  • 131
1 vote
2 answers
374 views

Filter Implementation

I am rather new to the world of signal processing, and am struggling to understand a fundamental concept: How are filters actually implemented? I have read a significant portion of this online book, ...
Pyrotrain's user avatar
  • 113
0 votes
2 answers
194 views

In filtered back-projection, what does the $z$-axis in the reconstructed cross-sections represent?

The MATLAB code below is used for filtered backprojection (for $x$-rays). In this example program, it reconstructs an image of a simulated checker board, generated by the program. It uses Fourier ...
Brendan Darrer's user avatar
0 votes
1 answer
149 views

Determining the pattern direction of a bitmap image

How can I obtain average direction of the pattern shown in the figure below. It is the direction of the red arrow relative to the yellow (horizontal) line. Any ideas for an approach? I couldn't figure ...
TRiNE's user avatar
  • 151
1 vote
2 answers
313 views

How can I start learning about pitch detection?

readers. I'm working on a project where my goal is to implement a pitch-detection algorithm (PDA) in a piece of open-source software. I have very little knowledge of pitch detection at the moment ...
Caleb Owusu-Yianoma's user avatar
2 votes
0 answers
228 views

Digital filter for sharp impulse in data

I am looking for an algorithm or a filter to remove sharp peaks from my data. I am collecting raw data after every 1 second from an sensor through an ADC. The ADC has an internal FIR filter. I use ...
nema's user avatar
  • 21
1 vote
1 answer
76 views

Creating a Phantom Sound through 5.1.2 Speaker Configuration

I am trying to use a 5.1.2 speaker configuration (left front, center, right front, left rear, right rear, left front height, right front height and Low-Frequency) to create a phantom sound at a ...
terrenceliao's user avatar
0 votes
1 answer
1k views

Name of peak finding algorithm

I've been using this implementation of a peak finding algorithm and it works pretty well. I'm wondering if this particular algorithm has a name? Python code: ...
Simon's user avatar
  • 305
1 vote
1 answer
755 views

Convex Hull Area in Pixels

I am calculating different attributes for connected regions of the image, with the final goal of classification. One of the attributes I am working with is a sparsity measure, calculated as the ratio ...
penelope's user avatar
  • 3,666
2 votes
0 answers
215 views

Career Question: As a person who likes math is signal processing a career that's worth it?

I like high level math and I love deep theory based math. In industry will I use high level math and theory to implement my own algorithms? I love high level math but I do not love probability (...
user avatar
2 votes
1 answer
210 views

How is Point Spread Function (PSF) related to Image Priors in Blind Deconvolution?

We are researching for our thesis about enhancements in Blind Deconvolution Image Deblurring Algorithm Applied in Image Restoration. What really is PSF? Is it one kind of image prior? What do these ...
vcruz's user avatar
  • 21
1 vote
1 answer
1k views

Radix-8 butterfly with Winograd and Cooley-Tukey algorithm

I saw the Winograd radix-8 kernel algorithm below, shown in the image. Comparing to the mathematical formula of Cooley-Tukey, there is a multiplication by $\cos$ and $\sin(\pi/8)$, which can't be ...
kelvin's user avatar
  • 11
10 votes
5 answers
2k views

Fast & accurate convolution algorithm (like FFT) for high dynamic range?

It seems that FFT-based convolution suffers from limited floating-point resolution due to evaluating everything around the roots of unity, as you can see in the $10^{14}$-factor error in this Python ...
user541686's user avatar
5 votes
1 answer
700 views

Why isn't the Hartley Transform more widely used?

I was doing a bit of research on FFT and I came across this paper. According to it, computing the Fourier Transform using FHT is significantly faster than other methods, even for complex data. Yet, ...
GBQT's user avatar
  • 151
18 votes
7 answers
6k views

What are some of the differences between DFT and FFT that make FFT so fast?

I'm trying to understand FFTs, here's what I have so far: In order to find the magnitude of frequencies in a waveform, one must probe for them by multiplying the wave by the frequency they are ...
Seph Reed's user avatar
  • 305
2 votes
1 answer
2k views

Are there any signal processing libraries that implement TD-PSOLA?

For such a popular and old algorithm, I've had surprisingly little luck finding implementations. I've got it working in MATLAB, but am curious if any other languages have libraries containing it (...
elise's user avatar
  • 21
5 votes
1 answer
494 views

How to triangulate 2 sources on a 2d plane formed by 4 sensors?

I have 4 sensors capturing signal data. Signal distribution speed is constant and known. I have sensors positions in 3d space. Also, I have an amplitude/frequency decomposition for data received by ...
Blender's user avatar
  • 51
1 vote
0 answers
98 views

Dot or point pattern recognition for Braille Paper

we are very new to image processing field. We are gonna do a study about braille to text conversion, by the way braille is a method of writing for blind. !(https://fryemuseum.org/images/...
Matalino's user avatar
3 votes
1 answer
2k views

Video stabilization using Lucas-Kanade method

I got an assignment in a video processing course - to stabilize a video using the Lucas-Kanade method. Assuming the matlab code I wrote for performing LK on 2 images works (i.e, I can get the optical ...
noamgot's user avatar
  • 133
1 vote
0 answers
36 views

Frequency identification as a convex problem

Suppose I have two time series, $x(t)$ and $y(t)$: $x$ is the output of a sine wave generator, and $y$ is the generator's frequency setting. Given a training set of $(x, y)$ pairs, Is it possible to ...
RedPanda's user avatar
  • 221
2 votes
1 answer
359 views

Need help implementing DCT Type 4 algorithm

I'm trying to implement Algorithm 2 from this paper: Xuancheng Shao and Steven G. Johnson: Type-IV DCT, DST, and MDCT algorithms with reduced numbers of arithmetic operations, https://arxiv.org/...
Elliott M's user avatar
  • 177
1 vote
1 answer
5k views

FFT starting at zero

signal processing is not my domain of expertise , but I need to make use of it, to do an HRV analysis. These are steps I do starting from my raw ECG signal. ECG signal -> RR peak detection -> find RR ...
Diwesh Saxena's user avatar
2 votes
1 answer
403 views

FFT subset output yields computational efficiency

The traditional FFT gives $N=2^k$ outputs for $N=2^k$ inputs (generally complex.) The time effort is $O(N \cdot \log(N))$. If all I want is a compact subset of $M \ll N$ output frequency points, is ...
catraeus's user avatar
0 votes
1 answer
4k views

Formulating a function on Matlab for the Shannon interpolation formula

I am trying to formulate an algorithm for applying to Shannon interpolation formula to the discrete signal $$x[n]=\frac{c^2}{4}\int\limits_{0}^{n T}y\left(\tfrac{c}{2}s\right)\,ds,$$ where $c$ is ...
Jason Born's user avatar
1 vote
1 answer
4k views

Understanding equal power crossfades

I'm trying to implement an equal power crossfade between two uncorrelated signals ($A$ and $B$). From what I understand I need to setup the crossfade in the following way Come up with a function $f(x)...
rob's user avatar
  • 113
0 votes
0 answers
364 views

Help understanding constant q output

I'm trying to visualise and understand the output of constant q transform. Based on my experience with FFT and the articles I've read so far, I would expect that each output bin would represent one ...
Rad'Val's user avatar
  • 443
0 votes
2 answers
4k views

FFT Algorithm: Split Radix vs Radix-4

I wanted to know the difference between split radix and mixed radix algorithm. I also wanted to know what is the difference between radix 2 ,radix 4 and radix 8 FFT
Augusto Bonelli Toro's user avatar
0 votes
1 answer
446 views

How to get the values for C1 and C2 in Chan-Vese Model?

This question will consider the widely accepted segmentation algorithm of Chan-Vese, given in the following publications: T.F. Chan, L.A. Vese, An active contour model without edges, Lecture ...
Naveed's user avatar
  • 11
5 votes
4 answers
3k views

Algorithm for 1d spline interpolation suitable for 8 bit microcontroler

What is a concise, fast, down to earth algorithm for doing (or closely approximating) spline interpolation on a 1d continuous stream of data? (Edit1: The paragraph below equates to saying "the ...
Charlie's user avatar
  • 193
0 votes
1 answer
3k views

Recursive systematic convolutional code (RSC) realization in MATLAB

How can I implement $\rm RSC(2,1,2)$ in MATLAB? Can I use convenc function to build RSC? The convenc function has 2 arguments: ...
Enapolo's user avatar
1 vote
2 answers
192 views

DFT algorithm for FPGA without phase

For my FPGA programming lab final project, I want to implement an audio spectrum analyzer. Since I won't be recreating any signals, I only need the frequency magnitude, and not the phase. I'm hoping ...
user24961's user avatar
3 votes
1 answer
173 views

Trying to write a signal "unsmoothing" algorithm

Up front: I'm just a hobbyist, and I know zero about signal processing; I'm trying to write a simple(?) javascript algorithm and hoping I don't need a PhD in DSP to make progress on it. I have an ...
SaganRitual's user avatar

1 2 3
4
5
9