AutoRange in vtk.js?

Does vtk.js offer auto range similar to the c++ version below?

VTK/Imaging/Statistics/vtkImageHistogramStatistics.cxx at master · Kitware/VTK (github.com)

I’d like to use auto range as window level for NIFTI images.

vtk.js doesn’t have vtkImageHistogramStatistics, but the auto-range implemention is trivial enough to include in your own application when setting the default window/level parameters.

Thanks for the reply, I’ve implemented my own auto range, but was wondering if vtk.js already has one.