# Removing outliers from region

**URL:** https://discourse.paraview.org/t/removing-outliers-from-region/9249
**Category:** ParaView Support
**Created:** [March 22, 2022, 9:22am UTC](https://discourse.paraview.org/t/removing-outliers-from-region/9249 "2022-03-22T09:22:27Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![s195t](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/s/54ee81/32.png) [@s195t](https://discourse.paraview.org/u/s195t)
#### Post date: [March 22, 2022, 9:22am UTC](https://discourse.paraview.org/t/removing-outliers-from-region/9249/1 "2022-03-22T09:22:27Z")

</div>

Dear all,

What I am trying to do is, given a specific clip/slice, remove the data which has a very high value and very low frequency. I tried implementing in python some kind of “dynamic” condition for the threshold but it’s hard to find a specific correlation in my dataset. Is there a way to automatically filter out outliers from a specific region (eg. clip)? Reading through the documentation I saw the median filter, but I am not sure if that is the right one for the job, as it technically changes every value in the field instead of cutting off the outliers
