Skip to content

post story: PyCon APAC & PyCon Taiwan 2021 talks: a Chrome extension uses Pyodide to render medical DICOM files #15

@grimmerk

Description

@grimmerk

Motivation:
I made a Chrome extension to view online/offline medical DICOM before. This year I tried Pyodide to migrate the data parser part from JS to Python, in order to get better maintainability. Whiling doing the migration, I thought it might be a good thing to share the result with the Python community so I tried to submit the talk to PyconTW first. Fortunately, I became one of the speakers in PyCon Taiwan. Later I was chosen to be one of 4 Taiwan speaks to represent Taiwan to attend PyCon APAC. Based on the discussion, I would like to share this experience a little more in the this pyodide-blog and most of the content of this proposed post will use the talk slide as a reference.

PyCon APAC talk slide: https://slides.com/grimmer/pyconapac_pyodide_dicom_viewer (improvement of PyConTW slide)
PyCon TW talk slide: https://slides.com/grimmer/intro_pyodide_medical_dicom_viewer
repo: https://github.com/grimmer0125/embedded-pydicom-react-viewer

post outline:

  • Motivation (roughly the same as above)
  • Comparison of visualization + parsing solutions. slide p4
  • *Pyodide introduction (slide p5~p17). I will skip most of this part in slide content and if you think which page is good to be added, welcome to tell me.
  • Introduction to my project: Embedded Pydicom React Viewer, since slide p18.
    • ...
    • cover a little performance profiling and how I overcome, e.g. p25
    • ...
  • Build a JS lib d4c-queue to help Pyodide
    • loading UX
    • mouse event throttler to prevent delaying issues when using Pyodide in web worker (not due to Pyodide itself and is caused by performance bottleneck)
  • Conclusion

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions