Code Monkey home page Code Monkey logo

Comments (2)

ke-senthilkumar avatar ke-senthilkumar commented on May 24, 2024

Sorry, there seems to be some kind of mistake. What I found is that the
-- Only this element is added but the value is 'Tã¥�Ä Ð?' and sometimes empty data.

I have to add 2 values for the element, like 0.252, 0.252.

Also from #27, the code line

dcm.Write("test.dcm", New EvilDICOM.Core.IO.Writing.DICOMWriteSettings() With {.TransferSyntax = EvilDICOM.Core.Enums.TransferSyntax.IMPLICIT_VR_LITTLE_ENDIAN})

is not working. A simple 'dcm.Write("test.dcm")' writes the file but the next set of code gives a warning. I have imported the Evildicom.Core.IO but still the error wont go away.

from evil-dicom.

ke-senthilkumar avatar ke-senthilkumar commented on May 24, 2024

Issue solved..

Dim ps = New DecimalString(New Tag("30020011"), 0.2)
dcm.Add(ps)

    Dim sel = dcm.GetSelector()

    Dim dbls As New List(Of Double)

    dbls.Add(txtPix1.Text)
    dbls.Add(txtPix2.Text)
    sel.ImagePlanePixelSpacing.Data_ = dbls

Using this code and a slight change, I was able to add the desired Element & tags.

Thanks for EvilDICOM dll

from evil-dicom.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.