mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-06 05:16:40 +08:00
remoce selem_num
This commit is contained in:
@@ -93,7 +93,6 @@ char shift_x, char shift_y,int bitdepth):
|
||||
cdef int max_se = srows*scols
|
||||
cdef int n_se_n, n_se_s, n_se_e, n_se_w
|
||||
|
||||
cdef int selem_num = np.sum(selem != 0)
|
||||
cdef int* histo = <int*>malloc(maxbin * sizeof(int))
|
||||
cdef int* se_e_r = <int*>malloc(max_se * sizeof(int))
|
||||
cdef int* se_e_c = <int*>malloc(max_se * sizeof(int))
|
||||
|
||||
@@ -94,7 +94,6 @@ char shift_x, char shift_y,int bitdepth, int s0, int s1):
|
||||
cdef int max_se = srows*scols
|
||||
cdef int n_se_n, n_se_s, n_se_e, n_se_w
|
||||
|
||||
cdef int selem_num = np.sum(selem != 0)
|
||||
cdef int* histo = <int*>malloc(maxbin * sizeof(int))
|
||||
cdef int* se_e_r = <int*>malloc(max_se * sizeof(int))
|
||||
cdef int* se_e_c = <int*>malloc(max_se * sizeof(int))
|
||||
|
||||
@@ -90,7 +90,6 @@ char shift_x, char shift_y,int bitdepth, float p0, float p1):
|
||||
cdef int max_se = srows*scols
|
||||
cdef int n_se_n, n_se_s, n_se_e, n_se_w
|
||||
|
||||
cdef int selem_num = np.sum(selem != 0)
|
||||
cdef int* histo = <int*>malloc(maxbin * sizeof(int))
|
||||
cdef int* se_e_r = <int*>malloc(max_se * sizeof(int))
|
||||
cdef int* se_e_c = <int*>malloc(max_se * sizeof(int))
|
||||
|
||||
@@ -83,7 +83,6 @@ char shift_x, char shift_y):
|
||||
cdef int max_se = srows*scols
|
||||
cdef int n_se_n, n_se_s, n_se_e, n_se_w
|
||||
|
||||
cdef int selem_num = np.sum(selem != 0)
|
||||
cdef int* histo = <int*>malloc(256 * sizeof(int))
|
||||
cdef int* se_e_r = <int*>malloc(max_se * sizeof(int))
|
||||
cdef int* se_e_c = <int*>malloc(max_se * sizeof(int))
|
||||
|
||||
@@ -80,7 +80,6 @@ char shift_x, char shift_y, float p0, float p1):
|
||||
cdef int max_se = srows*scols
|
||||
cdef int n_se_n, n_se_s, n_se_e, n_se_w
|
||||
|
||||
cdef int selem_num = np.sum(selem != 0)
|
||||
cdef int* histo = <int*>malloc(256 * sizeof(int))
|
||||
cdef int* se_e_r = <int*>malloc(max_se * sizeof(int))
|
||||
cdef int* se_e_c = <int*>malloc(max_se * sizeof(int))
|
||||
|
||||
Reference in New Issue
Block a user