This repository has been archived by the owner on Jul 12, 2021. It is now read-only.
/
CHANGES_SINCE_08
56 lines (42 loc) · 1.64 KB
/
CHANGES_SINCE_08
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
===========================
Changes Since Version 0.80
===========================
+ Watershed is now implememented. The interface is slightly different: it takes a
Boolean return_lines parameter instead of the the LINEREG parameter.
This applies to watershed(), cwatershed
+ concat() now returns np.dstack() for 'depth' dimension!
+ numpy is used (instead of Numeric).
+ Function names no longer start with mm.
A function name prefix is matlabish and not pythonic.
+ No argument names are uppercase anymore. This affects:
endpoints()
gray()
Use the old mm* for the old argument names
+ Some function names have changed:
* Over-abbreviated function names:
clohole -> close_holes
ero -> erode
cero -> cerode
dil -> dilate
cdil -> cdilate
sedil -> sedilate
add4dil -> add4dilate
* Functions with names that conflict with numpy names:
int32 -> to_uint32
uint16 -> to_uint16
uint8 -> to_uint8
* Other:
gshow -> overlay
+ Some functions were removed:
* Registration functions
mminstall, mmversion, mmregister
* Functions which are easily replaced with array operations
mmcmp, mmis, mmislesseq, mmstats
* Other functions which could be replaced
plot, show (use matplotlib, for example)
+ Small fixes here and there in the code
+ NEW functions:
cdist (conditional distance transform)
+ gshow(), glblshow(), and gdtshow() now return (h,w,3) instead of (3,h,w). This makes it easy to use matplotlib to
display the results.
The pymorph.compat module contains the old names and removed functions. Its use for new code is heavily discouraged.