Recent GAN-based image inpainting approaches adopt an average strategy to discriminate the generated image and output a scalar, which inevitably lose the position information of visual artifacts. Moreover, the adversarial loss and reconstruction loss (e.g., ℓ1 loss) are combined with tradeoff weights, which are also difficult to tune. In this paper, we propose a novel detection-based generative framework for image inpainting, which adopts the min-max strategy in an adversarial process. The generator follows an encoder-decoder architecture to fill the missing regions, and the detector using weakly supervised learning localizes the position of artifacts in a pixel-wise manner. Such position information makes the generator pay attention to artifacts and further enhance them. More importantly, we explicitly insert the output of the detector into the reconstruction loss with a weighting criterion, which balances the weight of the adversarial loss and reconstruction loss automatically rather than manual operation. Experiments on multiple public datasets show the superior performance of the proposed framework. The source code is available at https://github.com/Evergrow/GDN_Inpainting. 相似文献
The traditional space-invariant isotropic kernel utilized by a bilateral filter (BF) frequently leads to blurry edges and gradient reversal artifacts due to the existence of a large amount of outliers in the local averaging window. However, the efficient and accurate estimation of space-variant kernels which adapt to image structures, and the fast realization of the corresponding space-variant bilateral filtering are challenging problems. To address these problems, we present a space-variant BF (SVBF), and its linear time and error-bounded acceleration method. First, we accurately estimate spacevariant anisotropic kernels that vary with image structures in linear time through structure tensor and minimum spanning tree. Second, we perform SVBF in linear time using two error-bounded approximation methods, namely, low-rank tensor approximation via higher-order singular value decomposition and exponential sum approximation. Therefore, the proposed SVBF can efficiently achieve good edge-preserving results. We validate the advantages of the proposed filter in applications including: image denoising, image enhancement, and image focus editing. Experimental results demonstrate that our fast and error-bounded SVBF is superior to state-of-the-art methods.
The output enhancement of a green InGaN/GaN quantum-well (QW) light-emitting diode (LED) through the coupling of a QW with localized surface plasmons (LSPs), which are generated on Ag nanostructures on the top of the device, is demonstrated. The suitable Ag nanostructures for generating LSPs of resonance energies around the LED wavelength are formed by controlling the Ag deposition thickness and the post-thermal-annealing condition. With a 20?mA current injected onto the LED, enhancements of up to 150% in electroluminescence peak intensity and of 120% in integrated intensity are observed. By comparing this with a similar result for a blue LED previously published, it is confirmed that surface plasmon coupling for emission enhancement can be more effective for an InGaN/GaN QW of lower crystal quality, which normally corresponds to the emission of a longer wavelength. 相似文献
Typoselectivity of crude CBD-T1 lipase (Geobacillus sp. T1 lipase fused with a cellulose binding domain) was investigated. Multi-competitive reaction mixtures including a set of n-chain fatty acids (C8:0, C10:0, C12:0, C14:0, C18:1 n-9, C18:2 n-6 and C18:3 n-3) and tripalmitin-enriched triacylglycerols were studied in hexane. The crude CBD-T1 lipase discriminated strongly against C18:1 n-9 [competitive factor (α) = 0.23] and showed the highest preference for C8:0 (α = 1). Utilizing the catalytic properties of crude CBD-T1 lipase, acidolysis of soybean oil with C8:0 was selected as a model reaction to investigate the ability of the lipase to produce MLM-type (medium-long-medium) structured lipids. Several reaction parameters (added water amount, reaction temperature, substrate molar ratio and reaction time) examined for incorporating C8:0 into soybean oil, the optimum conditions were: 1:3 (soybean oil/C8:0) of molar ratio, 3 mL of hexane, 50 °C of temperature, 48 h of reaction time, 20 % of crude CBD-T1 lipase (w/w total substrates), and 7.5 % of water (w/w enzyme). Under these conditions, the incorporation of C8:0 was 29.6 mol%. The results suggest that crude CBD-T1 lipase, which showed different fatty acid specificity profiles, is a potential biocatalyst for the modification of fats and oils. 相似文献