Photoshop filter question

So I have two images that are the exact same framing and subject and everything about them is the same with the exception of one has a filter applied to it. I want to know, can i open them in photoshop and see the “filter” that was used by layering them overtop each other and doing a difference between the two to reveal just the filters colors? Is that possible and how do I go about doing that?

My setup right now:
0d5bPtt.png