From b9f016a7d281df3a1ae71f21f769ff684e9891a2 Mon Sep 17 00:00:00 2001 From: Olivier Debeir Date: Fri, 12 Oct 2012 17:19:38 +0200 Subject: [PATCH] remoce selem_num --- skimage/rank/_core16.pxd | 1 - skimage/rank/_core16b.pxd | 1 - skimage/rank/_core16p.pxd | 1 - skimage/rank/_core8.pxd | 1 - skimage/rank/_core8p.pxd | 1 - 5 files changed, 5 deletions(-) diff --git a/skimage/rank/_core16.pxd b/skimage/rank/_core16.pxd index eb9f4886..3ecb6314 100644 --- a/skimage/rank/_core16.pxd +++ b/skimage/rank/_core16.pxd @@ -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 = malloc(maxbin * sizeof(int)) cdef int* se_e_r = malloc(max_se * sizeof(int)) cdef int* se_e_c = malloc(max_se * sizeof(int)) diff --git a/skimage/rank/_core16b.pxd b/skimage/rank/_core16b.pxd index b18b1fd8..5f5b3e81 100644 --- a/skimage/rank/_core16b.pxd +++ b/skimage/rank/_core16b.pxd @@ -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 = malloc(maxbin * sizeof(int)) cdef int* se_e_r = malloc(max_se * sizeof(int)) cdef int* se_e_c = malloc(max_se * sizeof(int)) diff --git a/skimage/rank/_core16p.pxd b/skimage/rank/_core16p.pxd index 19a53b67..bf50ca35 100644 --- a/skimage/rank/_core16p.pxd +++ b/skimage/rank/_core16p.pxd @@ -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 = malloc(maxbin * sizeof(int)) cdef int* se_e_r = malloc(max_se * sizeof(int)) cdef int* se_e_c = malloc(max_se * sizeof(int)) diff --git a/skimage/rank/_core8.pxd b/skimage/rank/_core8.pxd index fefa98e4..ece629c5 100644 --- a/skimage/rank/_core8.pxd +++ b/skimage/rank/_core8.pxd @@ -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 = malloc(256 * sizeof(int)) cdef int* se_e_r = malloc(max_se * sizeof(int)) cdef int* se_e_c = malloc(max_se * sizeof(int)) diff --git a/skimage/rank/_core8p.pxd b/skimage/rank/_core8p.pxd index 347c7ef5..675c4a5d 100644 --- a/skimage/rank/_core8p.pxd +++ b/skimage/rank/_core8p.pxd @@ -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 = malloc(256 * sizeof(int)) cdef int* se_e_r = malloc(max_se * sizeof(int)) cdef int* se_e_c = malloc(max_se * sizeof(int))