<?xml version="1.0" encoding="utf-8"?>
<NiceCREConfig version="0.0.1" name='TeleCamera_imx06h'>
    <!-- common config  -->
    <ModelSubPath description="model sub path">TeleCamera_imx06h</ModelSubPath>
    <FallBackKeepHdr>1</FallBackKeepHdr>
    <Perception use='1' description="perception paramter">
        <!--default 70-->
        <GhostDetectOn>1</GhostDetectOn>
        <ShakingTH>0.01</ShakingTH>
        <LuxIndexTh>8888888</LuxIndexTh>
        <ExpTimeTh>87944</ExpTimeTh>
        <BandingNNTh>1000</BandingNNTh>
        <BandingSSTh>1000</BandingSSTh>
        <MatchShakingThreshold>0.1</MatchShakingThreshold>
        <FirstSFrameIndex>5</FirstSFrameIndex>
        <SecondSFrameIndex>6</SecondSFrameIndex>
        <SwitchNormalMatchThreshold>2</SwitchNormalMatchThreshold>
    </Perception>
    <DeGhost description="DeGhost params">
        <nThd description="ghost detection threshold of normal frame">19</nThd>
        <s0Thd description="ghost detection threshold of s0 frame">0</s0Thd>
        <s1Thd description="ghost detection threshold of s1 frame">0</s1Thd>
        <shakeThd description="nThd, soThd, s1Thd will change to [nThdShake, s0ThdShake, s1ThdShake] if shaking value bigger than shakeThd">0.028</shakeThd>
        <nThdShake description="if shaking value bigger than shakeThd, use nThdShake replace nThd">18</nThdShake>
        <s0ThdShake description="if shaking value bigger than shakeThd, use s0ThdShake replace s0Thd">0</s0ThdShake>
        <s1ThdShake description="if shaking value bigger than shakeThd, use s1ThdShake replace s1Thd">0</s1ThdShake>
        <maskDilate description="mask dilate size">3</maskDilate>
        <diffThd description="threshold of diff mask">3</diffThd>
        <minCropSize description="minimum size of ghost cropping size">1024</minCropSize>
        <cropThd1 description="the first threshold of increase ghost crop size. float type">0.02</cropThd1>
        <cropThd2 description="the second threshold of increase ghost crop size. float type">0.1</cropThd2>
        <cropThd1Shake description="if shaking value bigger than shakeThd, use s0ThdShake replace s0Thd">0.02</cropThd1Shake>
        <cropThd2Shake description="if shaking value bigger than shakeThd, use s1ThdShake replace s1Thd">0.1</cropThd2Shake>
        <flexRatio1 description="a ratio that use to increase ghost crop size if ghost area bigger than cropThd1 and les than cropThd2. float type">3.0</flexRatio1>
        <flexRatio2 description="a ratio that use to increase ghost crop size if ghost area bigger than cropThd2. float type">4.0</flexRatio2>
        <refineGhostThd description="param of refine ghost mask">9</refineGhostThd>
        <refineInpaintThd description="param of refine inpainting mask">0</refineInpaintThd>
        <s0Thd1 description="ghost detection threshold of s0 frame, use to detect banding ghost">19</s0Thd1>
        <s1Thd1 description="ghost detection threshold of s1 frame, use to detect banding ghost">-300</s1Thd1>
        <ghostDeleteSize description="use to delete small ghosts that pixel number lower than this param">90</ghostDeleteSize>
        <minGhostPixelNum description="decide whether to use inpainting if all ghost pixel number lower than this param">250</minGhostPixelNum>
        <UseStaggerDelEvmm>1</UseStaggerDelEvmm>
        <nThdstagger description="ghost detection threshold of normal frame in stagger mode">19</nThdstagger>
        <s0Thdstagger description="ghost detection threshold of s0 frame in stagger mode">0</s0Thdstagger>
        <s1Thdstagger description="ghost detection threshold of s1 frame in stagger mode">0</s1Thdstagger>
        <s0Thd1stagger description="ghost detection threshold of s0 frame in stagger mode, use to detect banding ghost">19</s0Thd1stagger>
        <s1Thd1stagger description="ghost detection threshold of s1 frame in stagger mode, use to detect banding ghost">-100</s1Thd1stagger>
        <refineGhostThdstagger description="param of refine ghost mask">9</refineGhostThdstagger>
	<minPixDelstaggerThd description="decide whether to delete frame if pixel number lower than this param">500</minPixDelstaggerThd>
        <InpaintingModel>
            <inputScale inw="512" inh="512" num="1">0.000030518509447574615</inputScale>
            <outScale>0.0000339735415764153</outScale>
            <ModelPath tempBufferSizeMb="38" use="1" eng="10">nice_inpainting.vdnn</ModelPath>
        </InpaintingModel>
    </DeGhost>
    <XDR use="1">
        <xmlPath>/vendor/camera3rd/nti/xdr</xmlPath>
    </XDR>
    <!-- normal config  -->
    <NormalConfig description="normal scene config">
        <PreBpsParam description="pre bps parameter">
            <!--0: none, 1: only for pretbps local, 2: only for prebps global, 4: only for postbps local, 5: only for postbps global, 6: vst and ivst (not support) -->
            <OpticalBlackCorrect use='1' method='2' description="local ob prameter file path">/vendor/camera3rd/nti/TeleCamera_imx06h/prebps_localobc_normal.xml</OpticalBlackCorrect>
            <CodeFunc description="pre bps function code">2560</CodeFunc>
        </PreBpsParam>
        <NoiseInfo num='1' name='imx06h'>
            <Sensor01>
                <a0>0.0000642589</a0>
                <a1>-0.0004526739</a1>
                <b0>0.0000000178</b0>
                <b1>-0.0000092557</b1>
                <b2>0.0346810730</b2>
            </Sensor01>
        </NoiseInfo>
        <ImageAlign description="image align information">
            <FeatureTrack description="feature track information">
                <MaxCorners>1000</MaxCorners>
                <MaxCandidateCorners>32768</MaxCandidateCorners>
                <MinDistance>16</MinDistance>
                <HarrisK use='0'>0.04</HarrisK>
                <QualityLevel>0.01</QualityLevel>
            </FeatureTrack>
            <GlobalAlign description="global align information">
                <MinPointsNum>50</MinPointsNum>
                <LKEpsilon>0.01</LKEpsilon>
                <LKMaxIter>20</LKMaxIter>
                <LKNumRatio>0.7</LKNumRatio>
                <RansacMaxIter>2000</RansacMaxIter>
                <RansacConfidence>0.9950</RansacConfidence>
                <RansacThreshold>3</RansacThreshold>
                <UseRegion>0</UseRegion>
                <Ratio>0.5</Ratio>
                <SwitchRegionDigitalZoom>4</SwitchRegionDigitalZoom>
                <DeltaPad>32</DeltaPad>
                <RandomDisturbDigitalZoom use="1">1</RandomDisturbDigitalZoom>
            </GlobalAlign>
        </ImageAlign>
        <Overlap description="block overlap, default 16">16</Overlap>
        <ROIStrategy use='1'>
            <ROIUseType>2</ROIUseType>
            <UseRoiDigitZoom>1.0</UseRoiDigitZoom>
        </ROIStrategy>
        <PostBpsParam description="post bps parameter">
            <CodeFunc description="post bps function code">24840</CodeFunc>
            <LTMCodeFunc description="ltm function code, 0, not ltm; 1, cvltm; 2, mtk ltm; 3, nice-tone">2</LTMCodeFunc>
            <ToneFunc>1</ToneFunc>
            <NormalNiceTMDigitalZoomTH>0</NormalNiceTMDigitalZoomTH>
            <NiceTMOnlyUsePortrait>2</NiceTMOnlyUsePortrait>
            <HightLightKeepAWB>
                <use>1</use>
                <scaleratio>2.0</scaleratio>
                <DrcLowThresh>2.0</DrcLowThresh>
                <DrcHighThresh>3.5</DrcHighThresh>
                <LscSigma>0.4</LscSigma>
                <LscOffset>0.0</LscOffset>
            </HightLightKeepAWB>
			<LscProcW>51</LscProcW>
			<LscProcH>39</LscProcH>
			<LscBlurRadius>1</LscBlurRadius>
        </PostBpsParam>
        <NiceTone description="nice-tone algorithm config" tnable="1">
            <ModelPath description="nice-tone model path">/vendor/camera3rd/nti/nice_tce/Model/</ModelPath>
            <XmlPath description="nice-tone xmlfile name">/vendor/camera3rd/nti/nice_tce</XmlPath>
            <SkysegConfigPath description="nice-tone SkysegConfigPath name">/vendor/camera3rd/nti/skyseg.xml</SkysegConfigPath>
            <SegmentjsonName description="nice-tone segment config path">/vendor/camera3rd/nti/aisegment_config.json</SegmentjsonName>
            <AllinoneXML description="nice-tone allinone config path">/vendor/camera3rd/nti/allinone2_0_config.xml</AllinoneXML>
            <SpeConfigPath description="spe xml path for txe">/vendor/camera3rd/nti/nice_spe/spe_config.xml</SpeConfigPath>
            <FaceDetConfigPath description="FaceDet config path for txe">/vendor/camera3rd/nti/fdcapture3_0/</FaceDetConfigPath>
            <OutlineConfigPath description="OutlineConfigPath config path for txe">/vendor/camera3rd/nti/outline/</OutlineConfigPath>
        </NiceTone>
        <SunGhostStrategy use='1'>
            <ShakingTH>0.01</ShakingTH>
            <LuxIndexTH>60</LuxIndexTH>
            <CaixiaIndex>5</CaixiaIndex>
            <CaixiaConfTH>50</CaixiaConfTH>
            <SunIndex>6</SunIndex>
            <SunConfTH>50</SunConfTH>
        </SunGhostStrategy>
        <UseRandNoise description="random noise swith, default 0">0</UseRandNoise>
        <LogDomainMax description="Max vaule in Log Domain Convert">17034.8</LogDomainMax>
        <BitWidthNormal description="normal flow bitwidth, default 16">32</BitWidthNormal>
        <ModelsInfo descrption="normal models info">
            <UseAnalogGainMethod>1</UseAnalogGainMethod>
            <GhostModelLuxIndexThd>1000</GhostModelLuxIndexThd>
            <GhostModelScene>0</GhostModelScene>
            <UseNormalModel isoMin="0">0</UseNormalModel>
            <polarAFInfo use="0">150,160,170,180,190,204,224,249,280,300,319,350,372,400,445</polarAFInfo>

            <SingleModelInfo>
                <UseClipMap>0</UseClipMap>
                <drcgianThd>0.0</drcgianThd>
                <digitZoomUp>0.0</digitZoomUp>
                <FrameMatchSuccessThd>0</FrameMatchSuccessThd>
                <UseVst hdrvstmode="1" clipinput="0" maxvalue="1" vstNormCoeff="1." avst="0" vstBaseISOMode="0">1</UseVst>
                <!-- FrameTypeOrder ref='2' refn='2' clip='0' useawb='0'>1,1,1,1,1,0,3</FrameTypeOrder -->
                <inputScale inputZep="0" inw="544" inh="544" num="4">0.000030518509447574615</inputScale>
                <outScale outZep="0">0.00003367973113199696</outScale>
                <GenNice35 description="Nice Gen 3.5 type model">
                    <use description="if set 0, the params below won't be set active. default, 0">1</use>
                    <isoInputCh description="add one more iso input channel; default, 1">1</isoInputCh>
                    <noiseDiff description="">
                        <use description="default, 1">0</use>
                        <blurWidth description="default, 5">5</blurWidth>
                        <blurHeight description="default, 5">5</blurHeight>
                        <blurSigma description="default, 0.5">0.5</blurSigma>
                        <applyWeight description="defualt, 1.0">1.0</applyWeight>
                    </noiseDiff>
                </GenNice35>
                <ModelPath tempBufferSizeMb="33" use="1" s2d="0" rng="1" rate="1" eng="10" dev="4" warp="2" maxiso="4000" quad="10">nice_imx06h_ldr_general_n_backward_bayer_x1.vdnn</ModelPath>
            </SingleModelInfo>
            <SingleModelInfo>
                <UseClipMap>0</UseClipMap>
                <drcgianThd>0.0</drcgianThd>
                <digitZoomUp>0.0</digitZoomUp>
                <FrameMatchSuccessThd>0</FrameMatchSuccessThd>
                <UseVst hdrvstmode="1" clipinput="0" maxvalue="1" vstNormCoeff="1." avst="0" vstBaseISOMode="0">1</UseVst>
                <!-- FrameTypeOrder ref='2' refn='2' clip='0' useawb='0'>1,1,1,1,1,0,3</FrameTypeOrder -->
                <inputScale inputZep="0" inw="544" inh="544" num="4">0.000030518509447574615</inputScale>
                <outScale outZep="0">0.00003367973113199696</outScale>
                <GenNice35 description="Nice Gen 3.5 type model">
                    <use description="if set 0, the params below won't be set active. default, 0">1</use>
                    <isoInputCh description="add one more iso input channel; default, 1">1</isoInputCh>
                    <noiseDiff description="">
                        <use description="default, 1">0</use>
                        <blurWidth description="default, 5">5</blurWidth>
                        <blurHeight description="default, 5">5</blurHeight>
                        <blurSigma description="default, 0.5">0.5</blurSigma>
                        <applyWeight description="defualt, 1.0">1.0</applyWeight>
                    </noiseDiff>
                </GenNice35>
                <ModelPath tempBufferSizeMb="33" use="1" s2d="0" rng="1" rate="1" eng="10" dev="4" warp="2" maxiso="0" quad="10">nice_imx06h_ldr_general_n_backward_bayer_x1.vdnn</ModelPath>
            </SingleModelInfo>
            <SingleModelInfo>
                <UseClipMap>0</UseClipMap>
                <drcgianThd>0.0</drcgianThd>
                <digitZoomUp>0.0</digitZoomUp>
                <FrameMatchSuccessThd>0</FrameMatchSuccessThd>
                <UseVst hdrvstmode="1" clipinput="0" maxvalue="1" vstNormCoeff="1." avst="0" vstBaseISOMode="0">1</UseVst>
                <!-- FrameTypeOrder ref='2' refn='2' clip='0' useawb='0'>1,1,1,1,1,0,3</FrameTypeOrder -->
                <inputScale inputZep="0" inw="544" inh="544" num="4">0.000030518509447574615</inputScale>
                <outScale outZep="0">0.00003367973113199696</outScale>
                <GenNice35 description="Nice Gen 3.5 type model">
                    <use description="if set 0, the params below won't be set active. default, 0">1</use>
                    <isoInputCh description="add one more iso input channel; default, 1">1</isoInputCh>
                    <noiseDiff description="">
                        <use description="default, 1">0</use>
                        <blurWidth description="default, 5">5</blurWidth>
                        <blurHeight description="default, 5">5</blurHeight>
                        <blurSigma description="default, 0.5">0.5</blurSigma>
                        <applyWeight description="defualt, 1.0">1.0</applyWeight>
                    </noiseDiff>
                </GenNice35>
                <ModelPath tempBufferSizeMb="33" use="1" s2d="0" rng="1" rate="1" eng="10" dev="4" warp="2" quad="10">nice_imx06h_ldr_general_n_backward_bayer_x1.vdnn</ModelPath>
            </SingleModelInfo>
            <SingleMotionDetSwitchModelInfo>
                <UseClipMap>0</UseClipMap>
                <drcgianThd>0.0</drcgianThd>
                <digitZoomUp>0.0</digitZoomUp>
                <FrameMatchSuccessThd>0</FrameMatchSuccessThd>
                <UseVst hdrvstmode="2" clipinput="0" maxvalue="1" vstNormCoeff="1." avst="0" vstBaseISOMode="0">1</UseVst>
                <UseNoiseInfo>1</UseNoiseInfo>
                <NoiseInfo num='1' name='imx06h'>
                    <limitexp>35310</limitexp>
                    <coeff>1</coeff>
                    <Sensor01>
                        <a0>0.0000642589</a0>
                        <a1>-0.0004526739</a1>
                        <b0>0.0000000178</b0>
                        <b1>-0.0000092557</b1>
                        <b2>0.0346810730</b2>
                    </Sensor01>
                </NoiseInfo>
                <NoiseInfoFusionRaw num='1' name='imx06h_QUAD'>
                    <limitexp>28000</limitexp>
                    <coeff>1.3</coeff>
                    <Sensor01 >
                        <a0>0.0002305629</a0>
                        <a1>-0.0022983957</a1>
                        <b0>0.0000001007</b0>
                        <b1>-0.0000117768</b1>
                        <b2>0.0256574834</b2>
                    </Sensor01>
                </NoiseInfoFusionRaw>
                <!-- FrameTypeOrder ref='2' refn='2' clip='0' useawb='0'>1,1,1,1,1,0,3</FrameTypeOrder -->
				<FrameTypeOrderFusionRaw>1</FrameTypeOrderFusionRaw>
                <inputScale inputZep="0" inw="288" inh="288" num="5" numOfOrigin="4" numOfFusionRaw="1">0.000030518509447574615</inputScale>
                <outScale outZep="0">0.000040480848838342354</outScale>
                <ModelPath tempBufferSizeMb="69" use="1" s2d="0" rng="1" rate="2" eng="10" dev="4" warp="2" warpFR='20' quad="10">nice_imx06h_ldr_general_n_qbf_x2.vdnn</ModelPath>
            </SingleMotionDetSwitchModelInfo>
            <SingleDrcGainModelInfo>
                <UseClipMap>0</UseClipMap>
                <drcgianThd>2.5</drcgianThd>
                <digitZoomUp>0.99</digitZoomUp>
                <FrameMatchSuccessThd>0</FrameMatchSuccessThd>
                <UseVst hdrvstmode="1" clipinput="0" maxvalue="1" vstNormCoeff="1." avst="0" vstBaseISOMode="0">1</UseVst>
                <!-- FrameTypeOrder ref='2' refn='2' clip='0' useawb='0'>1,1,1,1,1,0,3</FrameTypeOrder -->
                <inputScale inputZep="0" inw="544" inh="544" num="4">0.000030518509447574615</inputScale>
                <outScale outZep="0">0.00003367973113199696</outScale>
                <GenNice35 description="Nice Gen 3.5 type model">
                    <use description="if set 0, the params below won't be set active. default, 0">1</use>
                    <isoInputCh description="add one more iso input channel; default, 1">1</isoInputCh>
                    <noiseDiff description="">
                        <use description="default, 1">0</use>
                        <blurWidth description="default, 5">5</blurWidth>
                        <blurHeight description="default, 5">5</blurHeight>
                        <blurSigma description="default, 0.5">0.5</blurSigma>
                        <applyWeight description="defualt, 1.0">1.0</applyWeight>
                    </noiseDiff>
                </GenNice35>
                <ModelPath tempBufferSizeMb="33" use="1" s2d="0" rng="1" rate="1" eng="10" dev="4" warp="2" quad="10">nice_imx06h_ldr_general_n_backward_bayer_x1.vdnn</ModelPath>
            </SingleDrcGainModelInfo>
        </ModelsInfo>
    </NormalConfig>
    <!-- hdr config  -->
    <HDRConfig description="hdr scene config">
        <PreBpsParam description="pre bps parameter">
            <!--0: none, 1: only for pretbps local, 2: only for prebps global, 4: only for postbps local, 5: only for postbps global, 6: vst and ivst (not support) -->
            <!--OpticalBlackCorrect use='0' method='0' description="local ob prameter file path">/vendor/camera3rd/nti/MainCamera/prebps_localobc.xml</OpticalBlackCorrect>
            <CodeFunc description="pre bps function code">512</CodeFunc-->
            <OpticalBlackCorrect use='1' method='2' description="local ob prameter file path">/vendor/camera3rd/nti/TeleCamera_imx06h/prebps_localobc_normal.xml</OpticalBlackCorrect>
    		<OpticalBlackCorrectHDR use='1' method='2' description="local ob prameter file path">/vendor/camera3rd/nti/TeleCamera_imx06h/prebps_localobc_hdr.xml</OpticalBlackCorrectHDR>
            <CodeFunc description="pre bps function code">2560</CodeFunc>
        </PreBpsParam>
        <NoiseInfoHDR num='1' name='imx06h'>
            <Sensor01>
                <a0>0.0000642589</a0>
                <a1>-0.0004526739</a1>
                <b0>0.0000000178</b0>
                <b1>-0.0000092557</b1>
                <b2>0.0346810730</b2>
            </Sensor01>
        </NoiseInfoHDR>
        <MotionDetForSwitchRefAndModels use="1" description="use motion detection to check the need to switch ref frame and model">
            <!-- <DesiredSwitchType description="intended switch ref and modles type, 0: from S-ref to N-ref, 1: from N-ref to S-ref">0</DesiredSwitchType> -->
            <EVGapThreshold description="if the real ev gap between N and S is larger than threshold, then N-ref will be given priority">3.0001</EVGapThreshold>
            <!-- <DetFocusOnBody description="motion det focus on body, 0: not-enable, 1: enable">0</DetFocusOnBody> -->
        </MotionDetForSwitchRefAndModels>
        <ImageAlign description="image align information">
            <FeatureTrack description="feature track information">
                <MaxCorners>1000</MaxCorners>
                <MaxCandidateCorners>32768</MaxCandidateCorners>
                <MinDistance>16</MinDistance>
                <HarrisK use='0'>0.04</HarrisK>
                <QualityLevel>0.01</QualityLevel>
            </FeatureTrack>
            <GlobalAlign description="global align information">
                <AlignCheckSetEyeMatIfPtsLow>1</AlignCheckSetEyeMatIfPtsLow>
                <MinPointsNum>50</MinPointsNum>
                <LKEpsilon>0.01</LKEpsilon>
                <LKMaxIter>20</LKMaxIter>
                <LKNumRatio>0.7</LKNumRatio>
                <RansacMaxIter>100</RansacMaxIter>
                <RansacConfidence>0.9950</RansacConfidence>
                <RansacThreshold>3</RansacThreshold>
                <UseRegion>0</UseRegion>
                <Ratio>0.5</Ratio>
                <SwitchRegionDigitalZoom>4</SwitchRegionDigitalZoom>
                <DeltaPad>32</DeltaPad>
                <RandomDisturbDigitalZoom use="1">1</RandomDisturbDigitalZoom>
                <HMat02_s_es>35.0</HMat02_s_es>
                <HMat12_s_es>35.0</HMat12_s_es>
                <Dual_s_n_AlignCheck>1</Dual_s_n_AlignCheck>
                <Dual_s_n_HMat02>50.0</Dual_s_n_HMat02>
                <Dual_s_n_HMat12>50.0</Dual_s_n_HMat12>
                <ReplaceEvmmWithEvm_alignCheck>1</ReplaceEvmmWithEvm_alignCheck>
                <ReplaceEvmmWithEvm_hmat02>1000.0</ReplaceEvmmWithEvm_hmat02>
                <ReplaceEvmmWithEvm_hmat12>1000.0</ReplaceEvmmWithEvm_hmat12>
            </GlobalAlign>
        </ImageAlign>
        <Overlap description="block overlap, default 16">16</Overlap>
        <OverlapThred description="overlap fusion thred">
            <OverlapDigitalZoomThredHDR description="overlap Digitalzoom thred">1.0</OverlapDigitalZoomThredHDR>
            <OverlapISOThreshHDR description="overlap ISO thred">49</OverlapISOThreshHDR>
        </OverlapThred>
        <ROIStrategy use='1'>
            <ROIUseType>2</ROIUseType>
            <UseRoiDigitZoom>1.0</UseRoiDigitZoom>
        </ROIStrategy>
        <PostBpsParam description="post bps parameter">
    		<!--CodeFunc description="post bps function code">8456</CodeFunc>
            <LTMCodeFunc description="ltm function code, 0, not ltm; 1, cvltm; 2, mtk ltm; 3, nice-tone">2</LTMCodeFunc-->
            <CodeFunc description="post bps function code">264</CodeFunc>
            <LTMCodeFunc description="ltm function code, 0, not ltm; 1, cvltm; 2, mtk ltm; 3, nice-tone">0</LTMCodeFunc>
            <ToneFunc>1</ToneFunc>
            <NormalNiceTMDigitalZoomTH>0</NormalNiceTMDigitalZoomTH>
            <NiceTMOnlyUsePortrait>2</NiceTMOnlyUsePortrait>
            <HightLightKeepAWBHDR>
                <use>0</use>
                <scaleratio>1.4</scaleratio>
                <DrcLowThresh>2.0</DrcLowThresh>
                <DrcHighThresh>3.5</DrcHighThresh>
                <LscSigma>0.4</LscSigma>
                <LscOffset>0.0</LscOffset>
            </HightLightKeepAWBHDR>
			<LscProcW>51</LscProcW>
			<LscProcH>39</LscProcH>
			<LscBlurRadius>1</LscBlurRadius>
        </PostBpsParam>
        <NiceTone description="nice-tone algorithm config" tnable="1">
            <ModelPath description="nice-tone model path">/vendor/camera3rd/nti/nice_tce/Model/</ModelPath>
            <XmlPath description="nice-tone xmlfile name">/vendor/camera3rd/nti/nice_tce</XmlPath>
            <SkysegConfigPath description="nice-tone SkysegConfigPath name">/vendor/camera3rd/nti/skyseg.xml</SkysegConfigPath>
            <SegmentjsonName description="nice-tone segment config path">/vendor/camera3rd/nti/aisegment_config.json</SegmentjsonName>
            <AllinoneXML description="nice-tone allinone config path">/vendor/camera3rd/nti/allinone2_0_config.xml</AllinoneXML>
            <SpeConfigPath description="spe xml path for txe">/vendor/camera3rd/nti/nice_spe/spe_config.xml</SpeConfigPath>
            <FaceDetConfigPath description="FaceDet config path for txe">/vendor/camera3rd/nti/fdcapture3_0/</FaceDetConfigPath>
            <OutlineConfigPath description="OutlineConfigPath config path for txe">/vendor/camera3rd/nti/outline/</OutlineConfigPath>
		</NiceTone>
    	<NetUseAllRefFrame use='0' description="use refFrame replace others">0.1</NetUseAllRefFrame>
        <UseRandNoise description="random noise swith, default 0">0</UseRandNoise>
        <LogDomainMax description="Max vaule in Log Domain Convert">17034.8</LogDomainMax>
        <BitWidthHDR description="hdr flow bitwidth, default 32">32</BitWidthHDR>
    	<HDRDoubleStream>1</HDRDoubleStream>
        <ModelsInfo descrption="hdr models info">
            <UseAnalogGainMethod>0</UseAnalogGainMethod>
            <GhostModelLuxIndexThd>1000</GhostModelLuxIndexThd>
            <GhostModelScene>0</GhostModelScene>
            <UseNormalModel isoMin="0">0</UseNormalModel>
            <polarAFInfo use="0">150,160,170,180,190,204,224,249,280,300,319,350,372,400,445</polarAFInfo>
            <SingleModelInfo>
                <UseClipMap>1</UseClipMap>
                <drcgianThd>0.0</drcgianThd>
                <digitZoomUp>0.0</digitZoomUp>
                <FrameMatchSuccessThd>0</FrameMatchSuccessThd>
                <VstBaseISOMode>0</VstBaseISOMode>
                <UseVst hdrvstmode="2" clipinput="0" maxvalue="1" vstNormCoeff="1." avst="0">1</UseVst>
                <FrameTypeOrder ref='2' refn='2' clip='0' useawb='0'>0,1,1,1,1,1,3</FrameTypeOrder>
                <inputScale inputZep="0" inw="544" inh="544" num="7">0.000030518509447574615</inputScale>
                <outScale outZep="0">0.00008737626194488257</outScale>
                <ModelPath tempBufferSizeMb="36" use="1" eng="10" dev="4" warp="2" swarp="6" oflg="1" usesqrtev="1" quad="10">nice_imx06h_hdr_motion_s_bayer_x1.vdnn</ModelPath>
            </SingleModelInfo>
            <SingleMotionDetSwitchModelInfo>
                <UseClipMap>0</UseClipMap>
                <drcgianThd>0.0</drcgianThd>
                <digitZoomUp>0.0</digitZoomUp>
                <FrameMatchSuccessThd>0</FrameMatchSuccessThd>
                <VstBaseISOMode>0</VstBaseISOMode>
                <LongFrameAlignFailedResetEvCoeff>1</LongFrameAlignFailedResetEvCoeff>
                <UseVst hdrvstmode="2" clipinput="0" maxvalue="1" vstNormCoeff="1." avst="0">1</UseVst>
                <FrameTypeOrder ref='2' refn='2' clip='0' useawb='0'>1,1,1,1,0,3,2</FrameTypeOrder>
				<FrameTypeOrderFusionRaw>1</FrameTypeOrderFusionRaw>
				<UseNoiseInfo>1</UseNoiseInfo>
                <NoiseInfo num='1' name='imx06h'>
                    <limitexp>35310</limitexp>
                    <coeff>1</coeff>
                    <Sensor01>
                        <a0>0.0000642589</a0>
                        <a1>-0.0004526739</a1>
                        <b0>0.0000000178</b0>
                        <b1>-0.0000092557</b1>
                        <b2>0.0346810730</b2>
                    </Sensor01>
                </NoiseInfo>
                <NoiseInfoFusionRaw num='1' name='imx06h_QUAD'>
                    <limitexp>28000</limitexp>
                    <coeff>1.3</coeff>
                    <Sensor01 >
                        <a0>0.0002305629</a0>
                        <a1>-0.0022983957</a1>
                        <b0>0.0000001007</b0>
                        <b1>-0.0000117768</b1>
                        <b2>0.0256574834</b2>
                    </Sensor01>
                </NoiseInfoFusionRaw>
                <inputScale inputZep="0" inw="288" inh="288" num="8" numOfOrigin="7" numOfFusionRaw="1">0.000030518509447574615</inputScale>
                <outScale outZep="0">0.00008737626194488257</outScale>
                <ModelPath tempBufferSizeMb="52" use="1" eng="10" dev="4" warp="2" swarp='6' warpFR='20' oflg='1' usesqrtev="1" quad="10" rate="2">nice_imx06h_hdr_general_n_qbf_x2.vdnn</ModelPath>
            </SingleMotionDetSwitchModelInfo>

        </ModelsInfo>
    </HDRConfig>
</NiceCREConfig>