Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Replace color pixels from one image with corresponding pixels from another image
ResourceFunction["ImageColorReplace"][image1,image2] replaces dominant color pixels from image1 with corresponding pixels from image2. | |
ResourceFunction["ImageColorReplace"][image1,image2,color] replaces pixels of color color from image1 with corresponding pixels from image2. |
Find the dominant color of an image and replace those pixels with the pixels from another image:
In[1]:= |
Out[1]= |
Do the same thing but with a blue screen image:
In[2]:= |
Out[2]= |
Superimpose a spaceship over a desert:
In[3]:= |
Out[3]= |
Wolfram Language 11.3 (March 2018) or above
This work is licensed under a Creative Commons Attribution 4.0 International License