A.I. based Open Source De-noiser for Daz Studio PC and MACs

mCasualmCasual Posts: 4,607
edited January 2021 in Freebies

so it's a front-end for Intel Open Denoiser and Imagemagick-convert

it can process one image or a sequence of numbered images ( videos! )

https://sites.google.com/site/mcasualsdazscripts9/mcjdenoise

new for 2021 - Mac Compatibility

January 19th 2021 15:15 the file type for imagemagick and Intel Open Denoise was changed from (*.exe) to "Any File" for MAC issues with opendenoise which is extensionless

January 21st 2021 mcjDenoise2021ForMacs

there's a new version of mcjDenoise, my Daz Script that lets you use Intel Open Denoise to A.I.-Denoise your renders, for now i only have an antique macbook so apparently i cant run openDenoise, but your modern macs should , there's also the version for PCs https://sites.google.com/site/mcasualsdazscripts9/mcjdenoise

i had to figure out the not-well-documented execute-permissions of Daz Scripts, then use the .command extension then avoid quotation marks when running that .command file 

 

image

image

image

image

image

mcjDenoise.dsa.png
182 x 182 - 44K
ianna.jpg
960 x 648 - 170K
amabona.jpg
960 x 540 - 179K
bigsho.jpg
771 x 743 - 157K
dspe.jpg
960 x 483 - 61K
Post edited by mCasual on
«13456

