#๐Ÿ”’ Mapping a grayscale image

17 messages ยท Page 1 of 1 (latest)

obtuse orbit
#

I am trying to apply histogram equalization in this image

wind hareBOT
#

@obtuse orbit

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

obtuse orbit
#

I have a mapping whichs a 256 size array, I wish to map every pixel to it's new value according to their original values

#

like if original pixel value is 12, and mapping[12] is 138 new pixel value should be 138

#

how can I do this without iterating through

stiff finch
wind hareBOT
obtuse orbit
#

was writing a hashmap instead, needlessly it appears

#

i love numpy

#

thank you

#

.close

#

yes

#

/close

#

!close

wind hareBOT
#
Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.