Skip to content

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.

License

Notifications You must be signed in to change notification settings

andrewrgarcia/3Dmapping-algorithm

Repository files navigation

ANNOUNCEMENT : This project is now deprecated and has now been incorporated to the voxelmap Python package (click figure below)

This project is now deprecated. For a more functional application of this project, please re-direct to 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

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

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

About

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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published