Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
Confluence
For you

Computer Vision
Results will update as you type.
  • Digital Signal Processing
  • Einfache Algorithmen
  • Image Processing
  • Kinect
  • Klassen
  • Leap
  • Linksammlung
  • Marker Tracking
  • OpenCV
  • Processing Keystone
  • Resolume Arena
  • Sound als Input
  • Vektoren
  • Video Processing
  • Video Library 2.0
  • Arduino Portenta H7 + Vision Shield

    Two hearts overlapped with each other
    Welcome back
    Catch up on the top discussions and highlights from your team.
    /
    Digital Signal Processing
    Updated Feb 20, 2017

    Digital Signal Processing

    Feb 20, 2017

    Unter DSP versteht man die digitale Verarbeitung von Signalen am Computer. Durch die Hilfe von Algorithmen werden Signale so verarbeitet, dass Informationen besser aus dem Signal ausgelesen werden kann.

    Der nachfolgende Code ist ein einfacher Low Pass Filter wie oben gezeigt:

    Low Pass Filter
    float[] rawData; void setup() { size(1400, 800); rawData = randomData(128); } void draw() { float interval = map(mouseX, 0, width, 0, 1); float timeConstant = map(mouseY, 0, height, 0, 1); float[] lowPassed = lowPass(rawData, interval, timeConstant); background(0); drawLine(rawData, color(127)); drawLine(lowPassed, color(255, 255, 0)); } float[] randomData(int size) { float[] data = new float[size]; for(int i=0; i < data.length; i++) { data[i] = noise(i); } return data; } void drawLine(float[] data, color c) { noFill(); stroke(c); beginShape(); for (int i=0; i < data.length; i++) { vertex(map(i, 0, data.length, 0, width), map(data[i], 0, 1, 0, height)); } endShape(); } float[] lowPass(float[] in, float interval, float timeConstant) { float[] out = new float[in.length]; float alpha = interval / (timeConstant + interval); out[0] = in[0]; for (int i=1; i < in.length; i++) { out[i] = alpha * in[i] + (1 - alpha) * out[i-1]; } return out; }

     

     

    {"serverDuration": 16, "requestCorrelationId": "7ab13fd37c6e4cad9f1ee762bcd406ed"}