Questions tagged [c#]

C# is a programming language from Microsoft for .NET/CLR

Filter by
Sorted by
Tagged with
12
votes
3answers
13k views

How to resample audio using FFT or DFT

I'm down sampling voice audio by first performing an FFT, then only taking the parts of the result that I need, and then performing an inverse FFT. However, it's only working properly when I'm using ...
12
votes
3answers
20k views

How do I compare 2 audio files, returning a percentage of difference

Is there a way to compare 2 audio files, whereby a percentage of difference will be returned? I am using C# VS08, .net framework 3.5. Edited: difference in the sound (like for eg. Audio 1: ...
14
votes
3answers
6k views

Image Processing: How to detect a quadrialteral signboard in image?

How can I detect a quadrilateral signboard from an image captured using a mobile phone? How can i detect shapes like rectangle? rounded rectangle (rounded corners instead of shape corners)? I am ...
0
votes
2answers
2k views

Entropy of an image

If I want to measure entropy of an image how should I do it? My aim is to ignore things like tree leaves moving in the wind with my C# desktop application. I know matlab has this functionality but I ...
3
votes
1answer
398 views

Cross-correlation, sharp peak at 0?

First of all, I have to stress that I am not a professional of coding, no more than a professional of signal processing. I am a chemist that happen to be working on a project involving both. So in ...
0
votes
1answer
859 views

Normalizing the magnitude of Goertzel Filter c#

I'm trying to detect some frequencies of 18Khz with sample rate of 44100 [samples/sec]. When I pass a buffer(~4500 samples) to the algorithm it returns a magnitude in a very strange range. Sometimes ...