Workaround for the norminv function in statistics toolbox
이전 댓글 표시
I am working on some image processing software and to get rid of the background noise in the pictures I am working with, it was suggested I use the following code. I found that it worked, however the computer I want to process these images on does not have the statistics toolbox which contains the norminv function. I was wondering if there is a way to work around using that particular function
Here is what my code currently looks like:
im=rgb2gray(imread(input('What picture would you like to input: ','s')));
fmt=fspecial('gaussian',2*ceil(-norminv((1e-1)/2,0,4))+1,4.0);
im2=(double(im)-imfilter(double(im),fmt))./(sqrt(imfilter((double(im)-imfilter(double(im),fmt)).^2,fmt)));
im3=filter2(fspecial('average',10),im2);
im4=...
Any suggestions?
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!