Raw Light Simulation (.rawls) reader and converter
Jérôme BUISINE e0fb1132cf Merge branch 'release/v0.0.6' | il y a 4 ans | |
---|---|---|
lodepng | il y a 4 ans | |
main | il y a 4 ans | |
rawls | il y a 4 ans | |
.gitignore | il y a 4 ans | |
CMakeLists.txt | il y a 4 ans | |
README.md | il y a 4 ans | |
convert_folder.sh | il y a 4 ans | |
reconstruct_png.sh | il y a 4 ans |
Can read and flip horizontally a .rawls
image.
Can read and convert .rawls
generated syntehsis image format into .ppm
or .png
.
.rawls
store all pixels values as float and keeps also information about generated image (renderer used).
.rawls
contains 3 blocks and specific lines information within each block:
{width}
{height}
{nbChannels}
mkdir build
cd build && cmake ..
make
Convert the .rawls
image format into .ppm
./main/rawls_reader --image ../path/to/image.rawls --outfile image.ppm
Merge .rawls
images samples
./main/rawls_merge --folder ../path/to/images --samples 100 --random 0 --outfile image.png