Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
nd2shrink
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
Andrey ARISTOV
nd2shrink
Commits
26439f86
Commit
26439f86
authored
3 years ago
by
Andrey Aristov
Browse files
Options
Downloads
Patches
Plain Diff
celanup, better comment
parent
6d1365e9
No related branches found
No related tags found
1 merge request
!5
fix testing and stuff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
droplet_growth/register.py
+1
-3
1 addition, 3 deletions
droplet_growth/register.py
with
1 addition
and
3 deletions
droplet_growth/register.py
+
1
−
3
View file @
26439f86
...
...
@@ -2,9 +2,7 @@ from tifffile import imread, imwrite
import
matplotlib.pyplot
as
plt
import
imreg_dft
as
reg
import
numpy
as
np
from
numpy
import
array
import
scipy.ndimage
as
ndi
from
scipy.stats
import
norm
from
droplet_growth
import
mic
from
nd2tif.transform
import
to_8bits
...
...
@@ -357,7 +355,7 @@ def scale_tvec(tvec, scale=8):
def
transform
(
image
,
tvec
):
print
(
f
'
input
{
image
.
shape
}
'
)
print
(
f
'
transform
{
image
.
shape
}
'
)
fluo
=
reg
.
transform_img_dict
(
image
,
tvec
)
return
fluo
.
astype
(
'
uint
'
)
...
...
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