s-du / Pixels2Voxels

A tool to visualize the RGB colour channels of an image as 3D plots (using voxels)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

miniature

Introduction

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!

pix2vox-principle

Plotting color channels as 'voxel' maps

Principle

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.

pix2vox-principle

3d movement around the voxel grid (blue channel)

pix2vox-principle

Changing voxel size

Installation instructions

  1. Clone the repository:
git clone https://github.com/s-du/Pixels2Voxels
  1. Navigate to the app directory:
cd Pixels2Voxels
  1. Install the required dependencies:
pip install -r requirements.txt
  1. Run the app:
python main.py

Contributing

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:

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix.
  3. Make the necessary changes and commit them.
  4. Push your changes to your fork.
  5. Submit a pull request describing your changes.

About

A tool to visualize the RGB colour channels of an image as 3D plots (using voxels)


Languages

Language:Python 100.0%