Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Provide a dynamic interface for comparing two images
ResourceFunction["ImageSplitCompare"][img1,img2] shows img1 composed with img2 with a draggable divider. | |
ResourceFunction["ImageSplitCompare"][Dynamic[var],img1,img2] shows img1 composed with img2 with a draggable divider at position var. | |
ResourceFunction["ImageSplitCompare"][Dynamic[var],img1,img2, size, method] shows img1 composed with img2 with a draggable divider at position var, using size and method to conform the images first. |
"LineStyle" | None | style values for the split line |
"ImageMarker" | None | Text or Graphics to use as a marker on the split line |
Appearance | "Horizontal" | the direction the split line can be dragged. "Horizontal" or "Vertical" |
Compare two images. Click and drag the divider line to change the split:
In[1]:= |
Out[1]= |
The position of the divider line can be controlled and retrieved using:
In[2]:= |
Out[2]= |
ImageSplitCompare takes the same arguments as ConformImages:
In[3]:= |
Out[3]= |
Use "LineStyle" to change the appearance of the join line:
In[4]:= |
Out[4]= |
Use "ImageMarker" to place a visual marker on the interactive join line:
In[5]:= |
Out[5]= |
Use Appearance to change the direction of interactivity:
In[6]:= |
Out[6]= |
Combine options:
In[7]:= |
Out[7]= |
Wolfram Language 11.3 (March 2018) or above
This work is licensed under a Creative Commons Attribution 4.0 International License