i want to convert a matrix in the folliowing way:
i have a 1 plane matrix (float32).
now i want to essentially replace the y-values of the matrix by the birghtness values of the matrix, while keeping the value of the x-position.
the original y-values can be deleted, and each drawn point on y-axis can be just binary white.
some background on why i want to do this:
i have a kinect depth image that i want to represent in 2d for further analysis (videotracking).