Pixels-2-Voxels is a simple Open3d-based application for visualizing the three color channels of any image as 3d plots. It uses a 'voxel' representation, created from the input data. Some simple filtering algorithms are also implemented.
It's of no use, so it's absolutely essential!
#Pillow #Open3D #Voxels #ImageProcessing #Pointcloud
The project is still in pre-release, so do not hesitate to send your recommendations or the bugs you encountered!
Plotting color channels as 'voxel' maps
The application allows to process any JPG/PNG picture and separates the three colour channels. It reads the embedded intensity values (for each pixel) and converts them into point cloud format (x and y coordinates correspond to the pixel location and the z coordinate is the intensity from 0 to 255). Then, the point cloud is converted into a voxel grid, using Open3D library.
3d movement around the voxel grid (blue channel)
Changing voxel size
- Clone the repository:
git clone https://github.com/s-du/Pixels2Voxels
- Navigate to the app directory:
cd Pixels2Voxels
- Install the required dependencies:
pip install -r requirements.txt
- Run the app:
python main.py
Contributions to the app are welcome! If you find any bugs, have suggestions for new features, or would like to contribute enhancements, please follow these steps:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make the necessary changes and commit them.
- Push your changes to your fork.
- Submit a pull request describing your changes.