Nav apraksta
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

pixelFehlerChecker.gimmick 3.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225
  1. set cut_paste_input [stack 0]
  2. version 12.2 v5
  3. push $cut_paste_input
  4. Group {
  5. name pixelFehlerChecker
  6. selected true
  7. xpos 241
  8. ypos 474
  9. addUserKnob {20 User}
  10. addUserKnob {7 median t "\t\t\t" R 0 10}
  11. median 1
  12. addUserKnob {26 ""}
  13. addUserKnob {20 thresholds n 1}
  14. addUserKnob {7 thresholdr l "threshold r" R 0 10}
  15. thresholdr 0.5
  16. addUserKnob {7 thresholdg l "threshold g" R 0 10}
  17. thresholdg 0.5
  18. addUserKnob {7 thresholdb l "threshold b" R 0 10}
  19. thresholdb 0.5
  20. addUserKnob {20 endGroup n -1}
  21. addUserKnob {6 valueToOne l "value or 1" +STARTLINE}
  22. valueToOne true
  23. addUserKnob {26 ""}
  24. addUserKnob {19 color}
  25. color {1 0.6 0.3 0}
  26. addUserKnob {6 color_panelDropped l "panel dropped state" -STARTLINE +HIDDEN}
  27. addUserKnob {6 clamped +STARTLINE}
  28. addUserKnob {26 ""}
  29. addUserKnob {7 size R 0 10}
  30. size 2
  31. addUserKnob {7 blur l "blur mask" R 0 10}
  32. blur 2
  33. addUserKnob {26 ""}
  34. addUserKnob {7 dissolve l mix}
  35. addUserKnob {26 ""}
  36. addUserKnob {6 fixPixelError l "fix pixel error" +STARTLINE}
  37. }
  38. Input {
  39. inputs 0
  40. name Input1
  41. xpos -490
  42. ypos -345
  43. }
  44. set Nc0d70400 [stack 0]
  45. push $Nc0d70400
  46. Median {
  47. size {{parent.median i}}
  48. ignore_top_line false
  49. name Median1
  50. xpos -341
  51. ypos -197
  52. }
  53. set Nc2097c00 [stack 0]
  54. Merge2 {
  55. inputs 2
  56. operation minus
  57. name Merge1
  58. xpos -107
  59. ypos -144
  60. }
  61. Multiply {
  62. value 8
  63. name Multiply1
  64. xpos -107
  65. ypos -111
  66. }
  67. set Nc2097400 [stack 0]
  68. Expression {
  69. temp_name0 value
  70. temp_expr0 thresholdb
  71. expr3 b>value?1:0
  72. name Expression6
  73. xpos 300
  74. ypos -10
  75. }
  76. push 0
  77. push $Nc2097400
  78. Expression {
  79. temp_name0 value
  80. temp_expr0 thresholdr
  81. expr3 r>value?1:0
  82. name Expression7
  83. xpos 120
  84. ypos -9
  85. }
  86. push $Nc2097400
  87. Expression {
  88. temp_name0 value
  89. temp_expr0 parent.thresholdg
  90. expr3 g>value?1:0
  91. name Expression5
  92. xpos 212
  93. ypos -9
  94. }
  95. Merge2 {
  96. inputs 3+1
  97. operation plus
  98. name Merge2
  99. xpos 148
  100. ypos 28
  101. }
  102. push $Nc2097400
  103. Expression {
  104. temp_name0 value
  105. temp_expr0 thresholdb
  106. expr3 b>value?b:0
  107. name Expression3
  108. xpos -18
  109. ypos -8
  110. }
  111. push 0
  112. push $Nc2097400
  113. Expression {
  114. temp_name0 value
  115. temp_expr0 thresholdr
  116. expr3 r>value?r:0
  117. name Expression1
  118. xpos -198
  119. ypos -8
  120. }
  121. push $Nc2097400
  122. Expression {
  123. temp_name0 value
  124. temp_expr0 parent.thresholdg
  125. expr3 g>value?g:0
  126. name Expression2
  127. xpos -107
  128. ypos -8
  129. }
  130. Merge2 {
  131. inputs 3+1
  132. operation plus
  133. name Merge3
  134. xpos -100
  135. ypos 26
  136. }
  137. Switch {
  138. inputs 2
  139. which {{parent.valueToOne}}
  140. name Switch2
  141. xpos 81
  142. ypos 68
  143. }
  144. Expression {
  145. expr0 a
  146. expr1 a
  147. expr2 a
  148. name Expression4
  149. xpos -100
  150. ypos 68
  151. }
  152. Dilate {
  153. size {{parent.size}}
  154. name Dilate1
  155. xpos -100
  156. ypos 92
  157. }
  158. set Nc2094800 [stack 0]
  159. Clamp {
  160. name Clamp1
  161. xpos 12
  162. ypos 150
  163. }
  164. push $Nc2094800
  165. Multiply {
  166. value {{parent.color.r} {parent.color.g} {parent.color.b} 1}
  167. name Multiply2
  168. xpos -100
  169. ypos 147
  170. }
  171. Switch {
  172. inputs 2
  173. which {{parent.clamped}}
  174. name Switch1
  175. xpos -100
  176. ypos 223
  177. }
  178. Blur {
  179. size {{parent.blur}}
  180. name Blur1
  181. selected true
  182. xpos -100
  183. ypos 266
  184. }
  185. set Nc2783400 [stack 0]
  186. push $Nc2097c00
  187. push $Nc0d70400
  188. Keymix {
  189. inputs 3
  190. name Keymix1
  191. xpos -246
  192. ypos 349
  193. }
  194. push $Nc0d70400
  195. push $Nc2783400
  196. Dissolve {
  197. inputs 2
  198. which {{parent.dissolve}}
  199. name Dissolve1
  200. xpos -365
  201. ypos 217
  202. }
  203. push $Nc0d70400
  204. Merge2 {
  205. inputs 2
  206. operation screen
  207. name Merge4
  208. xpos -475
  209. ypos 309
  210. }
  211. Switch {
  212. inputs 2
  213. which {{parent.fixPixelError}}
  214. name Switch3
  215. xpos -475
  216. ypos 486
  217. }
  218. Output {
  219. name Output2
  220. xpos -475
  221. ypos 584
  222. }
  223. end_group
  224. # Creation Time=Tue Apr 27 08:56:19 2021
  225. # Creator=Nils