Skip to main content

Questions tagged [reference-implementation]

Questions that include a request for a reference software library where a known algorithm is implemented.

Filter by
Sorted by
Tagged with
6 votes
4 answers
7k views

How to build a median filter function?

What algorithms are there for 1-d median filtering (sliding median, rolling median, running median), similar to MATLAB's medfilt1? Of interest would be a reference ...
dunklevision's user avatar
6 votes
1 answer
7k views

Python: Least Squares Support Vector Machine (LS-SVM)

I'm looking for a Python package for a LS-SVM or a way to tune a normal SVM from scikit-learn to a Least-Squares Support Vector Machine for a classification problem. The goal of a SVM is to maximize ...
phappy's user avatar
  • 71
4 votes
1 answer
2k views

Are there any open source libraries for Adaptive noise cancellation?

I'm creating a chat application where people can input text via speech and I need to implement noise cancellation using Adaptive noise cancellation technique. I'm using dual microphones for this ...
Suhas Rangaswamy's user avatar
4 votes
2 answers
787 views

Efficient implementation of rolling MAD/Hampel filter

I have implemented the moving median absolute deviation (moving MAD) and it seems like bit-exact to Matlab's implementation. Nevertheless, I am sure that it is not efficient. The usual median filter ...
Gideon Genadi Kogan's user avatar
3 votes
3 answers
1k views

Estimate Arrival Time of a Signal

I'm looking for a Python package or method to accurately estimate the arrival time of time signals. A single time signal is stored inside a 1-dimensional numpy array, so every component of the array ...
Matteo Scarponi's user avatar
3 votes
2 answers
4k views

Fast Hartley Transform Implementation in MATLAB

I want to implement Fast Hartley Transform (Specifically Discrete Hartley Transform) in a script file in MATLAB. Does anyone know have a reference implementation of this in MATLAB or another language ...
noxid's user avatar
  • 31
3 votes
1 answer
10k views

MFCC feature vector from wav file

