<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _diff_image(slice1, slice2, abs_value=True, cmap='gray', **kwargs):
 """Computes the difference image"""


    diff = slice1 - slice2

    if abs_value:
        diff = np.abs(diff)

    return diff, cmap