Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed indentation #56

Merged
merged 1 commit into from
Jun 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions cerr/radiomics/textureFilters.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Supported filters include: "mean", "sobel", "LoG", "gabor", "gabor3d", "laws", "lawsEnergy"
"rotationInvariantLaws", "rotationInvariantLawsEnergy"
"""
import pywt
#import pywt
import numpy as np
from scipy.signal import convolve2d
from scipy.signal import convolve
Expand Down Expand Up @@ -836,12 +836,12 @@ def rotationInvariantLawsFilter(scan3M, direction, filterDim, normFlag, rotS):
across orientations as specified.
"""

filter = {"lawsFilter": lawsFilter}
response = rotationInvariantFilt(scan3M, [], filter,\
filter = {"lawsFilter": lawsFilter}
response = rotationInvariantFilt(scan3M, [], filter,\
direction, filterDim, normFlag, rotS)
out3M = response[filterDim]
out3M = response[filterDim]

return out3M
return out3M


def rotationInvariantLawsEnergyFilter(scan3M, mask3M, direction, filterDim,\
Expand Down Expand Up @@ -1127,7 +1127,7 @@ def rotate3dSequence(vol3M, index, sign):

rotArr3M = switch[index](vol3M)

return rotArray3M
return rotArr3M


def flipSequenceForWavelets():
Expand Down
Loading