# Question about resample with dataset filter

**URL:** https://discourse.vtk.org/t/question-about-resample-with-dataset-filter/9552
**Category:** Support
**Created:** [October 9, 2022, 4:45pm UTC](https://discourse.vtk.org/t/question-about-resample-with-dataset-filter/9552 "2022-10-09T16:45:17Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![1116](https://discourse.vtk.org/user_avatar/discourse.vtk.org/1116/32/1506_2.png) [@1116](https://discourse.vtk.org/u/1116)
#### Post date: [October 9, 2022, 4:45pm UTC](https://discourse.vtk.org/t/question-about-resample-with-dataset-filter/9552/1 "2022-10-09T16:45:17Z")

</div>

Hello, guys, could I ask a question regarding the resample with data set filter?

I read the associated blog here [https://www.kitware.com/dataset-resampling-filters/](https://www.kitware.com/dataset-resampling-filters/)  
I’m wondering if it is possible to resample data between data sets with different mesh types.

For example, I have an image data that contains a field array: f1, and I also have another mesh data file which is an unstructured mesh (without any field array), could I map the data generated by the image data set into that unstructured mesh and create a unstructured data with field f1?

Thanks a lot for the help!

Fig 1 shows the original data, I try to resample it to the mesh shown in fig2, but it seems that the field data has wrong values after sampling operation

 ![fig1](https://discourse.vtk.org/uploads/default/original/2X/a/a6e3da7066ec8957eb7b6b82bb65e8987f346a9c.png)  
 ![fig2](https://discourse.vtk.org/uploads/default/original/2X/e/e6ab86e2db9cb4dedb22aa871f88b6566f35ba7e.jpeg)
