Libraryless. Click here for Pure Java version (8774L/52K).
1 | final sclass BWIntegralImage_luminosity extends BWIntegralImage { |
2 | *() {} |
3 | *(File f) { super(f); } |
4 | *(MakesBufferedImage img) { super(img); } |
5 | *(BufferedImage image) { super(image); } |
6 | *(GrabbableIntPixels gp) { super(gp); } |
7 | *(BWImage img) { super(img); } |
8 | |
9 | int packedToBrightness(int packed) { |
10 | ret rgbToLuminosity(packed); |
11 | } |
12 | } |
Began life as a copy of #1019595
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1033306 |
Snippet name: | BWIntegralImage_luminosity - use best rgb-to-grayscale method |
Eternal ID of this version: | #1033306/1 |
Text MD5: | ad8c9e7fe896049ae1dc85dfefe56a65 |
Transpilation MD5: | fe1609596f4b941a0bbfeefdaa037cd1 |
Author: | stefan |
Category: | javax / imaging |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-10-21 01:17:49 |
Source code size: | 354 bytes / 12 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 154 / 248 |
Referenced in: | [show references] |