Soft Segmentation for Comparative Image Editing Anna Regina Corbo

Luiz Velho

Instituto Nacional de Matem´atica Pura e Aplicada Visgraf Laboratory {corbo, lvelho}@impa.br Abstract We present a new tool for comparative image editing of HDR and LDR images that preserves edges by doing a soft segmentation. The user selects with strokes different regions to be modified and has control over all the regions simultaneously making adjustments in parameters such as saturation, contrast and exposure. The final mask that maps those regions preserves the most important transformation areas and the smoothness of transitional regions.

1. Introduction The use of digital cameras and image editing applications has gained popularity, therefore the demand for advanced tools has increased. In this context, one of the most common editing operations consists in the modification of tonal parameters such as saturation, contrast, color temperature or exposure over some specific region of the image. Available tecniques just make tonal value adjustments globally and to make local adjustments it is necessary to carefully select regions or hand-paint layer masks. Local adjustments require the segmentation of the region of interest in the image. There are many segmentation algorithms in the literature, but in most of them the image segmentation is based only on edge-preserving methods. Our work is closely inspired by the work of Lischinski et al. [2] and Levin et al. [1]. They developed a tool for local adjustments of tonal values where the user indicates the region of interest by drawing some strokes and indicates how and what are the parameters to be adjusted. The effects are interpolated to the entire image, but only regions similar the original one are changed. Here, we extend this method for handing multiple regions in an image based on a Partition of Unity segmentation. These areas are treated as unit parts where the sum of all the transformations are one. Our method preserves region characteristics while allowing the user to do different

local adjustments of tonal values over multiple regions in parallel only changing the parameter values. The tool has produced good results for HDR radiance maps and for LDR ordinary images, where multiple regions were simultaneously adjusted without loosing the global smoothness. There, after choosing an HDR radiance map or an ordinary LDR image, the user indicates with strokes the different areas in the image that will be modified and, for each selected area, adjusts the parameter values as desired until satisfactory results. Figure 1 shows the workflow of our tool described in section 2 and an example result.

2. Comparative Image Editing 2.1. Soft Segmentation and Local Editing When a stroke is done, it means that the region next to it will be modified. If a pixel x is similar to a pixel x ¯ marked then pixel x will be selected too. The similarity criteria are based on an appropriate metric. If f is the scalar function that specifies how the parameter P will be adjusted in each pixel, it is desirable that f is close to user specifications and that f is as smooth as possible. In these cases, f can be described as a quadratic functional expressed as: X X f = argminf { w(x)(f (x)−g(x))2 +λ h(∇f, ∇L)} x

x

Minimizing this functional is the same as solving the linear system Af = b, where bi = wi gi , and  −λ(kLi − Lj kα + ε)−1 , j ∈ N4 (i);      P wi − k∈N4 (i) Aik , i = j; Aij =      0, otherwise. Here, the indices i, j represent pixels i and j in the image and N4 (i) are the 4-neighbors of pixel i; λ, α, ε are constants; Li is the log-luminace channel in pixel i; gi is

the value of user’s specification of adjustment in pixel i and wi is the weight function calculated in pixel i, according to the choosen metric.

2.2. Editing over Multiple Regions In our approach, for each stroke s a mask Ms is calculated using the method described in section 2.1. The mask that allows the image multiple control is done by an inter¯ as above. polation M Taking an image as a unit, each region stroked will be a complementary unit part. If two stokes are done, then two masks, M1 and M2 , are calculated. The interpolation mask is done by a sum of two masks M10 and M20 , where for each pixel x,

(a)

M10 (x) = M1 (x) M20 (x) = (1 − M1 )(x) · M2 (x) i.e, M20 is a subset of the inverse of M10 . In this way, where the larger M10 adjustments were done, pratically no change will be made by M20 . Then the most important adjustments will be conserved. The value of a pixel x in the interpolation mask M12 is given by ¯ 12 (x) = M10 (x) + M20 (x) M

(b)

This method preserves the local adjustments, keeping the smoothness of the original transitional areas and can be used in the same way for n different selected regions, where: ¯ = M

n X

Mi0 ≈ 1.

i=1

When the user adjusts a region R, the corresponding ¯ . This opmask MR is adjusted and so is the global mask M eration preserves the main adjustments made by the other masks. The result is a soft partition of unit, preserving weights defined by the original strokes. The results may differ according to the order of mask insertion in the partition of unit structure. This feature allows the user to define which are the dominant adjustments to be made in the image. Moreover, different options of structure can be precomputed, making possible for users to apply the masks in different orders and then choose the one which has the best results.

3. Conclusion The presented technique is based on a stroke-based interface where the user selects areas of interest and a simple method to calculate the soft layer-masks of adjustments. A simple interpolation is done, supposing that for each main change there is a region in the image that is predominant.

(c) Figure 1. a) Original image with strokes; b) Combination mask; c) Result. (Synagogue image by The Hebrew University)

