Measure Increasing Diameter in Video File - Simulink
Ältere Kommentare anzeigen
I am trying to design a Simulink Model to take a 1080p video feed and detect the increasing edge of a winding coil of steel.
Essentially the coil starts with a radius of this size: o and as more steel is wound, it increases to this size: O. so.... o ----> O
I am designing a system that uses edge detection in video processing to observe this process. I want my model to make the diameter length measurement every frame. When the target diameter is reached, the model is to ping a TCP/IP address production control system with the "cut" command. Attached is a picture of current Simulink Model.
I am having trouble instituting the measurement system. Does anyone have any advice as to how I can edit my model to output the current diameter's value?
Antworten (1)
Sean de Wolski
am 28 Okt. 2014
0 Stimmen
Something along these lines?
The interpreted ML function would check if the diameter is big enough and ping the tcpip commands

9 Kommentare
james
am 28 Okt. 2014
Sean de Wolski
am 28 Okt. 2014
Sure, split that signal and either send it to a scope so you can watch it while simulating or a To Workspace block so you can analyze it after. Or both!
These blocks are in the "Sinks" category under base Simulink.
Sean de Wolski
am 28 Okt. 2014
Bearbeitet: Sean de Wolski
am 28 Okt. 2014
That diameter is an equivalent diameter if the blob pixels were perfectly circular. To actually have it calculate a length through some combination of points, the axis lengths would be better.
You can also send your video signal to a video viewer so you can see it.
james
am 28 Okt. 2014
Sean de Wolski
am 29 Okt. 2014
I don't think the model got attached. Also, do you have a few still frames that you could show?
james
am 29 Okt. 2014
james
am 29 Okt. 2014
james
am 29 Okt. 2014
james
am 29 Okt. 2014
Kategorien
Mehr zu Video Formats and Interfaces finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


