(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[18570],{85128:(e,n,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/en-US/apis/rendering/noise-reduction/noise-reduction-bound",function(){return r(20643)}])},20643:(e,n,r)=>{"use strict";r.r(n),r.d(n,{default:()=>h,useTOC:()=>c});var i=r(52676),s=r(96933),t=r(78033),d=r(30805),o=r(87359),a=r(12602),l=r(75520);function c(e){return[]}let h=(0,s.c)(function(e){let n={a:"a",code:"code",p:"p",...(0,d.a)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(o.Z,{title:"Noise Reduction Bound",param:"nr"}),"\n",(0,i.jsx)(n.p,{children:"Sets the threshold for noise reduction."}),"\n",(0,i.jsxs)(n.p,{children:["Valid values are in the range ",(0,i.jsx)(n.code,{children:"-100"})," to ",(0,i.jsx)(n.code,{children:"100"}),". If no value is supplied, the default is ",(0,i.jsx)(n.code,{children:"20"}),"."]}),"\n",(0,i.jsxs)(n.p,{children:["The ",(0,i.jsx)(n.code,{children:"nr"})," value sets the threshold at which noise is removed. Pixels with a luminance value that falls below the threshold are considered noise and will be blurred. Pixels above the threshold will be sharpened according to the ",(0,i.jsx)(n.a,{href:"/apis/rendering/noise-reduction/noise-reduction-sharpen",children:(0,i.jsx)(n.code,{children:"nrs"})})," parameter value."]}),"\n",(0,i.jsxs)(n.p,{children:["If only ",(0,i.jsx)(n.code,{children:"nr"})," is set, then ",(0,i.jsx)(n.a,{href:"/apis/rendering/noise-reduction/noise-reduction-sharpen",children:(0,i.jsx)(n.code,{children:"nrs"})})," will be set to its default, and vice versa. If neither value is supplied, then no noise reduction will be applied. Try setting ",(0,i.jsx)(n.code,{children:"nr=60"})," and ",(0,i.jsx)(n.a,{href:"/apis/rendering/noise-reduction/noise-reduction-sharpen",children:(0,i.jsx)(n.code,{children:"nrs=40"})})," below to see the difference from the defaults."]}),"\n",(0,i.jsx)(a.Z,{url:"https://assets.imgix.net/noise-reduction3.jpg",params:"nr=20&nrs=20"}),"\n",(0,i.jsx)(l.Z,{})]})},"/en-US/apis/rendering/noise-reduction/noise-reduction-bound",{filePath:"pages/en-US/apis/rendering/noise-reduction/noise-reduction-bound.mdx",timestamp:172930614e4,pageMap:t.v,frontMatter:{title:"Noise Reduction Bound",param:"nr",description:"Reduces the noise in an image"},title:"Noise Reduction Bound"},"undefined"==typeof RemoteContent?c:RemoteContent.useTOC)},12602:(e,n,r)=>{"use strict";r.d(n,{Z:()=>o});var i=r(52676),s=r(75271);let t=!1,d=null,o=function(e){return(0,s.useEffect)(()=>(t||((d=document.createElement("script")).src="https://gearbox.imgix.com/dist/embed.js",d.defer=!0,document.head.appendChild(d),t=!0),()=>{d&&d.parentNode&&(d.parentNode.removeChild(d),d=null,t=!1)}),[]),(0,i.jsx)("div",{className:"max-w-[619px] min-h-[400px]",children:(0,i.jsx)("div",{className:"shadow-lg mt-6 max-w-[619px]",gearbox:"true","gearbox-url":e.url,"gearbox-params":e.params,"gearbox-locked":e.locked||""})})}},87359:(e,n,r)=>{"use strict";r.d(n,{Z:()=>s});var i=r(52676);r(75271);let s=function(e){let{title:n,param:r}=e;return(0,i.jsxs)("div",{className:"flex flex-wrap items-baseline mt-2",children:[(0,i.jsx)("h1",{className:"flex-shrink min-w-0 text-4xl font-bold tracking-[-.015em] leading-[54px] text-[#16232d] dark:text-[#F1F5F9]",children:n}),r&&(0,i.jsx)("h2",{className:"flex-shrink-0 text-4xl text-imgix-orange font-code pl-4 ml-4 border-l-2 border-gray-300 dark:border-gray-700",children:r})]})}}},e=>{var n=n=>e(e.s=n);e.O(0,[96933,75520,78033,92888,49774,40179],()=>n(85128)),_N_E=e.O()}]);