jabar2 - I apologize for the problems with communication that you encountered, but I think it started because of you insisting on using what appears to be a bizarre and needlessly complicated method (ie, apply image) to generate what appears to be nothing more than a straightforward luminosity mask (and possibly its inverse) and then it continued because you never once responded directly and in a straightforward way to any of the suggestions I made or alternative approaches I offered.
To start, unless I am missing something, for the past 10 or 20 years, in Photoshop, the usual way to generate an luminosity mask that would be absolutely identical to what "apply image" produces is to simply use a couple of keystrokes: (a) control-click on the RGB channel to generate a selection, and then (b), select the layer to which you want to add the mask, and then click "add mask" at the bottom of the layers panel.
More confusion was added when you were asked by another moderator why were you using "apply image" and you replied "to quickly mask out lights and darks". He wasn't asking why were you using a luminosity mask (it's clear to everyone what one can do with luminosity masks), but rather, why were you using the "apply image" method to generate one.
I understood what you wanted right from post #2 when I suggested that what you were looking for was effectively a smart object for layer masks and suggested in post #2 a possible (albeit long-shot) way around this and further explained my reasoning in posts #8 and #13.
Then, in post #14, I suggested a second alternative, a 3rd party plugin, that was guaranteed to work and give you exactly what you were asking for: non-distructive editability. In fact, it's benefits are much more extensive than just non-destructive editibility (eg, instant visual feedback to user inputs, ability to change many different aspects of the image beyond what a simple "levels" adjustment would give you, etc.)
Unfortunately, as the thread shows, not once did you ever respond technically to even one of the above comments that I made. Because of this, I couldn't tell if you weren't responding because of a problem with English, embarrassment because of a lack of technical comprehension of what I was suggesting, or, for reasons known only to yourself, you had no interest in discussing other alternatives.
A simple statement such as, "Thank you for offering some interesting alternatives. I do understand them, but for the following reasons, I only want to consider non-destructive editing of layer masks." would have immediately clarified the situation and made for more effective communications. After all, we were trying to understand exactly what you want and to help you.
This thread has obviously run its course.
Tom M
Moderator.