opencv
TriangleStyle t("xxxxxxxxxx.jpg", high_threshold, low_threshold, random_amount)
"xxxxxxxxxx.jpg" means your picture name
high_threshold and low_threshold control the high threshold and low threshold of Canny operator
random_amount is the number of random points.
call the member function show(), like t.show()
call the member function save(), like t.save()