How to detect moving z position(slice) of a specific cell layer among frames?

Hi everyone.
I got a 4D hyperstack data that z position of a specific cellular layer changed as time went by.


Is it possible for imagej to do the following?

Waiting for your reply! Thanks!