Marianne Corvellec
bba2b1b3fa
Documented another easy way to build scikit-image for virtualenv users.
2013-06-28 12:35:50 -04:00
Josh Warner
173fec01c7
Merge pull request #575 from tonysyu/feature/viewer-linking
...
Linked image viewers and docked plugins
2013-06-28 08:32:34 -07:00
Horea Christian
9e415a096a
Corrected indents Again.
2013-06-28 13:21:55 +02:00
Horea Christian
03623a3028
Corrected indents (4space instead tab).
2013-06-28 05:28:15 +02:00
Horea Christian
8367542a20
Corrected indentation and spacing.
2013-06-28 01:25:13 +02:00
Johannes Schönberger
6d5c8cb299
Merge pull request #604 from JDWarner/fix_sitk_tests
...
FIX: prepend `np.testing.` to assert_* statements
2013-06-27 13:39:26 -07:00
Josh Warner (Mac)
82c987cb15
FIX: prepend np.testing. to assert_* statements
...
Resolve a simple namespace problem, eliminating 15 errors in
tests Travis doesn't catch because Travis doesn't build SimpleITK
2013-06-27 15:13:21 -05:00
Horea Christian
45d960d64f
User-specified output ratio
...
Added a keyword argument which enables the user to select other ratios for the output image rather than
just 1:1.
2013-06-27 08:15:49 +02:00
tonysyu
c826935d9e
Change default Slider update_on value to 'release'
...
Image filtering is usually slow, so updating on move was usually a bad idea.
2013-06-26 11:23:12 -05:00
tonysyu
ed7c75d4c6
Raise ImageViewer to front on start.
...
Currently only works for main window, does not work for linked viewers.
2013-06-26 11:00:24 -05:00
Tony S Yu
cae693cb69
Change QApp default to previous behavior.
2013-06-25 23:24:06 -05:00
Tony S Yu
dae0156230
Make histogram threshold adjustable
2013-06-25 23:20:12 -05:00
Tony S Yu
e305677de5
Fix PyQt4 segfault caused by PySide fix.
...
I guess PySide saves the QApplication internally, while PyQt4 doesn't.
Saving the QApplication as a global prevents it from getting garbage
collected. Saving the QApplication as an instance variable in the
ImageViewer also works, but that might prevent the ImageViewer from getting
garbage collected in an interactive session. (weakref doesn't seem to work here.)
2013-06-25 23:15:42 -05:00
tonysyu
c4299c4637
Fix execution in IPython with qt backend.
...
New QApplication and event-loop implementation stolen shamelessly from
IPython. Strangely, running the viewer at the IPython prompt will
open an orphan Matplotlib figure window, but running a script using
`%run` does not.
Only tested on PySide (not PyQt4).
2013-06-25 14:37:01 -05:00
Stefan van der Walt
4c39d2693a
Merge pull request #601 from ahojnnes/corner-eps
...
BUG: Fix division by zero bug in corner detectors.
2013-06-23 15:42:16 -07:00
Johannes Schönberger
c9b2bd0aae
Fix division by zero bug in corner detectors
2013-06-23 23:39:20 +02:00
Jostein Bø Fløystad
6d2f082c11
test_radon_transform: Style fixes, PEP8.
2013-06-23 12:48:14 +02:00
Jostein Bø Fløystad
186a238e48
test_radon_transform: Clean up imports.
2013-06-23 12:48:14 +02:00
Jostein Bø Fløystad
4b25c48245
transform.iradon: Correct determination of center of projection.
2013-06-23 12:48:14 +02:00
Jostein Bø Fløystad
cca66a04ef
transform.radon: Robust determination of center of projection.
2013-06-23 12:48:14 +02:00
Jostein Bø Fløystad
df0b060c69
test_radon_transform: Change test criterion for sinogram_circle.
2013-06-23 12:48:13 +02:00
Jostein Bø Fløystad
934f1040ad
test_radon_transform: Change test criterion for iradon_minimal.
2013-06-23 12:48:13 +02:00
Jostein Bø Fløystad
afaab4fea7
test_radon_transform: Refactor tests and make them stricter.
2013-06-23 12:48:13 +02:00
Jostein Bø Fløystad
b8a6b4fa00
radon_transform: Stylistic changes.
2013-06-23 12:48:13 +02:00
Jostein Bø Fløystad
e63a1fb341
test_radon_transform: debug option for test_iradon_minimal.
2013-06-23 12:48:13 +02:00
Jostein Bø Fløystad
cf51de6b37
test_radon_transform: Refactor and improve test_radon_iradon.
...
Aside from refactoring, the Shepp-Logan phantom is now used as it is a
more challenging test object.
2013-06-23 12:48:13 +02:00
Jostein Bø Fløystad
1caafd4451
test_radon_transform: Test sinogram conversions.
2013-06-23 12:48:13 +02:00
Jostein Bø Fløystad
b61ff7513e
transform.iradon: Refactoring for shorter functions.
...
Will facilitate testing.
2013-06-23 12:48:13 +02:00
Jostein Bø Fløystad
da423931b5
test_radon_transform: Add helper functions.
2013-06-23 12:48:13 +02:00
Jostein Bø Fløystad
131cfc73ed
transform.iradon: Redefine slice and projection center.
...
These changes should match those made to radon.
2013-06-23 12:48:13 +02:00
Jostein Bø Fløystad
364e82176f
radon tests: Refactor test for circle reconstructions.
2013-06-23 12:48:13 +02:00
Jostein Bø Fløystad
a44f1d4ef9
transform.radon: Consistent definition of center of array.
...
The center is now defined as shape[i] // 2.
2013-06-23 12:48:13 +02:00
Jostein Bø Fløystad
380c916c92
transform.radon: Use correct padding for rectangular images.
2013-06-23 12:48:13 +02:00
Jostein Bø Fløystad
28de2f978a
transform.radon: Remove unneccesary matrix inverse.
2013-06-23 12:48:13 +02:00
Jostein Bø Fløystad
1d64eb59eb
transform.iradon: Add tests for center of projection.
...
This is a test designed for resolving gh-592.
2013-06-23 12:48:13 +02:00
Jostein Bø Fløystad
b8a20bcb59
transform.radon: Add testcases for rectangular input arrays.
2013-06-23 12:48:13 +02:00
Jostein Bø Fløystad
4e0cbf97fe
transform.radon: Add test to verify the projection center.
...
This test is designed for issue gh-592.
2013-06-23 12:48:13 +02:00
Stefan van der Walt
113267bd4d
Merge pull request #577 from JDWarner/add_pad
...
ENH: Generalized N-dimensional array padding.
2013-06-22 20:51:51 -07:00
Stefan van der Walt
0a727e3367
Merge pull request #485 from tonysyu/image_label2rgb
...
ENH: Add `label2rgb`.
2013-06-22 20:24:20 -07:00
Johannes Schönberger
360f5b55e3
Merge pull request #597 from sciunto/hough_ellipse
...
Hough transform for ellipses
2013-06-21 12:47:50 -07:00
Johannes Schönberger
d8d5e30920
Merge pull request #598 from sciunto/fix_import
...
Fix import + pep8
2013-06-21 12:45:51 -07:00
François Boulogne
8aad4d6e94
fix missing space
2013-06-21 19:13:18 +02:00
François Boulogne
a165cf3dca
pep8
2013-06-20 23:28:49 +02:00
François Boulogne
77d7b25b52
fix import testing
2013-06-20 23:26:10 +02:00
François Boulogne
a9f962695e
add spaces for travis (pep8)
2013-06-20 23:12:16 +02:00
François Boulogne
84bff08601
fix import testing
2013-06-20 23:08:39 +02:00
François Boulogne
5c3eef0d86
delete comment
2013-06-20 22:53:32 +02:00
François Boulogne
6f6d207eb2
fix import
2013-06-20 22:53:13 +02:00
François Boulogne
b9572e8c68
remove commented lines
2013-06-20 22:47:08 +02:00
François Boulogne
0a4fcdad0a
fix imports
2013-06-20 22:46:37 +02:00