Hi Georges,

I believe this is because you are using a tagged version of skimage (probably even the most recent, 0.10.1), but looking at the dev documentation, which reflects a recent move of Canny from filter to feature:
https://github.com/scikit-image/scikit-image/pull/1113

Which tutorials are you finding?

Anyway, your options are:

* Carry on using filter for now, know that this is the expected behaviour
* Download the latest `master` branch from github and install that, and use the new feature syntax for Canny.

Hope this helps!

Juan.




On Tue, Nov 18, 2014 at 9:10 PM, Georges H <georgeshattab@gmail.com> wrote:

Hi everyone,

So the problem is that canny is not working under feature while i see all the tutorials online using the feature module
if i look at the directory, it s just not there

>>> print dir(skimage.feature)
['BRIEF', 'CENSURE', 'ORB', '__all__', '__builtins__', '__doc__', '__file__', '__name__', '__package__', '__path__', '_daisy', '_hessian_det_appx', '_hog', '_texture', 'blob', 'blob_dog', 'blob_doh', 'blob_log', 'brief', 'brief_cy', 'censure', 'censure_cy', 'corner', 'corner_cy', 'corner_fast', 'corner_foerstner', 'corner_harris', 'corner_kitchen_rosenfeld', 'corner_moravec', 'corner_orientations', 'corner_peaks', 'corner_shi_tomasi', 'corner_subpix', 'daisy', 'greycomatrix', 'greycoprops', 'hessian_matrix', 'hessian_matrix_det', 'hessian_matrix_eigvals', 'hog', 'local_binary_pattern', 'match', 'match_descriptors', 'match_template', 'orb', 'orb_cy', 'peak', 'peak_local_max', 'plot_matches', 'structure_tensor', 'structure_tensor_eigvals', 'template', 'texture', 'util']


looked up a bit on the web this issue, found that it s in feature, proven by :  

>>> print dir(skimage.filter)
['LPIFilter2D', '__all__', '__builtins__', '__doc__', '__file__', '__name__', '__package__', '__path__', '_canny', '_gabor', '_gaussian', '_rank_order', 'canny', 'denoise_bilateral', 'denoise_tv_bregman', 'denoise_tv_chambolle', 'deprecated', 'edges', 'gabor_filter', 'gabor_kernel', 'gaussian_filter', 'hprewitt', 'hscharr', 'hsobel', 'inverse', 'lpi_filter', 'prewitt', 'rank', 'rank_order', 'restoration', 'roberts', 'roberts_negative_diagonal', 'roberts_positive_diagonal', 'scharr', 'sobel', 'threshold_adaptive', 'threshold_isodata', 'threshold_otsu', 'threshold_yen', 'thresholding', 'vprewitt', 'vscharr', 'vsobel', 'wiener']


now the thing is can i fix this and why is it there ?

Appreciate any help on the matter.

Note : "from skimage import filter" works perfectly


--
You received this message because you are subscribed to the Google Groups "scikit-image" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scikit-image+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.