@@ -836,9 +836,9 @@ Creates a mesh from ```shape``` using the marching cubes algorithm. Before calcu
...
@@ -836,9 +836,9 @@ Creates a mesh from ```shape``` using the marching cubes algorithm. Before calcu
```image_contouring(file,pixel_size)```
```image_contouring(file,pixel_size)```
Extracts contours out of an image file. Returns a table of ```IMGContour``` objects.
Extracts contours out of an image file. Pixels colored black are considered _hollow_, while any other color is considered _solid_. Returns a table of ```IMGContour``` objects.
* ```file```: input image file (PNG and TGA supported)
* ```file```: input image file (PNG and TGA supported)
* ```pixel_size```: size, in mm, of a pixel
* ```pixel_size```: size in mm, of a pixel
The ```IMGContour``` object has the following members:
The ```IMGContour``` object has the following members: