Project

General

Profile

Actions

Bug #4205

closed

tanh Filter fails on rectangluar images

Added by Neil Voss almost 8 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Carl Negro
Category:
Python scripting
Target version:
Start date:
05/24/2016
Due date:
% Done:

0%

Estimated time:
Affected Version:
Appion/Leginon 3.3
Show in known bugs:
No
Workaround:

Description

Test case:

import numpy
from appionlib.apImage import imagefilter
a = numpy.random.random((256,128))
b = imagefilter.tanhHighPassFilter(a, 64)

b = imagefilter.tanhLowPassFilter(a, 4)

result
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "appionlib/apImage/imagefilter.py", line 425, in tanhLowPassFilter
    fftdata *= filter
ValueError: shape mismatch: objects cannot be broadcast to a single shape


Related issues 1 (0 open1 closed)

Blocks Appion - Feature #3988: New ImageFilter class for the python scriptingClosedNeil Voss02/28/2016

Actions
Actions #1

Updated by Neil Voss almost 8 years ago

  • Blocks Feature #3988: New ImageFilter class for the python scripting added
Actions #2

Updated by Neil Voss almost 8 years ago

  • Status changed from Assigned to In Test
  • Assignee changed from Neil Voss to Carl Negro

commit:0ead74c6 should fix this

Actions #3

Updated by Anchi Cheng over 6 years ago

  • Status changed from In Test to Closed

works

Actions #4

Updated by Anchi Cheng over 6 years ago

  • Target version set to Appion/Leginon 3.3
Actions

Also available in: Atom PDF