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

learn more… | top users | synonyms

0
votes
0answers
6 views

Internal constaint of essential matrix

I work on visual odometry program and I use EmguCV. I use calibrated camera to detect features from current frame with SURF, and match them with previous using Knn. Because I have calibrated camera I ...
0
votes
1answer
75 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 ...
2
votes
0answers
81 views

Applying a FIR filter to floating point array c# [closed]

I have designed using MATLAB a FIR filter with some coefficients. I have an array that is normalized to -+1. The array is float. I used this method to apply the FIR to the array but I'm not sure if ...
0
votes
1answer
164 views

Synchronizing data sent over sound beeps with Goertzel Detection, C#

I'm trying to send some text over sound. For example, I try to send the words "Hello John". I do it this way: Every char is converted into its binary ascii code. Then I construct a wav file with no ...
0
votes
1answer
59 views

Parallel Goertzel filters in C# [closed]

I have 2 frequencies in my application: $12000\mathrm{Hz}$, $13000\mathrm{Hz}$. I want to set a parallel Goertzel filters and every 100ms I want to take the bigger magnitude for detecting the tone ...
0
votes
0answers
24 views

Finding periodicity within sequence of time hacks

I have a series of time hacks for various events that have occurred. Some of these events occur at regular intervals (+/- some small variance) but I do not know what those intervals are and would ...
0
votes
0answers
68 views

Non-maxima suppression of gradient image

I'm new to image processing, However I was trying to learn how to detect edges using Sobel filter I had obtained the image gradient in both X and Y directions successfully using Emgu built in ...
0
votes
0answers
46 views

Unity3D - c# - Did I implement Schroeder correctly?

I am working on a Schroeder reverb in Unity3D for a school assignment. I used this picture as a basis... ... and created this script. You can download the Unity3D project here. I have used the ...
0
votes
0answers
67 views

calculating frequency spectrum using fft for video

How to process video with DFT/FFT - getting the frequency using PCO camera in c#,and how to interlink video frames with frequency transform.
1
vote
0answers
111 views

Using Fourier Transform on Gyroscope

The original idea is to calculate distance from accelerometer input. However, accelerometer reading also contains the gravitational values, thus to remove gravity, I tried using Gyroscope. The idea ...
1
vote
0answers
318 views

Image Registration C#

I'm trying to fuse different images of the same scene which each image have a different focus. I've been told that first I have to perform an image registration to the images. Right now, the result ...
0
votes
2answers
830 views

Options to enhance a poor image

I have a C# desktop application. I am using EMGU as a wrapper for OpenCV. I am receiving images in JPEG format that were originally taken by an analogue camera. The quality of the image is poor ...
1
vote
1answer
367 views

Entropy/frequency of a natural image

I have a C# desktop application. I am using a wrapper to OpenCV which is EMGU. I am just performing a basic motion detection operation. I am using component labelling and 2 frames differencing to ...
0
votes
1answer
292 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 ...
1
vote
1answer
1k views

Sharpening an image using emgu

I have c# desktop application and I am using emgu framework as a wrapper for OpenCV. I am trying to sharpen an image because the input images are not great. I tired a technique I found via searches ...
1
vote
2answers
1k views

Improve contrast when image has a flood of white balancing

I have an image taken a night time. I apply _EqualizeHist to it. But the result is a high level of whiteness running through the image. This is the image: I had asked this question in a slightly ...
1
vote
0answers
92 views

motion detection within a poor contrast image

I have a C# desktop application. Its purpose is to detect motion changes between consecutive frames. Currently I am using the excellent Emgu wrapper to OpenCV. Now, I know this question may seem ...
-1
votes
1answer
234 views

Getting the average pitch of a wave in C#

I want to separate out the components that I need to evaluate the pronunciation of a user, so I am dealing with the energy/stress/volume and intonation or pitch. Focusing first on the pitch, is ...
5
votes
1answer
204 views

PID With Prediction

First, I just want to start off by saying that I am a programmer, and am no expert in complex algorithms, and will probably not be able to apply complex pseudo-code or other descriptions of a ...
1
vote
2answers
3k views

Remove background from image

I want to remove the background from image. Let's say I have this background: . Then I put pen drive and tippex on it. . Is it possible to remove the background image from second image? If so, ...
-1
votes
2answers
129 views

processing 16bit audio files [closed]

I currently have a 16bit mono file. I would like to read this data to retrieve only the data chunk part and not the entire file with the headers so that I can apply fft on it. I tried finding ...
0
votes
1answer
2k views

comparing 2 audio files in c#

I have 2 audio .wav files recorded by the the same person with the same word. Each audio file has a format of 16bit, 44.1kHz and is a mono channel. I would like to know how to compare these 2 audio ...
0
votes
1answer
2k views

Applying FFT to PCM stream

I would like to use a .WAV file and convert it into a spectogram. Any idea how to do this with Naudio? Basically the flow should be like this, I think: Convert WAV file to PCM stream Convert PCM ...
0
votes
1answer
146 views

Detect when someone has stopped talking

What's an extremely efficient way of detecting when a user has stopped talking into a microphone? When I use systems like Siri it can detect when I've stopped talking almost immediately, even when ...
1
vote
2answers
659 views

Object Recognition

I need help to develop an object recognition system. It needs to identify an object in an image by comparing it with an image in an existing database. For example my database may consist of images of ...
-1
votes
1answer
86 views

What could an algorithm look like that iterates through all combinations of two variables to aim at a certain number of entries? [closed]

For background information, see "Some background" further down. I have a list that looks like this: Start-Time-In-Seconds;End-Time-In-Seconds 1;2 4;6 12;15 ... ...
5
votes
3answers
5k 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 ...
1
vote
0answers
331 views

Get bit stream from known radio frequency

I'm a beginner in radio demodulation, and several days can't solve my problem. The problem is to get bit stream from known frequency. I made I C# application that gets the data in real time from ...
9
votes
3answers
2k 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 ...
8
votes
3answers
7k 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: ...