Different output by scripting 'REMOVE_SMALL_ISLANDS'

Hello 3Dslicer forum

I made a small Python script to start the “Islands” -> “REMOVE_SMALL_ISLANDS” effect.

self.segmentEditorWidget.setActiveEffectByName("Islands")
effect = self.segmentEditorWidget.activeEffect()
effect.setParameter("Operation","REMOVE_SMALL_ISLANDS")
effect.setParameter("MinimumSize", 1000)
effect.self().onApply()

with the a parameters “1000”

so i did the same with the SegmentEditor GUI with the “1000” voxels parameters
but the segmentation output is not the same and i don’t find why

do you have an ideas ?

Thanks a lot