That only works if you're shooting RAW. And even then all you've accomplished was a convoluted process to achieve the exact same thing you'd get in Lightroom by adjusting the Blacks and Whites sliders, and dragging the ranges horizontally in the histogram.