Christoffer Lervåg
Christoffer Lervåg
Perhaps you misunderstood me. I'm not proposing we touch Array class. My proposal is we modify _NArray_ class so that it behaves like _Array_ when it is subclassed, by adding...
Hello Maturin! Sorry about the late reply. I understand that you may not be able to share the sample DICOM file due to privacy issues, but perhaps you could be...
This crashes on windows as well, where the equivalent command to 'open' is 'start'. Seems to me there needs to be a platform detection in the code in order to...
If it can make our code cleaner and simpler, then I think it is probably a good idea, even though it would add a dependency to Ruby DICOM. It would...
Thank you for reporting the issue. I will investigate it and let you know of what I find out. Best regards, Chris On Fri, Sep 14, 2018 at 4:09 PM...
Sorry for the somewhat late reply (I've been on a trip lately). I have looked into it and indeed there seems to be something "funny" going on here. I'll investigate...
Ok, so I've looked into this issue a little bit more. The method which is at fault here is actually the decode_rle() method in image_item.rb: https://github.com/dicom/ruby-dicom/blob/master/lib/dicom/image_item.rb#L491 What separates your particular...
If you want to just change the Patient's ID, then you can achieve that like this: ``` dcm = DObject.read("some_file.dcm") dcm["0010,0020"].value = "12345" dcm.write("new_file.dcm") ``` Hope that helps. Best regards,...
Hmm, this is not expected. I am very surprised if this is the case. Any other tags (including private) should be left alone when this is performed. Please provide your...
Thanks for supplying the file in question. I understand now what is going on. This DICOM file is actually invalid. It contains tags which have odd length (0010,0020 Patient ID...