Is it possible to change color for the plot function in opticalFlow class?
Ältere Kommentare anzeigen
The plot function in opticalFlow class ( see here ) has three name-value pair arguments. I assumed other regular plot arguments would work too but obviously they don't. I tried to use 'color' unsuccessfully.
I plan to superimpose the plots on images and the current blue color is hardly visible... So my question is: is there any way to change the color of this plot?
Akzeptierte Antwort
Weitere Antworten (2)
Oskar Wilhelmsson
am 24 Mär. 2018
0 Stimmen
I ran into a similar problem. Using "clf" in the beginning of the video loop will make sure the color is always the same, which is what I think you actually want.
Adam Danz
am 24 Mär. 2026 um 16:00
0 Stimmen
The "Color" name-value-pair appeared in the documentation for the plot function in opticalFlow class starting in R2023a.
Kategorien
Mehr zu Image Quality finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!