Painting-stroke-generation-for-robot-arm-or-CNC-machine

Version 1.0.0 (559 KB) by Yushuo
Stroke points generation of paintings
9 Downloads
Updated Wed, 06 Jul 2022 20:04:46 +0000

Painting-stroke-generation-for-robot-arm-or-CNC-machine

Required Products

MATLAB R2022a or later
Image Processing Toolbox
Computer Vision System Toolbox
Statistics and Machine Learning Toolbox

So the code take in a picture, make strokes, sort the strokes by color (because we don't want wash the pen too often), display number of strokes for each color, add the add water and color procedure of a few strokes interval.

After I load all strokes for color01, Roboguide became not responding (guess too much strokes), so I just used first 300 lines and the result can be seen https://www.youtube.com/watch?v=4dgLnZiYgOo

Output in format of: x,y,z,yaw,pitch,roll

One output file I got has 200k lines.

Possible improvements: *Reduce stroke number no overlapping strokes *Generate no overlapping small strokes on the image, the color is by the base color

To import the output to Roboguide, see https://www.youtube.com/watch?v=k4gOBWY9oB4

% parts code from Painterly Rendering with Curved Brush Strokes of Multiple Sizes %https://github.com/fionazeng3/Painterly-Rendering-with-Curved-Brush-Strokes-of-Multiple-Sizes

Cite As

Yushuo (2024). Painting-stroke-generation-for-robot-arm-or-CNC-machine (https://github.com/Evrid/Painting-stroke-generation-for-robot-arm-or-CNC-machine), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2022a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes
1.0.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.