VideoHelp Forum




+ Reply to Thread
Results 1 to 9 of 9
  1. Banned
    Join Date
    Dec 2010
    Location
    New York
    Search Comp PM
    I can't remember which function does this, but I'm trying to mask my edges during filtration.

    Anyone can lead me to the right path on this one?

    THanks
    Quote Quote  
  2. masktool: EdgeMask()
    mt_masktools: mt_edge()
    Last edited by jagabo; 22nd Nov 2013 at 22:47.
    Quote Quote  
  3. Banned
    Join Date
    Dec 2010
    Location
    New York
    Search Comp PM
    Thanks. I've tried this before and it just shows a green/black flashy screen. I once became familiar with this function and just forgot. Can you please post a sample? For instance, converting the image to grayscale but protecting the lines (just so I can see how it works).

    Thanks.
    Quote Quote  
  4. How to use mt_edge() to make a crude spacial noise reduction filter that retains sharp edges:

    Code:
    edges = mt_edge() # build an edge mask
    mt_merge(blur(1.0), last, edges) # overlay a blurred image except at sharp edges
    Quote Quote  
  5. Banned
    Join Date
    Dec 2010
    Location
    New York
    Search Comp PM
    Thanks. Heaven forbid the stupid retarded documentation that comes with the function posts samples
    Quote Quote  
  6. Banned
    Join Date
    Dec 2010
    Location
    New York
    Search Comp PM
    can you please show me a sample script of how I would apply grayscale to the image, but protect a portion around the edges from it? So I can see a bit of the color and have an idea how to work the script
    Quote Quote  
  7. It's easier to use Overlay() for that purpose:
    Code:
    edges = mt_edge() # build an edge mask
    Overlay(GreyScale(last), last, mask=edges)  # overlay a grey image except at sharp edges
    You may want to expand and/or blur the mask:

    Code:
    edges = mt_edge().mt_expand().Blur(1.0) # build an edge mask
    Quote Quote  
  8. Banned
    Join Date
    Dec 2010
    Location
    New York
    Search Comp PM
    Ok, I'll try this when I get home.

    I don't hear from Sanlyn these days.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!