Threads are incorporated for image filters

p_threads