An open API service indexing awesome lists of open source software.

https://github.com/andrewrgarcia/3dmapping-algorithm

This code shows an algorithm for importing and mapping 2D images to 3D plots. Mapping algorithm: maps 2D binary image to 3D form by transforming relative pixel color to depth.
https://github.com/andrewrgarcia/3dmapping-algorithm

Last synced: 3 months ago
JSON representation

This code shows an algorithm for importing and mapping 2D images to 3D plots. Mapping algorithm: maps 2D binary image to 3D form by transforming relative pixel color to depth.

Awesome Lists containing this project

README

        

# ANNOUNCEMENT : This project is now deprecated and has now been incorporated to the [**voxelmap**](https://github.com/andrewrgarcia/voxelmap) Python package (click figure below)

This project is now deprecated. For a more functional application of this project, please re-direct to [**voxelmap**](https://github.com/andrewrgarcia/voxelmap) and use the **voxelmap.Image('yourfilepath.png')** object and its ->make() and ->map3d() functions to map images to 3-D models.

# 3Dmapping-algorithm
This code shows an algorithm for importing and mapping 2D images to 3D plots. Mapping algorithm: maps 2D binary image to 3D form by transforming relative pixel color to depth.

*Primary Code* - generated from the attached code [from *mapto3d.py*]

![Screenshot](PrimaryCode_Canopy_Python2.png)

*Modern Code* - generated for a more recent code that uses the same algorithm but cuts the main algorithm code to 5 lines
and allows for the automation of generating N slices on the X-dimension without any additional code development.

![Screenshot](ModernCode_3_Anaconda_Python36.png)

3D rendering generated from Joe Clark's *Human Skull Photographic Print* 2D Image

Watch video to see the creative process.
https://www.youtube.com/watch?v=5E5mVVsrwZw