# Is itk.js support "StreamingImageFilter"?

**URL:** https://discourse.itk.org/t/is-itk-js-support-streamingimagefilter/6605
**Category:** Beginner Questions
**Created:** [April 30, 2024, 12:00pm UTC](https://discourse.itk.org/t/is-itk-js-support-streamingimagefilter/6605 "2024-04-30T12:00:17Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Mohammed\_AboArab](https://discourse.itk.org/user_avatar/discourse.itk.org/mohammed_aboarab/32/4014_2.png) [@Mohammed\_AboArab](https://discourse.itk.org/u/Mohammed_AboArab)
#### Post date: [April 30, 2024, 12:00pm UTC](https://discourse.itk.org/t/is-itk-js-support-streamingimagefilter/6605/1 "2024-04-30T12:00:17Z")

</div>

Hello,

I am currently working on 3D volume rendering using vtk.js and itk.js. I encountered an issue when rendering a large-sized dataset, which is related to `MemoryAllocationError`. After some investigation, I discovered a potential solution using the StreamingImageFilter. My question is: Is this filter directly available in itk.js?

Thank you.

---

<div class="post-metadata">

### Author: ![matt.mccormick](https://discourse.itk.org/user_avatar/discourse.itk.org/matt.mccormick/32/7_2.png) [@matt.mccormick](https://discourse.itk.org/u/matt.mccormick)
#### Post date: [May 19, 2024, 9:05pm UTC](https://discourse.itk.org/t/is-itk-js-support-streamingimagefilter/6605/2 "2024-05-19T21:05:51Z")

</div>

Hell @Mohammed_AboArab ,

Welcome to ITK 🌞

A good approach is to break the image into chunks, representing it as a multiscale [OME-Zarr](https://link.springer.com/article/10.1007/s00418-023-02209-1) image. There is support for this in the [@itk-viewer/io](https://github.com/InsightSoftwareConsortium/itk-viewer/tree/40e15e9fd33752c8ce6235821c4e07b8394cc598/packages/io) package. Then, process the chunks in parallel with the ITK-Wasm [WebWorkerPool](https://github.com/InsightSoftwareConsortium/itk-wasm/tree/8fab5ceff963e5f063719d9a3d4bdaebf43c1ed7/packages/core/typescript/itk-wasm/src/worker-pool).

---

<div class="post-metadata">

### Author: ![Mohammed\_AboArab](https://discourse.itk.org/user_avatar/discourse.itk.org/mohammed_aboarab/32/4014_2.png) [@Mohammed\_AboArab](https://discourse.itk.org/u/Mohammed_AboArab)
#### Post date: [May 20, 2024, 10:52am UTC](https://discourse.itk.org/t/is-itk-js-support-streamingimagefilter/6605/3 "2024-05-20T10:52:35Z")

</div>

Hello @matt.mccormick  
Thank you so much!  
I will check it out.