Comments

  • Silver DolphinSilver Dolphin Posts: 1,609

    Thanks, this is great. I this is gonna be very useful.

  • Hemi426Hemi426 Posts: 221

    Hmmm,

    when I try to execute the script, I receive this:

    2019-06-21 16:46:15.158 Loading script: C:/Users/oliver/Documents/DAZ 3D/Studio/My Library/Scripts/mcasual/mcjDenoise.dsa
    2019-06-21 16:46:15.170 WARNING: Script Error: Line 144
    2019-06-21 16:46:15.170 WARNING: ReferenceError: Can't find variable: edBdFilenameIn

    Any idea?

     

  • mCasualmCasual Posts: 4,607
    edited June 2019

    i will repair it

    i probably created this variable, changed its name, then since i didnt exit Daz Studio, Daz Studio  didnt see a problem about this variable 

    ok i found the problem ... updating in 5 minutes ...

     

    Hemi426 said:

    Hmmm,

    when I try to execute the script, I receive this:

    2019-06-21 16:46:15.158 Loading script: C:/Users/oliver/Documents/DAZ 3D/Studio/My Library/Scripts/mcasual/mcjDenoise.dsa
    2019-06-21 16:46:15.170 WARNING: Script Error: Line 144
    2019-06-21 16:46:15.170 WARNING: ReferenceError: Can't find variable: edBdFilenameIn

    Any idea?

     

     

    Post edited by mCasual on
  • mCasualmCasual Posts: 4,607
    edited June 2019

    UPDATE - DEBUGGED - UPDATE - DEBUGGED - UPDATE - DEBUGGED - 

    ________________________________________________________________________

    Version History
    ________________________________________________________________________

    June 21st 2019 7:00AM - Release

    JUN 21, 2019, 11:49 AM - V2 - CORRECTED A BUG PREVENTED THE PROGRAM FROM STARTING

     

    Sure is worth the trouble wouldnt you say?

     

     

    proof.jpg
    1102 x 570 - 145K
    Post edited by Cris Palomino on
  • Hemi426Hemi426 Posts: 221

    Works! Thank you!

  • DigiDotzDigiDotz Posts: 515

    awww....

    Resolution: 1000x995
    Initializing
    Error: SSE4.1 support is required at minimum

    on core2quad  laugh  New pc soon though so I will be able to use it then. Thanks!

  • mCasualmCasual Posts: 4,607
    edited June 2019

    ah i see it mentioned here indeed

    https://www.foxrenderfarm.com/share/post-id-1584

    i also have a project for a trainable neural-net plugin for daz studio i want to make, the Intel and Nvidia denoisers are trained neural nets

    mine could be trained for anything, animating self-driving cars or actors

    i worked on that project a bit, trying different libraries but didnt complete that yet

    but but i did make a shallow-neural-network script+app here: https://sites.google.com/site/mcasualsdazscripts9/mcjnn

     

    DigiDotz said:

    awww....

    Resolution: 1000x995
    Initializing
    Error: SSE4.1 support is required at minimum

    on core2quad  laugh  New pc soon though so I will be able to use it then. Thanks!

     

    64832961_10158635465284746_5788631693187350528_o.jpg
    1192 x 670 - 47K
    Post edited by Chohole on
  • DigiDotzDigiDotz Posts: 515

    surprise You could train it to make figures auto-dance! wink

  • mCasualmCasual Posts: 4,607
    edited June 2019

    Version 3 has a new time saving option

    https://www.deviantart.com/mcasual/art/version-3-of-mcjDenoise-802746178

    version 3 of mcjDenoise can auto-name the output image

    so if input noisy image is c:\pics\InspectorGabrielleIsNotAmused.jpg, the output file will be named c:\pics\InspectorGabrielleIsNotAmused_out.jpg

    https://sites.google.com/site/mcasualsdazscripts9/mcjdenoise

    baaaaad facebook for overcompressing images

    slidescale.jpg
    1054 x 397 - 52K
    Post edited by Chohole on
  • Silver DolphinSilver Dolphin Posts: 1,609

    Nice update. Thank you

  • mCasualmCasual Posts: 4,607
    edited June 2019

    10 iRay render passes then denoised using mcjDenoise ( Intel Open Denoise ) https://sites.google.com/site/mcasualsdazscripts9/mcjdenoise

    mcjtenpasseskitchen_out.jpg
    1800 x 1080 - 280K
    mcjtenpasseskitchen.jpg
    1800 x 1080 - 3M
    Post edited by Chohole on
  • Silver DolphinSilver Dolphin Posts: 1,609

    I wonder why this is not just integrated into daz studio? It would save alot of people time rendering iray.

  • mCasualmCasual Posts: 4,607
    well in daz studio 4.11 the one released a week ago, there's a post render denoiser by nVIdia/daz3d it may be only for CUDA/gpu ... i dont know if it works on amd ati cards and CPUs i didnt seriously test it

    I wonder why this is not just integrated into daz studio? It would save alot of people time rendering iray.

  • Silver DolphinSilver Dolphin Posts: 1,609
    mCasual said:
    well in daz studio 4.11 the one released a week ago, there's a post render denoiser by nVIdia/daz3d it may be only for CUDA/gpu ... i dont know if it works on amd ati cards and CPUs i didnt seriously test it

    I wonder why this is not just integrated into daz studio? It would save alot of people time rendering iray.

     

    Yeah, I know>>> I wanted the independent one from Intel. Works better!!! The internal nvidia one slows down render and does not work as well!  Thank you for your hard work this works great when I'm done with a render I just run it thru your script and presto it's done. I also made it part of my top custom actions script menu.

  • mCasualmCasual Posts: 4,607
    edited June 2019

    everything but the kitchen sink

    222 iRay passes + intel open denoise

     

     

     

    everythingbutthekitchensink_out.jpg
    2000 x 1200 - 404K
    Post edited by Chohole on
  • mCasualmCasual Posts: 4,607
    edited June 2019

    The virtues of cherry ice cream crystals

    Peachy finds it cute that Gabrielle thinks the "cherry ice cream crystals" can "activate her DNA" and generate "3D body upgrades". Well it's cute but it's also true.

    (240 spp + mcjDenoise )

    mcjDna_out.jpg
    1920 x 1200 - 407K
    itsnight_out.jpg
    1920 x 1200 - 213K
    Post edited by Chohole on
  • IvyIvy Posts: 7,165

    wow thank you very much

  • Fabulous! Thanks very much! :)

  • JackyBrownJackyBrown Posts: 585
    edited June 2019

    Had a little trouble to get it working, but it was worth the effort... it works like magic! Thank you very very much! This is soooooooo useful!

    Before                                                                                      After

     

    jb_DenoiseExample.jpg
    662 x 331 - 167K
    Post edited by JackyBrown on
  • Thanks very much !

  • lukon100lukon100 Posts: 809

    I'm trying to figure out how to install Intel's denoiser. The instructions are very confusing.

  • y3kmany3kman Posts: 798
    lukon100 said:

    I'm trying to figure out how to install Intel's denoiser. The instructions are very confusing.

    You just have to unzip it somewhere and point the script to its location.

    Speaking of ImageMagik, what's a good setting for the converter to cut down the size of the denoised image? I usually get around 1.5x the original file size if the source is a PNG.

  • Silver DolphinSilver Dolphin Posts: 1,609

    I just use Photoshop or GIMP for that.

  • Hemi426Hemi426 Posts: 221
    edited June 2019

    The effect is really amazing!

     

    EDIT: Ok, I noticed the floating sandals in the back!

     

    tryingtogetintoshorts.jpg
    1920 x 1440 - 1M
    tryingtogetintoshortsDN.jpg
    1920 x 1440 - 602K
    Post edited by Hemi426 on
  • JOdelJOdel Posts: 6,288

    Looks good. Does it run on a Mac? 

    Current Macs are Intel, but they aren't Windows.

  • FirePro9FirePro9 Posts: 456

    Looks like the ImageMagicK executable has changed from convert.exe to magick.exe (win64).

  • I couldn't find convert.exe either but if you tick the box that says install legacy components when you first instal ImageMagicK it will be there.

  • mCasualmCasual Posts: 4,607
    edited July 2019

    one could install a version of imagemagick in a folder anywhere

    and use the convert.exe in there for the needs of this daz script

    i downloaded the imagemagick installer from here

    https://imagemagick.org/download/binaries/

    and installed it in f:\\imagemagick69105 so i can remember the version

    i unselected the extras, this imagemagick will be for mcjDenoiser

     

    okin.png
    1000 x 1500 - 3M
    okout.jpg
    1000 x 1500 - 324K
    justthat.jpg
    584 x 438 - 58K
    justthis.jpg
    424 x 311 - 30K
    Post edited by mCasual on
  • y3kmany3kman Posts: 798

     I'm a lazy bum and just use the portable version of ImageMagick.

  • mindsongmindsong Posts: 1,701

    This and the LUT tool are greatly appreciated, as are all of your gifts.

    Maybe it's time for some more of us to kick some beer money your way via paypal, eh?

    So, how about it folks, this week, rather than buy another fastgrab item that you'll probably never use. Kick a few bucks to mCasual at the link at the bottom of this freebie page:

      https://sites.google.com/site/mcasualsdazscripts9/mcjdenoise

    It feels really good to do so, and the effort, wit, and wisdom mCasual shares for free is amazing - just look at all of the stuff on his site!

    (thanks mCasual!)

    --ms

Sign In or Register to comment.