Lomo Graphy By OpenCV

The article shows how to make the original image has a retro style. Two steps need to be done. Change the red color channel of the original image. Change the brightness by a filled circle. The mathematical function used in step1 makes the brighter pixel brighter, darker pixel darker.   Read more…

Wolfram – Coordinates and Graphics

Draw a circle and an inner circle Graphics[{Circle[{0, 0}, 1], Circle[{0, -0.5}, 0.5]}] Draw 10 circles which has center (i,i) and i is in {1,10} Graphics[Table[Circle[{i, i}, 0.5], {i, 10}]] Connect 10 points which is at (i,i) data = Table[{i, i}, {i, 10}] ListLinePlot[data] Or: Graphics[Line[data]] ListLinePlot[{{1, 1}, {2, 3}, {3, Read more…

Remove Vector Weight On Special Axis

We want to calculate a new vector that has no weight on the special axis. Calculate the projected vector on the special axis and remove it, the result is what we want. PointStruct CalculateVectorWeight(PointStruct vec0, PointStruct vec1) { vec0.Unit(); double dotValue = vec1.Dot( vec0 ); PointStruct onVec0 = vec0 * Read more…

Wolfram – Handle Images

Capture an image from the camera. CurrentImage[] We can use function blur to change our image, the interface Manipulate will help us to display different levels dynamically. To find important colors in the image. Convert the original image to a white and black image: To find sharp changes in the Read more…

Wolfram – Basic Graphics Objects

We always use function Graphics and Graphics3D to represent items in the Wolfram Language. Use RegularPolygon to draw a triangle. Graphics[RegularPolygon[3]] Make a red octagon. Graphics[Style[RegularPolygon[8], Red]] Make a list whose elements are disks with hues varying from 0 to 1 in steps of 0.1. Table[Graphics[Style[Disk[ ], Hue[n]]], {n, 0, Read more…

Tools: add a new web service, combine images to PDF.

X
A prohibited operation