Memuat
Memuat
Sobel and Canny Edge Detection for Robotics and Mechatronics
0 views
Apply Sobel and Canny edge detection to the conveyor object image while tuning the edge threshold and the smoothing sigma to assess processing quality. Sobel and Canny edge detection find object boundaries in images through sharp intensity changes. Sobel is simple and fast, while Canny is more accurate with thinning and double thresholds. They are used in image processing for inspection, measurement, and segmentation.

Apply Sobel and Canny edge detection to the conveyor object image while tuning the edge threshold and the smoothing sigma to assess processing quality.
| Role | Variable | Unit |
|---|---|---|
| Main | Conveyor object image | - |
| Supporting 1 | Edge threshold | - |
| Supporting 2 | Smoothing sigma | px |
On the noisy Conveyor object image image the Canny detector reaches an F1 of 1.000 against ground-truth edges versus 0.998 for Sobel; Canny marks 1.6% of pixels as edges (high threshold 0.300).
Computed from illustrative synthetic data, not from a real study.
Sobel and Canny edge detection find object boundaries in images through sharp intensity changes. Sobel is simple and fast, while Canny is more accurate with thinning and double thresholds. They are used in image processing for inspection, measurement, and segmentation.
Show a comparison of both methods and explain the parameters used. If a reference image exists, report edge precision, recall, and F-score.
A short starting script with this project's variable names. The delivered version is adapted to your data and fully commented.
rng(1);
[xx, yy] = meshgrid(1:256);
clean = double((xx-128).^2 + (yy-128).^2 < 60^2) + 0.5*double(xx > 180 & yy > 40 & yy < 100);
conveyor_object_image = mat2gray(imgaussfilt(clean, 1) + 0.08*randn(256)); % noisy image
edge_threshold = [0.05 0.15]; % Canny thresholds
gt = edge(clean, 'canny'); % reference edges
e_sobel = edge(conveyor_object_image, 'sobel');
e_canny = edge(conveyor_object_image, 'canny', edge_threshold, 2);
names = {'Sobel', 'Canny'}; E = {e_sobel, e_canny};
for k = 1:2
e = E{k};
prec = nnz(e & (bwdist(gt) <= 2)) / max(nnz(e), 1);
rec = nnz(gt & (bwdist(e) <= 2)) / nnz(gt);
fprintf('%s: precision %.3f, recall %.3f, F1 %.3f\n', names{k}, prec, rec, 2*prec*rec/(prec + rec));
end
figure;
subplot(1,3,1); imshow(conveyor_object_image); title('Noisy image');
subplot(1,3,2); imshow(e_sobel); title('Sobel');
subplot(1,3,3); imshow(e_canny); title('Canny');Choose how much help you need. Each higher package includes everything in the lower ones. Prices exclude 11% VAT.
Package 1
US$22
excl. 11% VAT
Duration: 3 working days
Output: MATLAB files + result figures
Deliverables
Package 2 · most chosen
US$66
excl. 11% VAT
Duration: 7 working days
Output: Code + analysis + interpretation notes
Includes all of Package 1, plus
Package 3
US$141
excl. 11% VAT
Duration: 12-15 working days
Output: Code + analysis + guidance until ready to present
Includes all of Packages 1 & 2, plus
Yes. Sobel and Canny Edge Detection is commonly used at this level in Robotics and Mechatronics. We adapt the analysis to your research question, your own data and your supervisor's requirements.
No. The sheet is computed from illustrative synthetic data so you can see the kind of output MATLAB gives. For your order we run the same method on your own data.
That is the point of the packages. Every script is commented, and Package 3 includes two coaching sessions plus practice questions so you can explain the method and the results at your seminar and defence.
Each project has three packages: Package 1 (code and explanation) US$22, Package 2 (your data analysis and interpretation) US$66 and Package 3 (full guidance) US$141, excluding 11% VAT. Larger datasets, extra methods or tight deadlines adjust the quote after a short consultation.
The result sheet uses illustrative synthetic data. MATLAB is a trademark of The MathWorks, Inc.
Back to MATLAB portfolio