What you're looking for is not Gamma correction, but CIE lab brightness correction, as the article at neuroelec.com explains. However, the difference is relatively small and I am not sure if its visible.
I have a 12 bit version of it that I coupled post, and ther is also an 8 bit versioning the forum.
However, you can expect the 8 bit a bit ... Choppy.. At lower intensities due to limitation of resolution.