I have this formula. I interested in a DCP. but I want to find atmospheric light with this formula, not function.
A(i,j)=(min(Idark(i,j)>= A(i,j-1))(min(Idark(i,j): A(i,j-1))));
(w,h image size)
I write like this but it gives the error.( ()-indexing must appear last in an index expression.) can you help me