Message Boards Message Boards

0
|
3165 Views
|
2 Replies
|
2 Total Likes
View groups...
Share
Share this post:

[?] Create an image collage and apply Blur?

Posted 6 years ago

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

POSTED BY: Karol Kopiec
2 Replies

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

ImageCollage[#[i] & /@ {Blur[#, 5] &, EdgeDetect, Binarize}]
POSTED BY: Henrik Schachner
Posted 6 years ago

Hi All,

Worked out a solution


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

Kind regards

Karol

POSTED BY: Karol Kopiec
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