generate videos from selected z-axis sequences

This commit is contained in:
2026-05-03 02:59:00 +08:00
parent 5ba2d48fdb
commit f568faf6ed
3 changed files with 43 additions and 83 deletions

View File

@@ -819,6 +819,7 @@ export default function App() {
maxAngle: videoMaxAngle,
durationSeconds: videoDuration,
showArrow: showVideoArrow,
sourceLabel: selectedVideoSource.label,
})
}) as BackendJob;
setVideoJob(job);
@@ -1068,8 +1069,8 @@ export default function App() {
</div>
<div className="grid grid-cols-2 gap-4">
<div>
<div className="flex justify-between text-[10px] font-bold mb-2 text-slate-500"><span></span><span>{videoMaxAngle}°</span></div>
<input type="range" min="5" max="30" step="1" value={videoMaxAngle} onChange={e => setVideoMaxAngle(parseInt(e.target.value, 10))} className="w-full accent-blue-600" />
<div className="flex justify-between text-[10px] font-bold mb-2 text-slate-500"><span></span><span>Z</span></div>
<div className="h-5 flex items-center text-[10px] font-bold text-slate-400"> DICOM </div>
</div>
<div>
<div className="flex justify-between text-[10px] font-bold mb-2 text-slate-500"><span></span><span>{videoDuration}s</span></div>