File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 <template #title >Gaussian smooth selected segment.</template >
55 <ul >
66 <li >
7- Applies label-preserving Gaussian smoothing to reduce noise and smooth
8- boundaries.
9- </li >
10- <li >
11- Each label is processed separately to prevent mixing between different
12- segments.
7+ Applies Gaussian smoothing to reduce noise and smooth boundaries.
138 </li >
9+ <li >Only the selected segment will be smoothed.</li >
1410 <li >
1511 Higher sigma values create more smoothing effect but may reduce fine
1612 details.
3026 hide-details
3127 thumb-label
3228 :model-value =" sigma"
29+ :disabled =" isDisabled"
3330 @update:model-value =" setSigma"
3431 />
3532 </div >
3936import { computed } from ' vue' ;
4037import MiniExpansionPanel from ' ./MiniExpansionPanel.vue' ;
4138import { useGaussianSmoothStore } from ' ../store/tools/gaussianSmooth' ;
39+ import { useProcessStore } from ' ../store/tools/process' ;
4240
4341const gaussianSmoothStore = useGaussianSmoothStore ();
42+ const processStore = useProcessStore ();
4443
4544const sigma = computed (() => gaussianSmoothStore .sigma );
45+ const isDisabled = computed (() => processStore .processStep === ' previewing' );
4646const { MIN_SIGMA, MAX_SIGMA, setSigma } = gaussianSmoothStore ;
4747 </script >
You can’t perform that action at this time.
0 commit comments