MATLAB: Hi.. I’m doing a project work on bone fracture detection in matlab. I need to do edge detection on the image using sobel filter. I dont know how to use sobel filter with threshold value. can anyone please help me out in solving this

fracture detection with sobel filterImage Processing Toolbox

I have taken a X-ray image and converted it into gray scale image. Now i need to perform edge detection using sobell filter based on some threshold value. I'm not understanding how to set the threshold value using sobel filter. Please help me out in doing this. please give me the code.

Best Answer

edge_xray_image=edge(gray_xray_image_input_image,'Sobel');
thats means
edge_result=edge(input_gray_image,'sobel',threshold_value)
you can change the value of threshold level (e.g 0.4,0.5,0.6,0.7 etc) for the desired result.
Related Question