Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
fdt
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FSL
fdt
Commits
a1259451
Commit
a1259451
authored
18 years ago
by
Matthew Webster
Browse files
Options
Downloads
Patches
Plain Diff
slight changes
parent
b982c1f8
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
fdtx.tcl
+16
-12
16 additions, 12 deletions
fdtx.tcl
with
16 additions
and
12 deletions
fdtx.tcl
+
16
−
12
View file @
a1259451
...
...
@@ -463,6 +463,7 @@ proc fdt:probtrack_mode { w } {
pack $w.data.seed.ssf $w.data.seed.voxel -in $w.data.seed.f -side bottom -anchor w -pady 2
pack $w.data.seed.menu $w.data.seed.reference -in $w.data.seed.f -side left -anchor w -pady 2
$w.data.seed.reference configure -label
"Seed reference image:"
-title
"Choose reference image"
$w.data.dir configure -label
"Output file:"
-title
"Name the output file"
-filetypes IMAGE
}
seedmask
{
pack $w.data.seed.ssf $w.data.seed.bcf -in $w.data.seed.f -side bottom -anchor w -pady 2
...
...
@@ -470,13 +471,12 @@ proc fdt:probtrack_mode { w } {
pack $w.data.targets.cf -in $w.data.targets.f -anchor w
$w.data.seed.reference configure -label
"Mask image:"
-title
"Choose mask image"
$w.data.dir configure -label
"Output directory:"
-title
"Name the output directory"
-filetypes *
}
network
{
pack $w.data.seed.target $w.data.seed.ssf -in $w.data.seed.f -side bottom -anchor w -pady 2
pack $w.data.seed.menu $w.data.seed.reference -in $w.data.seed.f -side left -anchor w -pady 2
pack $w.data.seed.target $w.data.seed.ssf $w.data.seed.menu -in $w.data.seed.f -side bottom -anchor w -pady 2
pack $w.data.targets.cf -in $w.data.targets.f -anchor w
$w.data.seed.reference configure -label
"First mask image:"
-title
"Choose mask image"
$w.data.dir configure -label
"Output directory:"
-title
"Name the output directory"
-filetypes *
}
}
$w.probtrack compute_size
...
...
@@ -677,7 +677,7 @@ proc fdt:apply { w dialog } {
set copylog
""
if
{
$probtrack
(
usereference_yn
)
}
{
set flags
"
$flags
--xfm=
=
$probtrack
(xfm)"
set flags
"
$flags
--xfm=
$probtrack
(xfm)"
puts $log
"set probtrack(xfm)
$probtrack
(xfm)"
}
...
...
@@ -739,19 +739,23 @@ proc fdt:apply { w dialog } {
set canwrite 1
if
{
[
file exists $probtrack
(
output
)
]
}
{
set canwrite
[
YesNoWidget
"Overwrite
$probtrack
(output)?"
Yes No
]
if
{
$canwrite
}
{
puts
"rm -rf
$probtrack
(output)"
exec rm -rf $probtrack
(
output
)
puts
"mkdir -p
$probtrack
(output)"
exec mkdir -p $probtrack
(
output
)
}
}
if
{
$canwrite
}
{
puts
"here"
puts
"rm -rf
$probtrack
(output)"
exec rm -rf $probtrack
(
output
)
puts
"mkdir -p
$probtrack
(output)"
exec mkdir -p $probtrack
(
output
)
}
puts $probtrack
(
output
)
if
{
$canwrite
}
{
set copylog
"fdt.log"
if
{
$probtrack
(
waypoint_yn
)
== 1
}
{
fdt_exp w $w.data.targets.wf.tf.targets $probtrack
(
output
)
/waypoints.txt
set flags
"
$flags
--waypoints=
=
$probtrack
(output)/waypoints.txt "
set flags
"
$flags
--waypoints=
$probtrack
(output)/waypoints.txt "
}
if
{
$probtrack
(
classify_yn
)
== 1
}
{
fdt_exp w $w.data.targets.cf.tf.targets $probtrack
(
output
)
/targets.txt
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment