Translate python code to c#/c++

Hello,

I wonder if there is an easy to translate the following python code to c# without looping over all indices?

normPic = Pic - min(Pic(:));
normPic = normPic ./ max(normPic(:));
imagesc(normPic.^(1/4))
colormap jet

1 Like

that’s not python code. that might be matlab

and what specific issue do you have in understanding that code or translating it to C++ or C# (pick one, they aren’t equivalent)