The paper presents two parallel techniques, nasht1 and nasht2, for generating image layers through edge detection, which traditionally relies on selecting threshold parameters that are time-consuming to optimize. By employing message-passing interface (MPI) for parallelization, the study aims to enhance execution speed and performance while minimizing intensive I/O operations. The proposed methods and their implementations are evaluated in terms of execution time reduction, considering the number of processes and image sizes.