img = Import["flower.png"];
ImageAdjust[img, 0, {.00000002, .00000009}];
I know how ImageAdjust
works and it is perfect for one image, but if I have more than one image, I cannot adjust all images together. Can anyone please help me do this?
Mathematica Stack Exchange is a question and answer site for users of Wolfram Mathematica. It only takes a minute to sign up.
Sign up to join this communityimg = Import["flower.png"];
ImageAdjust[img, 0, {.00000002, .00000009}];
I know how ImageAdjust
works and it is perfect for one image, but if I have more than one image, I cannot adjust all images together. Can anyone please help me do this?
As explained in the comments, it seems you're just looking for Map
.
list = {"img1.png","img2.png","img3.png"};
Map[ImageAdjust[Import[#],0,{0.0000002,0.00000009}]&, list]
You might want to read more from the Ways to Apply Functions chapter of the Elementary Introduction.
Map
the answer? $\endgroup$ – Kuba♦ Aug 31 '18 at 6:50lst={img1, img2,...}
and then use the advise of @Kuba:Map[ImageAdjust[#, 0, {.00000002, .00000009}]&, lst]
. As the result all images of the list will be adjusted with the same parameters. $\endgroup$ – Alexei Boulbitch Aug 31 '18 at 7:18