Message Boards Message Boards

GROUPS:

[✓] Create an image collage and apply Blur?

Posted 2 months ago
338 Views
|
2 Replies
|
2 Total Likes
|

Hello Everyone,

I am very new to Wolfram language and try to go through the course book of the language. I like however tryout my ideas on how the things can be done in unconventional ways. I was trying to produce image collage as:


i = CurrentImage[];
ImageCollage[
Table[f[i], {f, {Blur, EdgeDetect, Binarize}}]
]

And I was wondering that If I would like apply a parameter to the Blur function that would be something like partial application i.e. Blur[5] Which in turn can be further applied in f[i]

is such a thing possible?

the way I tried it Blur[5] doesn't work.

Kind regards

Karol

2 Replies
Posted 2 months ago

Hi All,

Worked out a solution


i := CurrentImage[];
ImageCollage[
 Table[f[i], {f, {Function [x, Blur[x, 5]], EdgeDetect, Binarize}}]
 ]

Kind regards

Karol

You can use Map (/@) as well and do it like so:

ImageCollage[#[i] & /@ {Blur[#, 5] &, EdgeDetect, Binarize}]
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract