Adding lines in matrix
显示 更早的评论
Hello!
I'm quite new to Matlab, and I'm stuck at some project, wondering if anyone here could help me.
Here's the dea - I got myself a composite video PAL signal and I have to recreate black & white image from it.
What I did was import file, filtered it at 3kHz (only need lumination), but I'm stuck at matrix.
Thing is that once signal drops below 0.339V, I need to create new line. Since it's syncing at that time, I have more points in a row that are below 0.339V, but than amplitude rises again. After it's risen above 0.339V, I have to wait again until it drops below and get in new line again. That way I have to create matrix.
I've extracted from file vector with amplitudes already. Now, any idea how to convert this vector into matrix the way it's described above?
Thanks in advance and enjoy, Bostjan
回答(2 个)
Image Analyst
2012-5-13
0 个投票
I don't understand what you're saying. What does syncing have to do with anything? You mean like the sync signal on the analog waveform? This is not normally included in any digital video image. Anyway, I don't understand what you want to do when it goes above, drops below, that hen rises above some intensity value. Do you want to do something on a line-by-line basis on the digital image? Perhaps posting an image would help you describe it to us.
类别
在 帮助中心 和 File Exchange 中查找有关 Signal Attributes and Indexing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!