# How does Graphics work for group of images

Import["img.tiff"];
Show[Colorize[ImageAdjust[%, 0, {.00000002, .00000009}],ColorFunction -> "SunsetColors",
ColorFunctionScaling -> True], Graphics[{Cyan, Thickness -> .003,
Line[{{736.7 + 70*Cos[45*Pi/180],589.5 + 70*Sin[45*Pi/180]},
{736.7 + 550*Cos[45*Pi/180],589.5 + 550*Sin[45*Pi/180]}}],Line[{{736.7 + 70*Cos[135*Pi/180],
589.5 + 70*Sin[135*Pi/180]},{736.7+550*Cos[135*Pi/180],589.5+550*Sin[135*Pi/180]}}],Circle[{736.7, 589.5}, 70, {45*Pi/180, 135*Pi/180}],
Circle[{736.7, 589.5}, 550, {45*Pi/180, 135*Pi/180}]}],
ImageSize -> 400]


img.tiff can be downloaded from my google drive.

I did this one only for one image, but I want to do same thing for group of images. I want to do same thing for group of images. And images should be display each other • The code is syntactically incorrect as many pink brackets and braces in the notebook should indicate to you. Lacking a further description, I cannot tell what you try to achieve here. Sep 3 '18 at 5:46
• @Henrik I try to fixed and edit my question, also I publish what I did, but I could not do same thing for group of images Sep 3 '18 at 6:02
• How is the 'group of images' specified? You can Map your procedure on a list of urls or Table. Also, better use img = Import[... and use it rather than %.
– Kuba
Sep 3 '18 at 13:42
• @Kuba I can import group of images(more then one pictures) by using Map. Problem is apply this graphics to all of those import images together. Sep 3 '18 at 13:50
• Do you want to display several images next to each other? Perhaps you should check out Inset which allows to place them in the same Graphics. Also the first argument of Show should be a list of Graphics you want to combine, although it often works the way you have used.
– Johu
Sep 3 '18 at 14:49

As I understand, the goal is to take several images, add a same Graphcis to each one of them and dipslay them all next to each other. Maybe it is not exactly what you need, but perhaps it gets you started and shows you a the Mathematica style a bit.

First I import multiple images

filenamelist = {
"DTC5C9_Dimer_cool_T127.891C_30.00s_444875_saxs.tiff",
"DTC5C9_Dimer_cool_T127.891C_30.00s_444875_saxs.tiff",
"DTC5C9_Dimer_cool_T127.891C_30.00s_444875_saxs.tiff"
};
imgList = Import /@ filenamelist;


then I manipulate and overlay each one of them before displaying them in a Row

overlay =
Graphics[{Cyan, Thickness -> .003,
Line[{{736.7 + 70*Cos[45*Pi/180],
589.5 + 70*Sin[45*Pi/180]}, {736.7 + 550*Cos[45*Pi/180],
589.5 + 550*Sin[45*Pi/180]}}],
Line[{{736.7 + 70*Cos[135*Pi/180],
589.5 + 70*Sin[135*Pi/180]}, {736.7 + 550*Cos[135*Pi/180],
589.5 + 550*Sin[135*Pi/180]}}],
Circle[{736.7, 589.5}, 70, {45*Pi/180, 135*Pi/180}],
Circle[{736.7, 589.5}, 550, {45*Pi/180, 135*Pi/180}]}];
myColors =
{"ft_lang_label":"__label__en","ft_lang_prob":0.60929215,"math_prob":0.78001565,"size":1067,"snap":"2021-31-2021-39","text_gpt3_token_len":376,"char_repetition_ratio":0.1476952,"word_repetition_ratio":0.08888889,"special_character_ratio":0.4470478,"punctuation_ratio":0.22352941,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.95308256,"pos_list":[0,1,2,3,4],"im_url_duplicate_count":[null,1,null,1,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2021-09-20T08:52:19Z\",\"WARC-Record-ID\":\"<urn:uuid:176ebe7e-c5e0-4fe6-9f92-21dea31585b0>\",\"Content-Length\":\"173490\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:72b7cd0d-1651-4cac-86df-f2ce7e9e2ebc>\",\"WARC-Concurrent-To\":\"<urn:uuid:6057582d-4eed-4027-8699-1466f09a2587>\",\"WARC-IP-Address\":\"151.101.1.69\",\"WARC-Target-URI\":\"https://mathematica.stackexchange.com/questions/181133/how-does-graphics-work-for-group-of-images\",\"WARC-Payload-Digest\":\"sha1:R2YJJSTF4OIAHDRGO3LMEJ3TC6TVAXVT\",\"WARC-Block-Digest\":\"sha1:E23YHAPJFNA3Q4PKIGW6DFP4LEJAIPN2\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2021/CC-MAIN-2021-39/CC-MAIN-2021-39_segments_1631780057033.33_warc_CC-MAIN-20210920070754-20210920100754-00694.warc.gz\"}"}