How to convert closed bezier curves to Bitmaps?
source link: https://www.codesd.com/item/how-to-convert-closed-bezier-curves-to-bitmaps.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
How to convert closed bezier curves to Bitmaps?
I need an algorithm to convert a closed bezier curve (perhaps self-crossing) to a binary bitmap: 0 for inside pixels and 1 for outside. I'm writing a code that needs to implement some operations on bezier curves, could anybody give me some resources or tutorials about beziere? Wikipedia and others didn't say anything about optimization, subtracting, union, knot insertion and deletion and other operations :-)
alt text http://www.imagechicken.com/uploads/1271001073057545100.jpg
This paper by Charles Loop and Jim Blinn goes into lots of detail on your question.
Another option is to tessellate the Bezier curve into line segments and then use your favorite polygon fill algorithm.
Related Articles
Detection of self-crossing in closed Bezier curves
How to draw Quadratic Bezier curves in phase 3d? Should I divide them into segments?
How to convert a Drawable to a Bitmap?
Evaluation of the Bezier curve
How to convert a bitmap icon into Android?
How can you draw a four bezier curve with wxPython?
An algorithm to find the closed box bezier curve box?
how to make a parallel bezier curve heuristically
How can I find the angle between two points on a Bezier curve?
How to convert text to bitmap in Android
How to convert any image to bitmap image and store it in the MySQL database using PHP?
How to convert a bitmap image to Uri
How to convert a bitmap file to an image file with Android
How to convert Windows Bitmap to Actionscript Bitmap in C ++
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK