import React, { useState } from 'react'; import { Button, Input, Label, Separator } from '@ohif/ui-next'; import { useRunCommand } from '@ohif/core'; import { useTranslation } from 'react-i18next'; function SimplifyContourOptions() { const [areaThreshold, setAreaThreshold] = useState(10); const runCommand = useRunCommand(); const { t } = useTranslation('SegmentationPanel'); return (
{t('Fill contour holes')}
{t('Remove Small Contours')}
setAreaThreshold(Number(e.target.value))} />
{t('Create New Segment from Holes')}
); } export default SimplifyContourOptions;