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