I would like to know how to apply a log kernel to a 2d+T Stack that means that the kernel is 2D and I want to convolve this kernel to all the image of the stack. Here is where I am for the moment with imge a ImagePlus :

Thank you @ssklykov, it is a good solution but I want to do it with op and I found the solution in the post : “Perform connected components along specific dimensions”. It is not possible to do it with the log kernel so I managed to do it by applying the convolution on each slice separately and to recombine the stack afterward… Here is the code: