MATLAB: To read out DICOM pixel value dicomImage Processing Toolboxpixel value How can I read out the value of a specific pixel in a DICOM image? Best Answer Use dicomread() to read it in. Then use impixel() or indexing to get the value:grayImage = dicomread(filename);grayLevel = grayImage(row, column); Related SolutionsMATLAB: Take CT# from from each pixel in CT DICOM image Use dicomread() to read in the image. The area of the pixel in real world coordinates (microns) will be in the header. The CT values of the pixels are the image itself. MATLAB: DICOM, pixel value img = dicomread(FileName);mask = 1000 <= img & img <= 1500;R = img; R(mask) = 0; %yellow is 0, max, maxG = img; G(mask) = intmax(class(img));B = img; B(mask) = intmax(class(img));RGB = cat(3, R, G, B);image(RGB) Related QuestionDicom resolutionHow to loop a DICOM and corresponding ROI folder and write results to a .csvGray values of pixelsHow to read exif metadata of picturesRead pixel by pixel value from two images simultaneously
Best Answer