<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    Hi James,<br>
    <br>
    Sorry for the late response. actually I created the JSON file using
    the points extracted from VTK dicom data.<br>
    Please find the attached files for the Java method I used and
    required Json_simple-1.1.jar file.<br>
    <br>
    I hope this will be easy and helpful for you.<br>
    <br>
    Regards,<br>
    Sathish<br>
    <br>
    <br>
    On Tuesday 17 January 2012 07:28 PM, Malsoaz James wrote:
    <blockquote
      cite="mid:1326808718.35562.YahooMailNeo@web28302.mail.ukl.yahoo.com"
      type="cite">
      <div style="color: rgb(0, 0, 0); background-color: rgb(255, 255,
        255); font-family: Courier
        New,courier,monaco,monospace,sans-serif; font-size: 10pt;">All
        these works are really interesting and promising.<br>
        <br>
        <br>
        Thank you to report this here.<br>
        <br>
        On my side, I'm working with VTK and recently I was trying
        WebGL. Despite compatibility issues, WebGL works great.<br>
        <br>
        I have been able to load and render STL files.<br>
        <br>
        I'm going to look at xTK which seems really promising.<br>
        <br>
        By the way, is there any simple way to create JSON files from
        VTK or STL files ?<br>
        <br>
        <br>
        Best<br>
        <br>
        James
        <div><br>
        </div>
        <div style="font-family: Courier
          New,courier,monaco,monospace,sans-serif; font-size: 10pt;">
          <div style="font-family: times new roman,new york,times,serif;
            font-size: 12pt;">
            <div dir="ltr"> <font face="Arial" size="2">
                <hr size="1"> <b><span style="font-weight: bold;">De&nbsp;:</span></b>
                Sathish Kumar <a class="moz-txt-link-rfc2396E" href="mailto:kingvsk@aol.com">&lt;kingvsk@aol.com&gt;</a><br>
                <b><span style="font-weight: bold;">&Agrave;&nbsp;:</span></b>
                <a class="moz-txt-link-abbreviated" href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a> <br>
                <b><span style="font-weight: bold;">Envoy&eacute; le :</span></b>
                Vendredi 13 Janvier 2012 14h29<br>
                <b><span style="font-weight: bold;">Objet&nbsp;:</span></b>
                Re: [vtkusers] WebGL 3D Viewer Demo<br>
              </font> </div>
            <br>
            Hi<br>
            <br>
            Thats nice...<br>
            <br>
            Regards,<br>
            Sathish<br>
            <br>
            On Friday 13 January 2012 11:42 AM, Daniel Haehn wrote:<br>
            &gt; Hi guys,<br>
            &gt;<br>
            &gt; this is all very exciting and looks great!<br>
            &gt;<br>
            &gt; Also, checkout XTK: <a moz-do-not-send="true"
              href="http://goXTK.com" target="_blank">http://goXTK.com</a><br>
            &gt;<br>
            &gt; For example, with XTK it is possible to display a
            (ascii) .vtk file<br>
            &gt; with the following javascript snippet:<br>
            &gt;<br>
            &gt; ...<br>
            &gt; // create a new renderer<br>
            &gt; var r = new X.renderer('r');<br>
            &gt; r.init();<br>
            &gt;<br>
            &gt; // load a .vtk file<br>
            &gt; var skull = new X.object();<br>
            &gt; skull.load('skull.vtk');<br>
            &gt;<br>
            &gt; // add the object<br>
            &gt; r.add(skull);<br>
            &gt;<br>
            &gt; // .. and render it<br>
            &gt; r.render();<br>
            &gt; ...<br>
            &gt;<br>
            &gt; Cheers,<br>
            &gt; Daniel<br>
            &gt;<br>
            &gt; 2012/1/11 S&eacute;bastien Valette&lt;<a
              moz-do-not-send="true"
              ymailto="mailto:sebastien.valette@creatis.insa-lyon.fr"
              href="mailto:sebastien.valette@creatis.insa-lyon.fr">sebastien.valette@creatis.insa-lyon.fr</a>&gt;:<br>
            &gt;&gt; Hi Sathish,<br>
            &gt;&gt;<br>
            &gt;&gt; Le 10/01/2012 09:06, Sathish Kumar a &eacute;crit :<br>
            &gt;&gt;<br>
            &gt;&gt; Hi Sebastien,<br>
            &gt;&gt;<br>
            &gt;&gt; Nice work. I am very much interested to get some
            feedback about your<br>
            &gt;&gt; experience.<br>
            &gt;&gt;<br>
            &gt;&gt; Are you splitting the 3D data into multiple files?<br>
            &gt;&gt;<br>
            &gt;&gt; In our case, the data is just 3 .vtk files parsed
            by the JavaScript client.<br>
            &gt;&gt; One file for the skin, one for the bones and one
            for the lung.<br>
            &gt;&gt;<br>
            &gt;&gt;<br>
            &gt;&gt; What is the size of 3D data file?<br>
            &gt;&gt;<br>
            &gt;&gt; quite small in that case : about 200kB<br>
            &gt;&gt;<br>
            &gt;&gt;<br>
            &gt;&gt; Is the 3D constructed at runtime?<br>
            &gt;&gt;<br>
            &gt;&gt;<br>
            &gt;&gt; the 3D scene is constructed by the client, there is
            no work on the<br>
            &gt;&gt; server-side, apart from serving the files. This is
            the simplest case of use<br>
            &gt;&gt; for us.<br>
            &gt;&gt;<br>
            &gt;&gt; I did not know ParaviewWeb had webGL abilities, but
            at the moment, it seems<br>
            &gt;&gt; rather complex to install and to use. Maybe future
            releases will improve<br>
            &gt;&gt; that?<br>
            &gt;&gt;<br>
            &gt;&gt;<br>
            &gt;&gt; Sebastien<br>
            &gt;&gt;<br>
            &gt;&gt;<br>
            &gt;&gt;<br>
            &gt;&gt;<br>
            &gt;&gt; Thanks,<br>
            &gt;&gt; Sathish<br>
            &gt;&gt;<br>
            &gt;&gt;<br>
            &gt;&gt; On Monday 09 January 2012 07:11 PM, S&eacute;bastien
            Valette wrote:<br>
            &gt;&gt;<br>
            &gt;&gt; Hi Sathish,<br>
            &gt;&gt;<br>
            &gt;&gt; interesting webpage! It's good to finally see webGL
            stuff reaching the VTK<br>
            &gt;&gt; ecosystem! We also have developed something in our
            lab, see:<br>
            &gt;&gt;<br>
            &gt;&gt; <a moz-do-not-send="true"
              href="http://www.creatis.insa-lyon.fr/%7Evalette/epaule/"
              target="_blank">http://www.creatis.insa-lyon.fr/~valette/epaule/</a><br>
            &gt;&gt;<br>
            &gt;&gt; it is a primitive simultaneous visualization of IRM
            slices and extracted<br>
            &gt;&gt; parts of bones and lung. We've been doing this
            ourselves as there was no<br>
            &gt;&gt; practical library to do that at that time.<br>
            &gt;&gt;<br>
            &gt;&gt; Greetings,<br>
            &gt;&gt;<br>
            &gt;&gt; Sebastien<br>
            &gt;&gt;<br>
            &gt;&gt;<br>
            &gt;&gt; Le 06/01/2012 05:49, Sathish Kumar a &eacute;crit :<br>
            &gt;&gt;<br>
            &gt;&gt; One of the features planned for Oviyam-5 is to view
            3D images from a DICOM<br>
            &gt;&gt; series and without a plugin using WebGL. We've just
            taken the first steps<br>
            &gt;&gt; towards reaching that goal.<br>
            &gt;&gt;<br>
            &gt;&gt; A technology preview with pre-rendered images is
            available at this link. Be<br>
            &gt;&gt; patient while loading the 3D models, it may take
            few minutes to load.<br>
            &gt;&gt;<br>
            &gt;&gt; Technologies used: VTK, HTML5, WebGL, JSON,
            Javascript, JS-Unzip...<br>
            &gt;&gt;<br>
            &gt;&gt; Features:<br>
            &gt;&gt; 1. Plugin-Free Design.<br>
            &gt;&gt; 2. Supports all major modern browsers like Chrome,
            Firefox, Safari and<br>
            &gt;&gt; Opera.(Use the latest versions available.The best
            performance is with Chrome<br>
            &gt;&gt; and Firefox.<br>
            &gt;&gt; 3. Supports IPhone, IPad and Android devices.
            However, due to the lack of<br>
            &gt;&gt; memory, only the cube demo works at present<br>
            &gt;&gt; 4. Load upto 36 MB of JSON 3D Data (Supports nearly
            150 instances/slices).<br>
            &gt;&gt; 5. Zoom In/Out Option.<br>
            &gt;&gt; 6. Pan Option.<br>
            &gt;&gt; 7. One click Axial, Coronal, Sagittal Views.<br>
            &gt;&gt; 8. 2D Rotation.<br>
            &gt;&gt; 9. 3D Rotation.<br>
            &gt;&gt;<br>
            &gt;&gt; Upcoming features:<br>
            &gt;&gt; 1. Data Compression(Zip/Unzip) support for faster
            data transfer.<br>
            &gt;&gt; 2. Support for Handheld devices.<br>
            &gt;&gt; 3. Look-Up Table to get colour.<br>
            &gt;&gt; 4. Support for user-defined models.<br>
            &gt;&gt;<br>
            &gt;&gt; Source:<br>
            &gt;&gt; <a moz-do-not-send="true"
href="http://forums.dcm4che.org/jiveforums/thread.jspa?threadID=4233&amp;tstart=0"
              target="_blank">http://forums.dcm4che.org/jiveforums/thread.jspa?threadID=4233&amp;tstart=0</a><br>
            &gt;&gt;<br>
            &gt;&gt; Regards,<br>
            &gt;&gt; Sathish<br>
            &gt;&gt;<br>
            &gt;&gt;<br>
            &gt;&gt; _______________________________________________<br>
            &gt;&gt; Powered by <a class="moz-txt-link-abbreviated" href="http://www.kitware.com">www.kitware.com</a><br>
            &gt;&gt;<br>
            &gt;&gt; Visit other Kitware open-source projects at<br>
            &gt;&gt; <a moz-do-not-send="true"
              href="http://www.kitware.com/opensource/opensource.html"
              target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
            &gt;&gt;<br>
            &gt;&gt; Please keep messages on-topic and check the VTK FAQ
            at:<br>
            &gt;&gt; <a moz-do-not-send="true"
              href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
            &gt;&gt;<br>
            &gt;&gt; Follow this link to subscribe/unsubscribe:<br>
            &gt;&gt; <a moz-do-not-send="true"
              href="http://www.vtk.org/mailman/listinfo/vtkusers"
              target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
            &gt;&gt;<br>
            &gt;&gt;<br>
            &gt;&gt;<br>
            &gt;&gt; _______________________________________________<br>
            &gt;&gt; Powered by <a class="moz-txt-link-abbreviated" href="http://www.kitware.com">www.kitware.com</a><br>
            &gt;&gt;<br>
            &gt;&gt; Visit other Kitware open-source projects at<br>
            &gt;&gt; <a moz-do-not-send="true"
              href="http://www.kitware.com/opensource/opensource.html"
              target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
            &gt;&gt;<br>
            &gt;&gt; Please keep messages on-topic and check the VTK FAQ
            at:<br>
            &gt;&gt; <a moz-do-not-send="true"
              href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
            &gt;&gt;<br>
            &gt;&gt; Follow this link to subscribe/unsubscribe:<br>
            &gt;&gt; <a moz-do-not-send="true"
              href="http://www.vtk.org/mailman/listinfo/vtkusers"
              target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
            &gt;&gt;<br>
            &gt;&gt;<br>
            &gt;&gt;<br>
            &gt;&gt;<br>
            &gt;&gt; _______________________________________________<br>
            &gt;&gt; Powered by <a class="moz-txt-link-abbreviated" href="http://www.kitware.com">www.kitware.com</a><br>
            &gt;&gt;<br>
            &gt;&gt; Visit other Kitware open-source projects at<br>
            &gt;&gt; <a moz-do-not-send="true"
              href="http://www.kitware.com/opensource/opensource.html"
              target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
            &gt;&gt;<br>
            &gt;&gt; Please keep messages on-topic and check the VTK FAQ
            at:<br>
            &gt;&gt; <a moz-do-not-send="true"
              href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
            &gt;&gt;<br>
            &gt;&gt; Follow this link to subscribe/unsubscribe:<br>
            &gt;&gt; <a moz-do-not-send="true"
              href="http://www.vtk.org/mailman/listinfo/vtkusers"
              target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
            &gt;&gt;<br>
            &gt;&gt;<br>
            &gt;&gt;<br>
            &gt;&gt; _______________________________________________<br>
            &gt;&gt; Powered by <a class="moz-txt-link-abbreviated" href="http://www.kitware.com">www.kitware.com</a><br>
            &gt;&gt;<br>
            &gt;&gt; Visit other Kitware open-source projects at<br>
            &gt;&gt; <a moz-do-not-send="true"
              href="http://www.kitware.com/opensource/opensource.html"
              target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
            &gt;&gt;<br>
            &gt;&gt; Please keep messages on-topic and check the VTK FAQ
            at:<br>
            &gt;&gt; <a moz-do-not-send="true"
              href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
            &gt;&gt;<br>
            &gt;&gt; Follow this link to subscribe/unsubscribe:<br>
            &gt;&gt; <a moz-do-not-send="true"
              href="http://www.vtk.org/mailman/listinfo/vtkusers"
              target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
            &gt;&gt;<br>
            &gt; _______________________________________________<br>
            &gt; Powered by <a class="moz-txt-link-abbreviated" href="http://www.kitware.com">www.kitware.com</a><br>
            &gt;<br>
            &gt; Visit other Kitware open-source projects at <a
              moz-do-not-send="true"
              href="http://www.kitware.com/opensource/opensource.html"
              target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
            &gt;<br>
            &gt; Please keep messages on-topic and check the VTK FAQ at:
            <a moz-do-not-send="true"
              href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
            &gt;<br>
            &gt; Follow this link to subscribe/unsubscribe:<br>
            &gt; <a moz-do-not-send="true"
              href="http://www.vtk.org/mailman/listinfo/vtkusers"
              target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
            <br>
            _______________________________________________<br>
            Powered by <a class="moz-txt-link-abbreviated" href="http://www.kitware.com">www.kitware.com</a><br>
            <br>
            Visit other Kitware open-source projects at <a
              moz-do-not-send="true"
              href="http://www.kitware.com/opensource/opensource.html"
              target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
            <br>
            Please keep messages on-topic and check the VTK FAQ at: <a
              moz-do-not-send="true"
              href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
            <br>
            Follow this link to subscribe/unsubscribe:<br>
            <a moz-do-not-send="true"
              href="http://www.vtk.org/mailman/listinfo/vtkusers"
              target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
            <br>
            <br>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>