def METHOD_NAME(depth, chunks, dtype):
    cat = data.chelsea().astype(dtype) / 255.
    func = color.rgb2ycbcr
    cat_ycbcr_expected = func(cat)
    cat_ycbcr = apply_parallel(func, cat, chunks=chunks, depth=depth,
                               dtype=dtype, channel_axis=-1)
    assert_equal(cat_ycbcr.dtype, cat.dtype)
    assert_array_almost_equal(cat_ycbcr_expected, cat_ycbcr)