Skip to content

Commit

Permalink
Add haralick start log and update docker images.
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanhillyer committed Sep 10, 2020
1 parent 0784b47 commit f409a01
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM nathanhillyer/ml-base
ENV LANG C.UTF-8
RUN PIP_INSTALL="python -m pip install --upgrade --no-cache-dir --retries 10 --timeout 60" && \
$PIP_INSTALL \
collageradiomics==0.2.1 \
collageradiomics==0.2.5 \
Pillow \
&& \
ldconfig && \
Expand Down
2 changes: 1 addition & 1 deletion docker/dev_environment/collageradiomics_pip/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM nathanhillyer/ubuntu-base
ENV LANG C.UTF-8
RUN PIP_INSTALL="python -m pip install --upgrade --no-cache-dir --retries 10 --timeout 60" && \
$PIP_INSTALL \
collageradiomics==0.1.2.1 \
collageradiomics==0.2.5 \
&& \
ldconfig && \
apt-get clean && \
Expand Down
2 changes: 1 addition & 1 deletion module/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.2.4
0.2.5
3 changes: 3 additions & 0 deletions module/collageradiomics.py
Original file line number Diff line number Diff line change
Expand Up @@ -484,6 +484,9 @@ def calculate_haralick_textures(self, dominant_angles):
if self.verbose_logging:
print(f'dominant_angles_binned shape is {shape} mask shape is {self.mask_array.shape}')

if self.verbose_logging:
print('starting haralick calculations...')

# We extended the dominant angles by one slice in each direction, so now we need to trim those off.
for z in range(1, depth - 1):
for y,x in product(range(height), range(width)):
Expand Down

0 comments on commit f409a01

Please sign in to comment.