You can create your own vertical/horizontal edge detect by using the Matrix 
node to create a basic Sobel filter.

Create a Matrix node, and set it to be 3x3.

For a vertical edge detect, enter the following values:

[ -1   0   1 ]
[ -2   0   2 ]
[ -1   0   1 ]

For a horizontal edge detect, enter these values:

[ -1   -2   -1 ]
[  0    0     0 ]
[  1     2    1 ]

Then follow this with an Merge node set to Difference. Make sure the B input is 
plugged into the Matrix node, and leave the A input disconnected. This will 
make the negative values that came out of the Matrix node positive.

Hugh Macdonald
nvizible – VISUAL EFFECTS

[email protected]
+44(0) 207 659 2038
+44(0) 7773 764 708

www.nvizible.com

On 21 Apr 2011, at 14:12, Renato Carone wrote:

> Hi,
> 
> If you use a Erode node after your Edge Detect, you can select vertical or 
> horizontal lines.
> 
> Cheers,
> Renato carone
> 
> On 21/04/2011, at 06:44, Spider <[email protected]> wrote:
> 
>> Hi everyone,
>> 
>> I'd like to kow if there is a way to select only vertical and/or horizontal 
>> lines after an edge detect node, cause i'd like to apply a node only for 
>> these selection.
>> Any hint ?
>> 
>> Thanks for your help.
>> 
>> Spider
>> 
>> 
>> -- 
>> Luddnel Spider Magne | Director - Lead Motion Compositor
>> 555Lab – Alchemy between you and us 
>> 24 rue du Pré St-Gervais 93500 Pantin 
>> Office (+33)148 453 555 | Fax (+33)171 864 387
>> Mobile (+33)699 434 555 | 555lab.com
>> _______________________________________________
>> Nuke-users mailing list
>> [email protected]
>> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
> _______________________________________________
> Nuke-users mailing list
> [email protected]
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

_______________________________________________
Nuke-users mailing list
[email protected]
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

Reply via email to