I'd use this technique to generate the mask for the bad pixels, but instead of blurring heavily, I would stencil out the original frame with the mask, then blur it just enough for a subsequent unpremult to fill the gap.

On 24/07/13 05:47, John Mangia wrote:
Use an expression node with r > value ? 0 : 1 where value is the upper threshold. Use that matte and keymix in a heavily blurred or translated frame within the hot pixel matte.

On Tue, Jul 23, 2013 at 1:43 PM, Ron Ganbar <ron...@gmail.com <mailto:ron...@gmail.com>> wrote:

    Define hot.
    Do you mean NaNs and INFs?



    Ron Ganbar
    email: ron...@gmail.com <mailto:ron...@gmail.com>
    tel: +44 (0)7968 007 309 [UK]
         +972 (0)54 255 9765 [Israel]
    url: http://ronganbar.wordpress.com/


    On Tue, Jul 23, 2013 at 8:41 PM, David Yu <dave...@gmail.com
    <mailto:dave...@gmail.com>> wrote:

        Hi. Anyone know a script or expression to remove hot pixel
        noise from images or 3d renders?

        I tried some crude 3x3 matrix tricks to enhance the pixels and
        tried to "pull" the pixels out and subtract from the main
        image. Then i used the result as a mask for a median filter
        set at 1.

         Looking at the RGB channels, the hot pixel is the same value
        on all 3 channels while the neighbour pixels are different per
        channel. I'm hoping for a more elegant way to detect hot pixel
        using an expression.

        Dave

        _______________________________________________
        Nuke-users mailing list
        Nuke-users@support.thefoundry.co.uk
        <mailto:Nuke-users@support.thefoundry.co.uk>,
        http://forums.thefoundry.co.uk/
        http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users



    _______________________________________________
    Nuke-users mailing list
    Nuke-users@support.thefoundry.co.uk
    <mailto:Nuke-users@support.thefoundry.co.uk>,
    http://forums.thefoundry.co.uk/
    http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users




--
John Mangia

908.616.1796
j...@johnmangia.com <mailto:j...@johnmangia.com>


_______________________________________________
Nuke-users mailing list
Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

_______________________________________________
Nuke-users mailing list
Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

Reply via email to