Image Compare KJ(ImageCompareKJ)
Image Compare KJ is an interactive image and video comparison node.
Image Compare KJ
Description
Image Compare KJ is an interactive image and video comparison node. It lets you load up to four images, image batches, or videos into a single node and compare them side by side using several different viewing modes.
The first connected input is treated as the reference. Everything else is compared against it.
The node supports the following comparison modes:
- slider: a movable divider between the reference and the compared image (Shift+drag rotates the divider)
- box: a rectangular region comparison
- diff: a difference view highlighting where the inputs disagree
- toggle: flip between the reference and the compared image
- mask: reveal the compared image through an optional mask
Connected Load Image and Load Video nodes preview inside the node before you run the graph, so you can inspect and compare sources without queuing a prompt.
Batches and videos are played back in sync, frame by frame, as high quality H.264 with frame scrubbing. Single still images among them stay still while the moving inputs play. While the pointer is over the node, the arrow keys step one frame at a time, and holding Shift steps 10 frames.
Inputs
images
The images, image batches, or videos to compare. This is an autogrowing input, so additional inputs can be connected as needed, up to a maximum of 4.
The first connected input is the reference; the remaining inputs are compared against it.
mask
Optional mask input for mask mode.
- White areas show the compared image.
- Black areas show the reference.
- Gray areas blend between the two.
Only the first frame of the mask is used.
fps
Playback frame rate for image batches. Defaults to 24, with a range from 1 to 120 and a step of 0.1.
When a video is connected, the first video's frame rate is used instead, and this value is ignored.
image
The multitype image input used for the comparison display.
Outputs
This node has no outputs. It is a viewer/inspection node, it does not produce any data for downstream nodes.
Usage Notes
- Connect up to 4 inputs; the first is the reference and the rest are compared against it.
- Use Shift+drag in slider mode to rotate the divider.
- Hover the pointer over the node and use the arrow keys to step frames; hold Shift to step 10 frames at a time.
- Still images mixed with batches or videos remain static while the moving inputs play in sync.
- Provide a mask to use mask mode; remember only its first frame is read.
- Set
fpsfor image batch playback, but note it is overridden by the first connected video's frame rate.
Comments
Sign in with GitHub to join the discussion.