Spatial Dependency means a pixel’s value is influenced by nearby pixel’s value in image. This is because generally they all belong to same color because they are from same object.
Temporal dependency comes in videos. When a frame changes to next, if there is not a lot of movement in objects, pixel’s values remain same. In other words, a pixel’s value is influenced by its value in previous frame (time).
CLICK HERE to find out more related problems solutions.