Fast image filtering on Android with Renderscript
https://oppenlab.net/pr/light/
- Kotlin 73%
- RenderScript 12.3%
- Java 12.2%
- Gradle 2.5%
| .idea | fixes for thinkpad build | |
| app | ensure only one process is active at any time | |
| film_simulation_luts_converted | first commit | |
| gradle/wrapper | fixes for thinkpad build | |
| images | alternate coffee button | |
| .gitignore | first commit | |
| .test | add test file | |
| build.gradle | update dependencies | |
| gradle.properties | first commit | |
| gradlew | first commit | |
| gradlew.bat | first commit | |
| LICENSE | first commit | |
| OLDREADME.md | plain text readme | |
| README | Update 'README' | |
| settings.gradle | first commit | |
NOTE - there is an unrecoverable amount of technical debt in this project. I've started a new project (Light2) which will use the learnings from here in a cleaner solution. There's lot of value here, but the interfaces and structure of a lot of it is far too noisy and badly written. 888 d8888 88888888888 88888888888 888 d88888 888 888 888 d88P888 888 888 888 d88P 888 888 888 888 d88P 888 888 888 888 d88P 888 888 888 888 d8888888888 888 888 88888888 d88P 888 888 888 Lätt - Öppen Filters ==================== Fast image filtering on Android with Renderscript. To Do ===== Refactor, the bulk of this was written in < 3 days LUTs ==== Uses the same LUT format as Unreal Engine - 256 pixel x 16 pixel png image files. Creating Filters ================ An identity LUT is an image where if used as a filter the original image should remain untouched, all colours map to the same value. By taking an identity LUT image and changing the colour values (in Photoshop or GIMP) you create a new LUT filter. See: images/identity_lut.png An easier way of creating 256x16 LUTs is to use the above identity LUT as a source image and apply HALDCluts to it using the ÖppenHald tool [1] (for bulk conversions use the bash script mentioned in the README). Included in the repository are 293 LUT filters converted from the RawTherapee Film Simulation Collection [2] with filenames batch converted to be usable as Android drawable assets. Refer to the contact sheet (WARNING 43.5mb) in the OppenHald project for an example of each. License ======= GNU GPL3 Dependencies ============ No libraries other than Glide, no analytics or tracking of any kind. References ========== [1] - https://codeberg.org/oppen/oppen_hald [2] - https://rawpedia.rawtherapee.com/Film_Simulation#RawTherapee_Film_Simulation_Collection