how to extract pixel value?
이전 댓글 표시
Hi Every one..anyone can help me?
How to extract the pixel value?
i have try this code, but the result not show the pixel value
X = dicomread('128X128','frames',16);
Y=findND(X(58:70,70:84));
댓글 수: 2
Star Strider
2019년 12월 13일
For best results, include the slice of the DICOM image you want to work with, as an attachment or as an uploaded image.
mohd akmal masud
2019년 12월 13일
답변 (1개)
Anudeep Kumar
2025년 6월 30일
이동: Image Analyst
2025년 6월 30일
If we want to extract pixel value, 'findND' is not required.
We can use :
X = dicomread('128X128', 'frames', 16);
region = X(58:70, 70:84);
disp(region);
This will print the pixel values in the specified region (rows 58 to 70 and columns 70 to 84) of frame 16.
카테고리
도움말 센터 및 File Exchange에서 Image Preview and Device Configuration에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!