CopyRectange

From RMIT Visual Effects
Jump to: navigation, search

The CopyRectangle will copy a rectangle from one image to another. This is useful for when you wish to closely compare two regions, e.g. for matching images. In the snippet below, a rectangular section of one CheckerBoard node has been copied into another.

Press 'Expand' and select and copy everything below this line, then paste into the Nuke node graph.

set cut_paste_input [stack 0]
version 9.0 v8
CheckerBoard2 {
inputs 0
format "1920 1080 0 0 1920 1080 1 HD_1080"
boxsize 30
color0 {0.24 0.083682 0.06702 1}
color0_panelDropped true
color1 {0.286844 0.5 0.219651 1}
color1_panelDropped true
color2 {0.24 0.083682 0.06702 1}
color2_panelDropped true
color3 {0.2868439853 0.5 0.2196509987 1}
color3_panelDropped true
name CheckerBoard3
selected true
xpos -1174
ypos -1306
}
CheckerBoard2 {
inputs 0
format "1920 1080 0 0 1920 1080 1 HD_1080"
name CheckerBoard2
selected true
xpos -885
ypos -1301
}
CopyRectangle {
inputs 2
area {257 448 843 856}
name CopyRectangle1
selected true
xpos -996
ypos -1063
}