Timeline for Converting an image to black and white
Current License: CC BY-SA 4.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 25, 2018 at 11:45 | vote | accept | dalearn | ||
Dec 19, 2018 at 14:52 | history | edited | AJNeufeld | CC BY-SA 4.0 |
added 103 characters in body
|
Dec 19, 2018 at 14:49 | comment | added | AJNeufeld |
Glad you like the answer. And also glad you aren’t accepting it. You import numpy and there is probably a 1-line numpy answer that is faster than my solution, possibly clearer to read, and will result in a more memory efficient structure than my double list comprehension answer.
|
|
Dec 19, 2018 at 13:21 | comment | added | dalearn | Absolutely excellent answer! I’ll hold off on accepting this answer for a little while to allow others to answer but this answers everything I was looking for. | |
Dec 19, 2018 at 13:18 | vote | accept | dalearn | ||
Dec 19, 2018 at 13:18 | |||||
Dec 19, 2018 at 4:13 | history | edited | AJNeufeld | CC BY-SA 4.0 |
Added lookup of the [0]'th pixel coordinate
|
Dec 19, 2018 at 4:02 | history | answered | AJNeufeld | CC BY-SA 4.0 |