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!
