Memuat
Memuat
Morphology and regionprops for Instrumentation and Sensors
0 views
Analyse photodetector array image using Morphology and regionprops while considering structuring element size and defect spot area. Morphological operations (erosion, dilation, opening, closing) clean and reshape binary images, and regionprops measures properties of each object such as area and perimeter. They are used in particle, cell, and quality inspection analysis.

Analyse photodetector array image using Morphology and regionprops while considering structuring element size and defect spot area.
| Role | Variable | Unit |
|---|---|---|
| Main | Photodetector array image | piksel |
| Supporting 1 | Structuring element size | piksel |
| Supporting 2 | Defect spot area | piksel |
Morphological opening and closing cut the pixel error of Photodetector array image from 5.9% to 1.9% and recover 7 objects (true count 7) with a mean area of 405 px and solidity of 0.867.
Computed from illustrative synthetic data, not from a real study.
Morphological operations (erosion, dilation, opening, closing) clean and reshape binary images, and regionprops measures properties of each object such as area and perimeter. They are used in particle, cell, and quality inspection analysis.
Report the object count, area statistics, and other properties with unit calibration. Explain the structuring element choice and its effect on object size.
A short starting script with this project's variable names. The delivered version is adapted to your data and fully commented.
rng(3);
[xx, yy] = meshgrid(1:200);
bw0 = ((xx-50).^2 + (yy-50).^2 < 20^2) | ((xx-130).^2 + (yy-60).^2 < 25^2) | ...
((xx-100).^2 + (yy-140).^2 < 30^2);
photodetector_array_image = bw0;
photodetector_array_image(rand(200) < 0.02) = true; % salt noise
photodetector_array_image(rand(200) < 0.02) = false; % pepper holes
se = strel('disk', 3);
opened = imopen(photodetector_array_image, se);
cleaned = imclose(opened, se);
cleaned = bwareaopen(cleaned, 50);
structuring_element_size = bwlabel(cleaned);
props = regionprops(structuring_element_size, 'Area', 'Perimeter', 'Eccentricity', 'Centroid');
T = struct2table(props);
T.Circularity = 4*pi*T.Area ./ T.Perimeter.^2;
disp(T(:, {'Area', 'Perimeter', 'Eccentricity', 'Circularity'}));
fprintf('Objects: %d, mean area: %.1f px\n', height(T), mean(T.Area));
figure;
subplot(1,2,1); imshow(photodetector_array_image); title('Noisy binary');
subplot(1,2,2); imshow(cleaned); hold on;
for k = 1:height(T)
plot(T.Centroid(k,1), T.Centroid(k,2), 'r+', 'MarkerSize', 10);
end
title('After opening and closing');Choose how much help you need. Each higher package includes everything in the lower ones. Prices exclude 11% VAT.
Package 1
US$25
excl. 11% VAT
Duration: 5 working days
Output: MATLAB files + result figures
Deliverables
Package 2 · most chosen
US$75
excl. 11% VAT
Duration: 9 working days
Output: Code + analysis + interpretation notes
Includes all of Package 1, plus
Package 3
US$166
excl. 11% VAT
Duration: 14-17 working days
Output: Code + analysis + guidance until ready to present
Includes all of Packages 1 & 2, plus
Yes. Morphology and regionprops is commonly used at this level in Instrumentation and Sensors. 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$25, Package 2 (your data analysis and interpretation) US$75 and Package 3 (full guidance) US$166, 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