Histogram result ImageJ vs. MATLAB




I am working on writing the codes to enhance my series of dicom images with MATLAB. But the problem is that the codes has different result from what I got from imageJ. actually, when I read my dicomfiles (dicomread) in matlab, half of the data MUST be negative but all data in MATLAB are positive!!! Does anybody have an idea why this show up?!!

Thank you


While googling your issue (“matlab dicomread positive negative”) l stumbled upon this thread :

Perhaps that thread could be a start?