I have 3D numpy array of probabilities between [0,1], I need to emphasize on some area with lower probabilities. I was suggested to apply a-law and mu-law.

I am wondering if there is python library/code that I can use for this purpose. I would really appreciate if you share some ideas here. Thanks

  • $\begingroup$ The formula is on wikipedia, it is quite simple. Should take minutes to write a function to do this. $\endgroup$ – Max Mar 28 '19 at 12:07
  • $\begingroup$ Thanks a lot. I will do that $\endgroup$ – S.EB Mar 28 '19 at 12:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.