I am trying to implement a spoken language identifier from audio files, using Neural Network. I need to generate one feature vector for each audio file. From what I have read the best features (for ...
SameOlds's user avatar
3 votes
3 answers
1k views

Impulse response with sweep from measurement

Does someone have a matlab script to get the impulse response from the recorded measurements using log sweep? I have the input file (sweep) and the output and I need to get the impulse response and ...
rfbrgs's user avatar
  • 51
2 votes
2 answers
6k views

IIR coefficients and difference equation implementation in C language

I can't find anything on this topic, so either I'm in the wrong direction or else there is just nothing about it on the internet. So let's say I have 3 $b_i$ coefficients ($b_0,b_1,$ and $b_2$) and 2 ...
dnopas's user avatar
  • 21
2 votes
3 answers
2k views

Real-time BPSK demodulation

I am currently studying BPSK demodulation. Most probably my question very basic but i am having difficulties to understand the case of real-time bpsk demodulation. Basically, all the examples (matlab,...
john's user avatar
  • 21
2 votes
1 answer
2k views

Reconstruction of audio signal from Spectrogram: Implementation

Is there somewhere an implementation available for the reconstruction of audio from a spectrogram? (e.g. based on this approach). I could not find anything, but I think there should be an ...
Kevin Meier's user avatar
2 votes
1 answer
2k views

Are there any realtime voice activity detection (VAD) implementations available?

I'm looking for a realtime VAD implementation like Discord/Mumble/Teamspeak have. My goal is to have a system that let's me use the same VAD for all my VoIP applications, as well as something I can ...
Tom's user avatar
  • 21
2 votes
0 answers
39 views

Implementation boundary-corrected wavelets on the unit interval

I was wondering if there is a 'ready-to-use' implementation available of the (boundary-corrected) wavelets constructed in Cohen, Albert, Ingrid Daubechies, and Pierre Vial. "Wavelets on the ...
Brazilian Cérebro's user avatar
2 votes
0 answers
43 views

Standard audio format using DWT for compression

Is there any standard audio format that employs discrete wavelet transform to compress signals?
dac's user avatar
  • 77
2 votes
1 answer
42 views

Switching camera angle based on several images

Given a number (3 or 4) of different images of a given subject from different angles, how do I interpolate to an angle that isn't available on any of the photos? What is this technique called and is ...
Michael Zedeler's user avatar
2 votes
0 answers
2k views

Blind deconvolution implementation, Python, Shalvi-Weinstein

I'd like a 1D blind deconvolution implementation in Python. I read Shalvi and Weinstein 1990 (on the recommendation of Yair Weiss) and it appears relatively simple. However I can't find an existing ...
Dan Stowell's user avatar
2 votes
0 answers
601 views

Fast implementation of LOESS for equally spaced samples (possibly using convolution)

Is it possible to do LOESS smoothing on equally spaced data using convolution? The Wikipedia article on LOESS mentions a possibility of using a FIR filter for LOESS. I could not find anything more ...
pkuhar's user avatar
  • 121
1 vote
2 answers
2k views

Simulating a raised cosine filter

I am rewriting a simulation written in Matlab to C. I have a problem with a transmit data. The data is filtered by a raised cosine filter. In Matlab it was implemented by using the following function ...
AD23's user avatar
  • 79
1 vote
1 answer
360 views

Continuous autocorrelation

Is there a known algorithm or an existing implementation that performs a "continuous autocorrelation"? Meaning, in a situation where I sample a signal and every time I get a new sample (or ...
Arik Yavilevich's user avatar
1 vote
1 answer
50 views

Services for phoneme recognition? [closed]

I wonder if anyone can point me to services or dev libraries that focus on or suit phoneme recognition? Target audience is children at learning to read stage. We have trialed IBM Watson (not good) ...
Seba Illingworth's user avatar
1 vote
1 answer
72 views

Library/strategy for rotate & scale image alignment/registration

I have two raster images of maps, A and B. I know that B contains A but I do not know the scale or rotation. There should not be any other distortions between the image but there may be noise. ...
Pocketsand's user avatar
1 vote
1 answer
632 views

Register 2D image - 3D model

I have 2D pictures of an airplane of a specific model, taken with a simple camera, and a 3D point cloud model of this airplane. I would like to project the pictures onto the 3D model (cloud of points) ...
Jericho12's user avatar
0 votes
4 answers
137 views

What algorithms can automatically determine a 3D scene from one or a few 2D images?

For a project I'm doing, I'm trying to model a scene based on a phone camera's video input, and then insert arrows into it that indicate direction in three dimensions. I've looked around, and the ...
oink's user avatar
  • 101
0 votes
3 answers
361 views

FFT command line application? [closed]

Are there any command line programs for Windows, preferably free and stand-alone, which can report the peak/strongest frequency within a given range of frequencies? I need something like this to ...
Petoetje59's user avatar
0 votes
2 answers
1k views

Use GNU Radio to extract information from a VOR signal

I want to design a GNU Radio project to extract the information of a VOR signal, then find the angle to the north and the Morse code of the station. Is there any example that shows how to do it?
Slh47's user avatar
  • 43
0 votes
1 answer
677 views

Fast algorithm for the MATLAB's $\tt impz$ function? [closed]

Does anybody here know what is the code algorithm behind the impz function? I know it uses the recursive algorithm but how is such implemented in ...
LeBlanc Lord's user avatar
0 votes
1 answer
147 views

Suggestions for creating 3D Bounding Boxes of Books on a Shelf from RGB-D Images

I am new to image processing, so I beg your pardon if this is a trivial question. I am trying to use an RGB-D camera to detect 3D bounding boxes of books on a shelf. Here are some examples of possible ...
Dhindhimathai's user avatar
0 votes
1 answer
22 views

How can faux correlated data be generated for testing or training?

There are one or two questions here that ask how to assess data correlation. The data tends to be empirical. Is there some tool or standardised technique for generating correlated data from scratch? ...
Paul Uszak's user avatar
0 votes
1 answer
149 views

Channel Shortening for underwater acoustic channel communication

I'm new in this forum, hope that we can learn from each other well. I need to ask about the channel shortening for underwater acoustic channel. what are the common algorithms in that field? is ...
Zeyad_Zeyad's user avatar
  • 1,056
0 votes
1 answer
59 views

Checking if a lecturer can be heard clearly from the back of a room [closed]

I would like to indicate to a human speaker standing at the front of a classroom if he/she is speaking loudly enough to be heard from the back. From some research, i have gathered that I am looking to ...
Cole's user avatar
  • 101
0 votes
0 answers
21 views

How can I create range-Doppler spectrograms from NEXRAD level3 data?

I would like to create range-Doppler spectrograms (Doppler velocity on x-axis, range on y-axis) using NEXRAD level 3 data, to create something like this (from this paper): I have done image ...
bphi's user avatar
  • 1
0 votes
1 answer
41 views

Where to find an implementation of the Structural Symmetry of Strokes (SSP) algorithm for image binarization?

I want to OCR photos of pages of printed text. Nothing too complicated but the images were taken with smartphone cameras, the lighting is suboptimal and sometimes the images were photocopied before. ...
Heinrich Ulbricht's user avatar
0 votes
0 answers
122 views

Finding Duplicate Pixel/Objects along Image seams

I have a seam of two photos joined by a seam alignment algorithm that on occasion generates duplicated pixels/objects/artifacts on both sides of the seam in the final, aligned photo. The images are ...
Loonuh's user avatar
  • 101
0 votes
0 answers
139 views

Resources for modulation/demodulation techniques with example code

So I remember seeing someone recommending a DSP book that had actual code for modulation and demodulation of a communication signal. Does anyone have any recommended resources they could point me ...
gerrgheiser's user avatar
0 votes
1 answer
154 views

How is "Joint class histogram" algorithm deploy using Matlab?

Image registration and image retrieval depend on image similarity measure to find mutual information between 2 images. Using histogram, joint histogram, and joint class histogram we can find the ...
Mohammad nagdawi's user avatar
-1 votes
2 answers
1k views

Using k Nearest Neighbour & Dynamic Time Warping for keyword spotting

As stated in the title, I am currently researching a method using k-NN, specifically, as either an alternative or as a supplement to the DTW algorithm in keyword spotting based on MFCC. I have read ...
Ran Tzafrir's user avatar
-1 votes
1 answer
1k views

Cross Correlation in Java (Android) Using FFT (Frequency Domain Convolution / Correlation)

I want to implement cross-correlation with the start-symbol and the signal using FFT. I zero-pad both signals to length N = x.len + y.len -1 Using the convolution theorem: ...
Darman's user avatar
  • 1