Generate synthetic test images of resistors
Version 1.0.0 (33,3 KB) von
DGM
A tool to generate synthetic images of resistors. Depending on how cruel you are, you may find this useful for creating student projects.
This submission includes two tools.
getresistor() returns resistance values in the specified IEC 60063 E-series.
makeresistor() generates an image of a resistor, which may be useful for developing resistor decoding projects based on image processing.
A simple demo file is also included.
makeresistor can generate simple images with consistent color/geometry and uniform illumination
... or it can generate images where any (or all) of multiple parameters can be randomly varied.
If you want a segmentation challenge, it can unnecessarily degrade the image as is so popular.
By default, the images also have their parameter values encoded directly in the image, allowing simple decoder testing. The synopsis and demo file provide examples for extracting this simple payload.
Zitieren als
DGM (2024). Generate synthetic test images of resistors (https://www.mathworks.com/matlabcentral/fileexchange/156871-generate-synthetic-test-images-of-resistors), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Erstellt mit
R2019b
Kompatibel mit R2015a und späteren Versionen
Plattform-Kompatibilität
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
resistormaker
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0.0 |