Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
python3-imagej-tiff
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Elphel
python3-imagej-tiff
Commits
f165ea44
Commit
f165ea44
authored
Jul 12, 2018
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added NaNs
parent
cd541734
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
imagej_tiff.py
imagej_tiff.py
+9
-1
No files found.
imagej_tiff.py
View file @
f165ea44
...
@@ -175,6 +175,14 @@ class imagej_tiff:
...
@@ -175,6 +175,14 @@ class imagej_tiff:
res
[
i
,
j
,
1
]
=
np
.
nan
res
[
i
,
j
,
1
]
=
np
.
nan
res
[
i
,
j
,
2
]
=
np
.
nan
res
[
i
,
j
,
2
]
=
np
.
nan
# NaNize
a
=
res
[:,:,
0
]
a
[
a
==-
256
]
=
np
.
nan
b
=
res
[:,:,
1
]
b
[
b
==-
256
]
=
np
.
nan
c
=
res
[:,:,
2
]
c
[
c
==
0
]
=
np
.
nan
return
res
return
res
...
@@ -354,7 +362,7 @@ if __name__ == "__main__":
...
@@ -354,7 +362,7 @@ if __name__ == "__main__":
plt
.
colorbar
()
plt
.
colorbar
()
fig
=
plt
.
figure
()
fig
=
plt
.
figure
()
fig
.
suptitle
(
"Residual disparity"
)
fig
.
suptitle
(
"
Esitmated+
Residual disparity"
)
plt
.
imshow
(
values
[:,:,
1
])
plt
.
imshow
(
values
[:,:,
1
])
plt
.
colorbar
()
plt
.
colorbar
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment