Create image from pixels using two vectors and their grayscale value
显示 更早的评论
I have a very basic understanding of matlab. What I am trying to do is use X,Y,Z datapoints and their grayscale value (how dark or how light the pixel is) to reconstruct an image of a chest X-Ray pixel-by-pixel. I have over 5 million data points and all of the Y data points are zero. I am having a hard time accomplishing it. Do you have any tips? Thank you!
2 个评论
How exactly is the data arranged? What are the vector/array sizes? If x and y are vectors and z is a 2D array representing intensity, then you should simply be able to use z without regard for x or y. If x,y,z are positional information and you have a fourth array for intensity information, then you should be able to do the same, as the positional information is constant-valued along one axis (y), implying that all the points are coplanar.
It would help if you could provide an example of the data.
John Smith
2021-10-26
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Image Thresholding 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
