Hi Berak,
Thank you very much for your reply. I cropped a small region from every frame in video and named it as Mat frameWarp has the size of 700,200 in x,y. Then I use LineIterator to iterate through every point in a line in frameWarp. My final purpose is to plot the graph with x axis is along to the iterated line and y axis is color value (r, g,b).
My graph with be x : 0-700 ; y:0-255 with three value of r,g,b.
So sorry for my bad English and explanation. please let me know if there is something unclear. Again, thank you very much for your time to support me.