how to use image in exterma mfile?
Show older comments
i download an mfile named exterma from here,which finds exterma points in an image, http://www.mathworks.com/matlabcentral/fileexchange/12275-extrema-m--extrema2-m/content/extrema/extrema.m and http://www.mathworks.com/matlabcentral/fileexchange/12275-extrema-m--extrema2-m/content/extrema/extrema2.m when I put my image address instead of xy,it gives me the error:(Undefined function 'extrema' for input arguments of type 'uint8'.) I don't know how to locate my image in this mfile,i just write these 2 lines: m=imread('image adress.jpg'); xy=rgb2gray(m); I also find 2 other mfiles here which detect exrema points in an image,but they only give me hundreds of 0 and 1,i want to detect exterma point in my image,show an image for result. http://www.mathworks.com/matlabcentral/fileexchange/45338-findextrema/content/findExtrema.m
http://www.mathworks.com/matlabcentral/fileexchange/41955-find-image-extrema isn't it better to use hit or miss for detecting exterma points?i want to detect top left,right top.... and for each one change the proper strel.?
Accepted Answer
More Answers (0)
Categories
Find more on Image Arithmetic in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
