Create image from pixels using two vectors and their grayscale value
Show older comments
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 Comments
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
on 26 Oct 2021
Accepted Answer
More Answers (0)
Categories
Find more on Image Thresholding in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!