In future work, we would like to test other kinds of interpolations such as a non-linear mean, where the pixels with larger weight could be more representative than pixels in transitional regions. Moreover, we would like to create a interface where the user will be able to see in real time a preview of his adjustments while stroking.

References [1] A. Levin, D. Lischinski, and Y. Weiss. Colorization using optimization. ACM Transactions on Graphics, 23(3):689–694, 2004. [2] D. Lischinski, Z. Farbman, M. Uyttendaele, and R. Szeliski. Interactive local adjustment of tonal values. Proceedings of SIGGRAPH 2006, 25:646–653, 2006.

Soft Segmentation for Comparative Image Editing

or an ordinary LDR image, the user indicates with strokes the different areas in the image that will be modified and, for each selected area, adjusts the parameter values as de- sired until satisfactory results. Figure 1 shows the workflow of our tool described in section 2 and an example result. 2. Comparative Image Editing.

843KB Sizes 1 Downloads 207 Views

Recommend Documents

Validation Tools for Image Segmentation
A large variety of image analysis tasks require the segmentation of various regions in an image. ... In this section, we first describe the data of the experiments.

Microsoft image editing help sheet.pdf
Sign in. Loading… Whoops! There was a problem loading more pages. Retrying... Whoops! There was a problem previewing this document. Retrying.

Invertible Conditional GANs for image editing - Computer Vision Center
with a cGAN, which we call Invertible cGAN (IcGAN), enables to re-generate real ..... Generative Adversarial Networks,” International Conference on Learning ...

NOVEL METHOD FOR SAR IMAGE SEGMENTATION ...
1. INTRODUCTION. With the emergency of well-developed Synthetic Aperture. Radar (SAR) technologies, SAR image processing techniques have gained more and more attention in recent years, e.g., target detection, terrain classification and etc. As a typi

Image segmentation approach for tacking the object: A Survey ... - IJRIT
Identification: Colour is a power description tool, for example, the red apple versus the ..... Conference on Pattern Recognition., Quebec City, Canada, volume IV, ...

man-15\matlab-code-for-image-segmentation-pdf.pdf
man-15\matlab-code-for-image-segmentation-pdf.pdf. man-15\matlab-code-for-image-segmentation-pdf.pdf. Open. Extract. Open with. Sign In. Main menu.

SoftCuts: A Soft Edge Smoothness Prior for Color Image Super ...
May 21, 2009 - trical Engineering and Computer Science, Northwestern University, Evanston,. IL 60208 USA ... Color versions of one or more of the figures in this paper are available online ..... The top left image is the input, the other five ...

SoftCuts: A Soft Edge Smoothness Prior for Color Image Super ...
May 21, 2009 - trical Engineering and Computer Science, Northwestern University, Evanston, ...... Ph.D. degree in the Electrical Engineering and Com-.

Remote Sensing Image Segmentation By Combining Spectral.pdf ...
Loading… Whoops! There was a problem loading more pages. Whoops! There was a problem previewing this document. Retrying... Download. Connect more apps... Remote Sensin ... Spectral.pdf. Remote Sensing ... g Spectral.pdf. Open. Extract. Open with. S

A Soft Edge Smoothness Prior for Color Image Super-Resolution
May 21, 2009 - and unsupervised solution for by the spectral clustering tech- nique. Thus ...... from the Georgia Institute of Technology, Atlanta, in. 1981 and ...

Outdoor Scene Image Segmentation Based On Background.pdf ...
Outdoor Scene Image Segmentation Based On Background.pdf. Outdoor Scene Image Segmentation Based On Background.pdf. Open. Extract. Open with.

Image segmentation approach for tacking the object: A Survey ... - IJRIT
Identification: Colour is a power description tool, for example, the red apple versus the brown ..... Code available at http://www.cis.upenn.edu/˜jshi/software/.

A Soft Edge Smoothness Prior for Color Image Super-Resolution
Apr 10, 2009 - borhood system represented by a set of vectors. , where is the neighborhood order, and the. 's are chosen as the relative position (taking integer values as its components, and the unit is the grid interval) of the nearest neighbors wi

Segmentation-based CT image compression
The existing image compression standards like JPEG and JPEG 2000, compress the whole image as a single frame. This makes the system simple but ...

Comparative Study of Reversible Image ...
Hiren R. Soni , IJRIT. 161. IJRIT International Journal of Research in Information Technology, Volume 1, Issue 4, April 2013, Pg. 31-37. International Journal of ...

Comparative Study of Reversible Image Watermarking: Fragile ...
Status and Key Issues", International Journal of Network Security, Vol.2, No.3, PP.161–171, May 2006. [9] Ingemar J. Cox, Matthew L. Miller, Jeffrey A. Bloom, ...

Comparative Study of Reversible Image Watermarking: Fragile ...
1 PG Student, Department of Electronics and Communication, Gujarat ... this paper is to define the purpose of reversible watermarking, reflecting recent progress ...