# Read Raw files and create vtkimagedata

**URL:** <https://discourse.vtk.org/t/read-raw-files-and-create-vtkimagedata/8869>\
**Category:** Development\
**Created:** [July 5, 2022, 12:26pm UTC](https://discourse.vtk.org/t/read-raw-files-and-create-vtkimagedata/8869 "2022-07-05T12:26:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mdeepakcdac](https://discourse.vtk.org/user_avatar/discourse.vtk.org/mdeepakcdac/32/8720_2.png) [@mdeepakcdac](https://discourse.vtk.org/u/mdeepakcdac)\
**Post date:** [July 5, 2022, 12:26pm UTC](https://discourse.vtk.org/t/read-raw-files-and-create-vtkimagedata/8869/1 "2022-07-05T12:26:49Z")

</div>

How can i read raw data files from folder and convert it to the vtkimagedata format.  
I need to read the raw data files from the folder and do some filters on it and finally need to render it. its dimension 1024 x 1024 and 16 bit unsigned little endian.  
So i plan to read the raw files from folder and convert it to vtkimagedata then filter and render. But unable to read and convert it to vtkimagedata properly.  
I am in learning stage of the vtk. So plz help.  
Thank in advance
