What will happen is that the photos for that date (hour) that they were added to Time Machine would remain on Time machine. But when you deleted the photos from your Mac, the Time Machine backup would reflect the deletion for THAT DATE (hour).
You still could retrieve the photos if you accessed the photos via the prior date (hour) , but not as of the deletion date (hour).
Note that there are some caveats: Time Machine initially stores by hour, then daily etc. Read this:
Incidentally the Pondini website is excellent.