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

版本 1.0.0 (558.5 KB) 作者: Yushuo
Stroke points generation of paintings
12.0 次下载
更新时间 2022/7/6

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

引用格式

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. 检索时间: .

MATLAB 版本兼容性
创建方式 R2022a
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!

无法下载基于 GitHub 默认分支的版本

版本 已发布 发行说明
1.0.0

要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库