David Koeller
d4d3eaa1f1
Remove Picture.scale and Picture._rescale from novice module
...
The scale and rescale function was never used in the novice module.
These functions are extraneous in a novice code, and have no purpose there.
Also updated tests.
2015-07-12 11:47:07 -05:00
Steven Silvester
2c635989d2
Force novice.Picture.from_size to return a uint8 image
...
Force Picure.from_size to return a uint8 image
Remove img_as_ubyte
2015-01-30 19:42:55 -06:00
Steven Silvester
0debedd82c
Handle more warnings and reset io plugins as needed
...
Reset plugins prior to running collections test
Handle warnings in morphology pkg
Add __init__ for morpohology tests
Handle warnings for novice pkg
Handle warnings for restoration pkg
Handle warnings for segmentation pkg
Handle warnings for _shared pkg
Handle warnings for transform pkg
Handle warnings for util pkg
Handle warnings in viewer module
2014-12-23 16:48:16 -06:00
Michael Hansen
aa8cc0af40
Merged with ahojnnes novice
2014-03-19 20:58:44 -04:00
Johannes Schönberger
f871c4024f
Extract changes by @synesthesiam in PR #797
2014-03-19 17:47:49 -04:00
Michael Hansen
8321c84e63
Merged with master
2014-03-17 08:40:58 -04:00
cgohlke
534721126b
Fix test_novice.test_update_on_save failure on Windows
...
On Windows, tempfile.NamedTemporaryFile() can not be opened a second time. See <http://docs.python.org/2/library/tempfile.html#tempfile.NamedTemporaryFile >
2014-03-10 22:22:02 -07:00
JDWarner
98ff6e5f20
FIX: Specify field index for Python 2.6 compatible use of str.format()
2013-11-20 15:45:54 -06:00
Michael Hansen
1d6531aa04
Fixed Python 3 import errors, added alpha and rgba properties
2013-10-23 16:28:41 -04:00
Tony S Yu
e794aed012
Add support for non-unit step
2013-10-21 23:02:51 -05:00
Tony S Yu
6ce788a5d3
Add support for negative indexes/slices.
2013-10-21 23:02:51 -05:00
Tony S Yu
8f506be2ea
Fix Py3 range incompatibilities
2013-10-21 23:02:51 -05:00
Tony S Yu
be1d81f3fc
Simplify interface
2013-10-21 23:02:49 -05:00
Tony S Yu
d177aa6c16
Replace use of elephant pic with Chelsea the cat
2013-10-21 23:02:49 -05:00
Tony S Yu
f1e0197753
Remove PixelGroup and just return a Picture
2013-10-21 23:02:49 -05:00
Tony S Yu
35a9cd4067
Fix setter for xy_array and reuse.
2013-10-21 23:02:49 -05:00
Tony S Yu
19a9e72ec7
Remove PixelGroup dependence on pic and key attrs
2013-10-21 23:02:49 -05:00
Tony S Yu
7999e3f95e
Refactor and add error tests
2013-10-21 23:02:48 -05:00
Tony S Yu
7c1de57928
Simplify data access and add tests
2013-10-21 23:02:47 -05:00
Tony S Yu
8869724b51
Remove color and size from Picture.__init__
...
Also rename `from_color` to `from_size`.
2013-10-21 23:02:47 -05:00
Tony S Yu
3619e6f2f2
Rename image to array
2013-10-21 23:02:47 -05:00
Tony S Yu
c5bfed26cd
Fix validation bug and add test
2013-10-21 23:02:47 -05:00
Tony S Yu
9385e73586
Clean up testing
2013-10-21 23:02:47 -05:00
Tony S Yu
896e471a12
Fix modified flag behavior
2013-10-21 23:02:46 -05:00
Tony S Yu
e86b0a161c
Change inflate/inflation to rescale/scale.
2013-10-21 23:02:46 -05:00
Tony S Yu
a2f03d3075
Speed up test
2013-10-21 23:02:45 -05:00
Tony S Yu
22a7558673
Change test class to test functions
2013-10-21 23:02:45 -05:00
Michael Hansen and Tony S Yu
2e98d8c21c
Added novice submodule after rebase
2013-10-21 23:02:45 -05:00