Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Apply a function to specific subregions of an image
ResourceFunction["SubimageApply"][f,image,roi] applies the function f to the pixels in subregion roi of image. | |
ResourceFunction["SubimageApply"][f,image,{roi1,roi2,…}] applies the function f to the pixels of image in each of the subregions roii. | |
ResourceFunction["SubimageApply"][{f1,f2,…},image,{roi1,roi2,…}] applies the functions fi to each of the corresponding image subregions roii. |
Apply Blur to a certain subregion of an image:
In[1]:= |
Out[1]= |
Apply EdgeDetect to multiple subregions:
In[2]:= |
Out[2]= |
Apply multiple functions to multiple subregions:
In[3]:= |
Out[3]= |
When using multiple intersecting regions, the latter regions supersede previous ones:
In[4]:= |
Out[4]= |
This work is licensed under a Creative Commons Attribution 4.0 International License