Ridge detection

There are mainly 2 peaks of the curve as the subplot in attachment 1. It should detect the point of division as the Red cycle.

I tried to detect where the second derivative change of polarity to locate the point.

But sometimes there sub such peak in case 1, so will miss it.

The duration of each peak can also change as in case 2, so I give up to locate the peak in the window of time constraint.

I also tried the detection of peak in LV function, but some cases also does not fit.

But in any case, I can identify the point of my eye.

Is there a good way to do it, can give all the details, thank you.

Here's a possible algorithm:

1 calculate the dydt for data.
2. apply a threshold for dydt values that are of interest.  Keep the index numbers of each element whose absolute value is greater than the threshold.  It would be to restrict your search to the regions where the value increases or decreases of parachute.
3. look at the "window" of data around each point of interest.  You will need to decide how many data points compose window.
4. go to the window where there is both a positive dydt negative dydt in reasonably close.  One way would be to use array max/min function and do a subraction.

I think it will work if you play with the window sizes and threshold.

Tags: NI Software

Similar Questions

  • Detection of peaks software using and adding the entire maximum amplitudes it finds my chart

    Hello

    I'm trying to take my maximum amplitudes and multiply them by a constant I determine and then each amplitude added in a 32-bit integer. A usage example detects the acceleration of 5 shots, multiplying by a constant max amplitudes, add them all together and a 'score' of output for this people shots.

    A simple version of my code is attached. The output of amplitdue of Ridge detection is where I have a problem because it is only display a table and I want to add all the values in a single 32-bit integer.

    Thanks for the comments, it is greatly appreciated!

    Zack

    Zack,

    Try to use an array of Index followed by a Unbundle by name to get a digital output. Then, you can use add items table to summarize the.

    I would like to know if that's what you're looking for!

    Katie

  • Problem with LabVIEW

    I met a problem when using the peak detection function in LabVIEW...

    Basically, I load a waveform in VI to detect peaks using the function of Ridge detection. of the waveform, it is obvious that the first peak will happen about 10570Hz...

    Using size 3 subgroup, it detected 1 pic to 10567Hz (correct)

    When you use the size of subgroup of 4, it detected 1 pic to 10569Hz (correct)

    When you use the size of subgroup of 5, it detected 1 pic at 12737 Hz (bad)

    When you use the size of subgroup of 6, it detected 1 pic to 10588Hz (correct)

    When you use the size of subgroup of 7, it detected 1 pic to 10588Hz (correct)

    And using other different sizes of subgroup, the freq agrees with waveform... Why when you use the size of subgroup of 5, it does not give good playback? Is there a theory or a reason for this? or just a bug with the LabVIEW function?

    A VI is fixed and the default values are loaded.

    Appreciate any assistance/advice.


  • Input analog continuous USB DAQ find amplitude peak to peak

    I need to know if there is a way to use the crest detector when you do an analog voltage input. I use c# VS2005 and 8.6.

    Hi jsheridan,

    Have you looked at the Ridge detector example that comes with Measurement Studio?  The c# example can be found here: C:\Documents and Settings\All Users\Documents\National Instruments\MStudioVS2005\DotNET\Examples\Analysis\PeakDetector\cs (assuming that you have installed on your C drive :).

    The example generates a waveform and uses the PeakDetector class to detect the peaks.  You can take this example and modify it to support what you are doing, or just put some functions in your code.  The detector function takes an array and outputs tables of places, the amplitudes and the second derivatives of the peaks and valleys in the array passed to it.  If you prefer to use all the time, you could just do a ridge detection after each reading some or all few seconds so that you make a lot of unnecessary calculations.

  • Follow the circle with overlay

    Hello

    I have a few messy data a camera. It's a pattern of concentric circles that changes with the times - each ring splits into two, each of these components of movement away form between them. I want to set up a set of these rings.

    Someone could point me in the right direction or have any advice for a strategy game start? I thought I could use the superposition of the ring the user select a set of rings, and then somehow have the overlay 'follow' the data he was moving (easy or hard?).

    I removed the components of acquisition IMAQ and took a series of images, load them into a loop to try to show the effect as an animation (vi and associated data).

    Any help would be appreciated.

    I watched this example: http://forums.ni.com/t5/LabVIEW/Fit-2D-data-in-to-Circle/td-p/668858/page/2?view=by_date_ascending
    who can be of some use if I manipulate data, but is it the right way to go?

    And have tried to use machine vision-> analytic geometry-> control 'IMAQ made circle 2', but there is no example vi or tutorial for this control (or most of the other tools of analytic geometry).

    so not sure exactly how it works.

    Thank you

    I'd probably watch the line profile.  If it is noisy or has spots, you might on average several radial lines (up, down, left, right) to get more consistent data.

    Ridge detection would probably find the part the clearest of each circle and could find maximums the.  You could treat these to find what you are looking for.  Two very close circles would probably be identified as a single peak.  Looking at the data would be the first step.

    You can use overlays draw the circles located on the original image.  This would help you to know if you followed them correctly.

    Bruce

  • How to programmatically delete annotations on a graph?

    o: SPT = "75" o: preferrelative = "t" path="m@4@5l@4@11@9@11@9@5xe" filled = "f".
    stroked = "f" >

    height: 134.25pt ">"
    o: title = "fig1" / >
    Hello

    I would like to label some vertices of the graph of waveform on detection of the input signal Ridge finish.  Now, I've annotated by program chart (see fig. 1). However, annotations stay there all the time (see fig. 2). Annotations are supposed to disappear whenever the vi is executed and only appear when the task of Ridge detection is over that is triggered by a push button.

    So can I know how to clear annotations on a chart programmatically?  Thank you in advance.

    Try this:

  • detect where a threshold crossed a ridge

    I want to be able to detect the point at which a threshold crossed a ridge as shown in the figure, I know the threshold VI will give me the point was, but I also want to be able to get the point B, ideas?

    I would use two paintings, the original and the negative.  Search (or threshold) the table of origin for the threshold value until the threshold is found then search (or point) reversed the negative table for the value of fhreshold from the index where the first threshold.  The two indexes will be correct and the values are correct except that the value of the second should be reversed to give the correct value.

  • Ridge detector does not properly

    The Ridge detector not give me the right places. The main file is called activation time. I use the probe but cannot understand why im getting the wrong places. Thank you in advance.

    Your Ridge detector seems to work just for me.  I rewrote the vi to make summits that were detected more easy to see.  You put them all into a 2D array, which resulted in many many zeros.  I have grouped the data in a table of clusters.  Each cluster contained a table of the peaks for each line.

  • Ridge detector malfunctioned.

    Hello

    I'm working on a project in which I want to calculate the rate of certain signals. I used the Ridge detector to detect the peak of the wave.

    The Ridge detector works properly, but after some time as 40 seconds it starts counting the noise (which is less than the value of the Amplitude, and which was previously not count), I don't know the reason for it.

    Can someone pls help me solve this problem

    Thank you v.much

    Hello

    Finally working on the first vi I found the solution to my problem

    The reason why I got for the evolution of the value of the rate was this picture filled, i.e. with time, the table gets more and more values and he took the time to work on it and therefore the vi give erroneous results in the rate.

    I finally limited the value of the table and then past this range limited to the consumers section of producer for the calculation and then it worked correctly.

    I ask everyone to answer me if I took the right path for the solution.

    Thanks to all who have helped me get a solution.

    Concerning

  • detection of crete during the acquisition

    I am gaining of daqmx permanently a signal (single channel dbl table or waveform).

    The signal is a waveform of the triangle.

    I need take time between the ridge and the Valley for each pic.

    I try with peak detection but does not work, the acquired signal are not windowed period.

    Also, I need to record the results of the evaluation (amplitude /valley, Peak and Valley Ridge at a time) for each line

    Can someone help me?

    Thank you

    It's a start, now if you feed the data from that output in a "waveform peak detection VI. You will need to play with the threshold and the width for this VI entries in order to determine how detection works. You can also change the entry all about choose if you are detecting the peaks and valleys.

    One thing to remember is that the threshold value is the minimum of a peak or maximum value of a valley.

    You must also be a sort of timetable for the loop (an expectation of 100 ms) or set the timeout/samples by channelvalues if you want to get more then 10 to 20 samples per waveform.

  • detection of peak with two thresholds

    Dear colleagues!

    Excuse me, but I need example or any help for the detection of peaks with two thresholds. Namely two adjustable thresholds with detector standard Ridge for the creation of a detection bandwidth or range.

    Detector of crete have only one threshold of... But why only one...


  • detection of crest of a noisy signal in offline mode

    LabView dear experts...!

    I'm trying to find the vertices in my Signal in offline mode. I would like to know the amplitude, location of the summits and manipulate. But the signal noise and if I try to feed them in this signal to a ridge detector it gives results falsely as taking small noise spikes. I want to get the great peaks (3 peaks in the data).

    Please help me to detect these peaks.

    When I used a detector.vi of the art for a simulated noise less data works very well. I'm using LabVIEW 7.1.

    Waiting for your response.

    This will give you maximum values without filtering. You get both with a bit more coding.

  • MBP: monitor detected but no image except by VGA

    I have a MBP of Mid 2012 running latest El Capitan.

    When I connect to an external monitor, it is detected correctly in views (exact name, resolution, etc.), but the monitor doesn't detect any image from the portable computer. I tried the DVI - D and DisplayPort with various cables and monitors with the same result, but a picture appears if I connect to VGA. It started in the past week.

    The built-in display does not work normally.

    Looks like a hardware failure in the computer DisplayPort connector laptop, as the pins are worn or something?

    Any other ideas?

    Hi johngirvin,

    Thank you for using communities Support from Apple. Sorry to hear that you had these display problems with your MacBook Pro. Looks like you've been on the right track trying to solve this problem. If you continue to have problems, you can find the additional steps described in the following article useful, up to and including contacting Apple Support if necessary:

    Get help with graphical problems on the external displays connected to your Mac - Apple Support

    Concerning

  • Time Machine (on Mac) does not detect the airport Time Capsule

    Originally posted on the page of the airport, but seems to be the better question for this group. Sorry for the double post

    Looking for advice on how to get the Time Machine utility for access to my Time Capsule. I use an iMac in late 2012 with MAC OS 10.12 TimeCapsule is 2015 7.7.7 running latest firmware. Airport utility is the latest firmware 6.3.7.

    When I run the application Time Machine, Time Capsule is not detected. I tried the two WiFi and with cables connected Ethernet (not tried USB yet) and my Time Capsule doesn't have a lightning bolt or firewire ports.

    Open Airport utility & see the airport time capsule. I can see all connected devices, including the MAC, but no prompt activation Time Machine on the Time Capsule.

    I recently used TM on this iMac with a G-Technology drive. It auto detects the time machine and executes a back up. But airport Time Capsule will not.

    Any suggestions?

    Sierra has been problematic with the TC.

    1. make sure you don't have any charge virus protection software. In fact, I would say that disable all software 3rd part at the moment.

    2. make sure that you can actually write to disk of TC.

    Attach the TC disc in the finder and copy a file on disk, you can delete it later... It's just to ensure that you have full write permission. If it does not for the most part, you won't be able to use Time Machine... If you can then try TM immediately...

    Just to be clear, the TC is a network device. You have tested with ethernet and wireless... Ok.. They are only suitable methods. You cannot use USB. And clearly, TC has never had nor will never be ports Firewire or lightning.

    3. no chance that a reset complete TC. This will not delete the files on the hard drive, but you must make sure that the device is configured on the current computer.

    4. There are many positions in these days... read through them and do some research. Sierra is a bleeding edge new... So wait you to spend a lot of the precious liquid if you choose to be an early adopt.

  • Time Machine doesn't detect Time Capsule

    Looking for advice on how to get the Time Machine utility for access to my Time Capsule. I use an iMac in late 2012 with MAC OS 10.12 TimeCapsule is 2015 7.7.7 running latest firmware. Airport utility is the latest firmware 6.3.7.

    When I run the application Time Machine, Time Capsule is not detected. I tried the two WiFi and with cables connected Ethernet (not tried USB yet) and my Time Capsule doesn't have a lightning bolt or firewire ports.

    Open Airport utility & see the airport time capsule. I can see all connected devices, including the MAC, but no prompt activation Time Machine on the Time Capsule.

    I recently used TM on this iMac with a G-Technology drive. It auto detects the time machine and executes a back up. But airport Time Capsule will not.

    Any suggestions?

    We understand your current configuration of the network with the Time Capsule (TC). Is the TC the only router on your network? What is the brand and model of the modem Internet you have directly linked it by Ethernet?

    Normally you use a wired connection or wireless between the iMac and the TC? This always was a problem or just started to happen? If she just started, have you changed any software/firmware on the iMac or TC?

Maybe you are looking for