วันเสาร์ที่ 20 มิถุนายน พ.ศ. 2558

Smoothing Image with Opencv-python

2D Convolution ( Image Filtering )

import cv2
import numpy as np
from matplotlib import pyplot as plt
img = cv2.imread('submarine.jpg')
kernel = np.ones((5,5),np.float32)/25
dst = cv2.filter2D(img,-1,kernel)

plt.subplot(121),plt.imshow(img),plt.title('Original')
plt.xticks([]), plt.yticks([])
plt.subplot(122),plt.imshow(dst),plt.title('Averaging')
plt.xticks([]), plt.yticks([])
plt.show()
สั่งรันแล้วได้ผลดังภาพ


Image Blurring (Image Smoothing)

import
cv2import numpy as np

from matplotlib import pyplot as plt
img = cv2.imread('submarine.jpg')
blur = cv2.blur(img,(5,5))
plt.subplot(121),plt.imshow(img),plt.title('Original')plt.xticks([]), plt.yticks([])
plt.subplot(122),plt.imshow(blur),plt.title('Blurred')
plt.xticks([]), plt.yticks([])
plt.show()


สั่งรันแล้วได้ผล ดังนี้


Gaussian Filtering

import cv2import numpy as np

from matplotlib import pyplot as pltimg = cv2.imread('submarine.jpg')

blur = cv2.GaussianBlur(img,(5,5),0)

plt.subplot(121),plt.imshow(img),plt.title('Original')

plt.xticks([]), plt.yticks([])

plt.subplot(122),plt.imshow(blur),plt.title('Blurred')

plt.xticks([]), plt.yticks([])

plt.show()

สั่งรันแล้วได้ผลดังภาพ

วันศุกร์ที่ 19 มิถุนายน พ.ศ. 2558

Image Processing on Ubutu 15.04 with Python & Opencv

      จากประสบการณ์ที่ติดตั้งระบบปฏิบัติการลินุกซ์หลายตระกูล และทดลองติดตั้งภาษาและไลบรารีสำหรับการประมวลผลภาพดิจิตอล พบว่า แต่ละภาษาและไลบรารีมีข้อจำกัดและมีความสามารถในการประมวลผลต่างกัน  ผู้เขียนเคยประมวลผลภาพดิจิตอลด้วยภาษา Python โดยใช้
ไลบรารีและแพคเกจต่าง ๆ เช่น Python Image Library, Scipy, Numpy และ Matplotlib ต่อมาได้ลอง
ประมวลผลด้วยภาษา Python และ Opencv สามารถใข้งานได้เป็นอย่างดี อีกทั้งสามารถใช้งาน
ร่วมกับ Scipy, Numpy และ Matplotlib ได้อย่างมีประสิทธิภาพ


        การติดติ้ง Opencv บนระบบปฏิบัติการลินุกซ์ Ubuntu ก็ทำได้ง่าย สามารถติดตั้งออนไลน์ได้เหมือนแพคเกจ หรือไลบรารีอื่น ๆ
         การติดตั้งใช้ Superuser หรือ root account ติดตั้งด้วยคำสั่ง

        apt-get install libopencv-dev python-opencv

        เพียงเท่านี้เราก็สามารถใช้งานภาษา Python ประมวลผลภาพร่วมกับแพคเกจ Opencv ได้แล้ว

        ตัวอย่างการเขียนโปรแกรม

1.  การเปิดและแสดงไฟล์ภาพ

ไฟล์ open.py

from cv2.cv import *
img = LoadImage("submarine.jpg")
NamedWindow("opencv")
ShowImage("opencv",img)
WaitKey(0)


สั่งรันด้วยคำสั่ง python open.py บน terminal  ได้ผลดังภาพข้างล่างนี้




2.  Canny Edge detection

import cv2
import numpy as np
from matplotlib import pyplot as plt

img = cv2.imread('submarine.jpg',0)
edges = cv2.Canny(img,100,200)

plt.subplot(121),plt.imshow(img,cmap = 'gray')
plt.title('Original Image'), plt.xticks([]), plt.yticks([])
plt.subplot(122),plt.imshow(edges,cmap = 'gray')
plt.title('Edge Image'), plt.xticks([]), plt.yticks([])

plt.show()

สั่งรันได้ผลดังภาพข้างล่างนี้


3.  Threshold

import cv2
import numpy as np
from matplotlib import pyplot as plt

img = cv2.imread('submarine.jpg',0)
ret,thresh1 = cv2.threshold(img,127,255,cv2.THRESH_BINARY)
ret,thresh2 = cv2.threshold(img,127,255,cv2.THRESH_BINARY_INV)
ret,thresh3 = cv2.threshold(img,127,255,cv2.THRESH_TRUNC)
ret,thresh4 = cv2.threshold(img,127,255,cv2.THRESH_TOZERO)
ret,thresh5 = cv2.threshold(img,127,255,cv2.THRESH_TOZERO_INV)

thresh = ['img','thresh1','thresh2','thresh3','thresh4','thresh5']

for i in xrange(6):
    plt.subplot(2,3,i+1),plt.imshow(eval(thresh[i]),'gray')
    plt.title(thresh[i])

plt.show()


สั่งรันแล้วได้ผลดังภาพ


        จะเห็นได้ว่า Opencv สามารถใช้งานร่วมกับ Scipy, Numpy, Matplotlib ในการประมวลผลภาพ
ดิจิตอลด้วยภาษา Python ได้เป็นอย่างดี เพื่อเปรียบเทียบกับภาษา Java หรือภาษา  C, C++ 
ภาษา Python จะเขียนด้วยไวยากรณืที่สั้นกว่า







วันอาทิตย์ที่ 3 พฤษภาคม พ.ศ. 2558

Debian 8.0

ออกมาหลายวันแล้วสำหรับ Debian 8.0 เพิ่งมีโอกาสโหลดมาติตั้งแทนที่ Debian 7.8 ที่ออกมาไม่กี่เดือน  ลองชมหน้าตากันเลยครับ



รายละเอียดของแพคเกจต่าง ๆ ที่มาพร้อมกับ Debian 8.0 มีดังนี้

This release includes numerous updated software packages, such as:
  • Apache 2.4.10
  • Asterisk 11.13.1
  • GIMP 2.8.14
  • an updated version of the GNOME desktop environment 3.14
  • GNU Compiler Collection 4.9.2
  • Icedove 31.6.0 (an unbranded version of Mozilla Thunderbird)
  • Iceweasel 31.6.0esr (an unbranded version of Mozilla Firefox)
  • KDE Plasma Workspaces and KDE Applications 4.14.2
  • LibreOffice 4.3.3
  • Linux 3.16.7-ckt9
  • MariaDB 10.0.16 and MySQL 5.5.42
  • Nagios 3.5.1
  • OpenJDK 7u75
  • Perl 5.20.2
  • PHP 5.6.7
  • PostgreSQL 9.4.1
  • Python 2.7.9 and 3.4.2
  • Samba 4.1.17
  • Tomcat 7.0.56 and 8.0.14
  • Xen Hypervisor 4.4.1
  • the Xfce 4.10 desktop environment
  • more than 43,000 other ready-to-use software packages, built from nearly 20,100 source packages.
เห็นหน้าตาแล้วก็เลือกติดตั้งเพื่อการใช้งานให้เหมาะกับความต้องการกันเลยนะครับ

วันพฤหัสบดีที่ 5 กุมภาพันธ์ พ.ศ. 2558

Image Processing with Java on Ubutu 14.10

File GrayScale.java


import java.awt.*;
import java.awt.image.BufferedImage;

import java.io.*;

import javax.imageio.ImageIO;
import javax.swing.JFrame;

public class GrayScale {

   BufferedImage  image;
   int width;
   int height;
   
   public GrayScale() {
   
      try {
         File input = new File("submarine.jpg");
         image = ImageIO.read(input);
         width = image.getWidth();
         height = image.getHeight();
         
         for(int i=0; i<height; i++){
         
            for(int j=0; j<width; j++){
            
               Color c = new Color(image.getRGB(j, i));
               int red = (int)(c.getRed() * 0.299);
               int green = (int)(c.getGreen() * 0.587);
               int blue = (int)(c.getBlue() *0.114);
               Color newColor = new Color(red+green+blue,
               
               red+green+blue,red+green+blue);
               
               image.setRGB(j,i,newColor.getRGB());
            }
         }
         
         File ouptut = new File("grayscale_submarine.jpg");
         ImageIO.write(image, "jpg", ouptut);
         
      } catch (Exception e) {}
   }
   
   static public void main(String args[]) throws Exception 
   {
      GrayScale obj = new GrayScale();
   }
}



submarine@submarine:~/images$ ls
GrayScale.java  lena.png  submarine.jpg

สั่งคอมไพล์โปรแกรม

submarine@submarine:~/images$ javac GrayScale.java

คอมไพล์สำเร็จ

submarine@submarine:~/images$ ls
GrayScale.class  GrayScale.java  lena.png  submarine.jpg

สั่งรันโปรแกรม

submarine@submarine:~/images$ java GrayScale

แสดงผลลัพธ์จากการรันโปรแกรม

submarine@submarine:~/images$ ls
GrayScale.class  GrayScale.java  grayscale_submarine.jpg  lena.png  submarine.jpg
submarine@submarine:~/images$

วันอังคารที่ 27 มกราคม พ.ศ. 2558

Image Processing with Java on Ubuntu Gnome 15.04

         ผมเคยเขียนบทความง่าย ๆ เกี่ยวกับ Image Processing บน Linux ด้วยภาษา Python
 โดยใช้ชุดโปรแกรม (Library) สำหรับการประมวลผลภาพ คือ Python Image Library มาแล้ว
แต่ไม่เคยลองเขียนโปรแกรมประมวลผลภาพด้วยภาษา Java สักครั้ง  วันนี้ติดตั้งภาษา Java
บน Ubuntu Gnome 15.04 แล้วเลยลองเขียนโปรแกรมประมวผลภาพด้วยภาษา Java
        ก่อนอื่นต้องติดตั้งภาษา Java และ Compiler ก่อน  ผมเลือกติดตั้ง Oracle Java 8 ตาม
ตัวอย่าง http://www.webupd8.org/2012/09/install-oracle-java-8-in-ubuntu-via-ppa.html หลัง
ติดตั้งตรวจสอบว่าเรามี Java และ Compiler ใช้งานด้วยคำสั่ง ดังตัวอย่าง

submarine@submarine:~$ java -version
java version "1.8.0_31"
Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode)
submarine@submarine:~$ 


submarine@submarine:~$ javac -version
javac 1.8.0_31
submarine@submarine:~$ 
submarine@submarine:~$ 


submarine@submarine:~$ cd images/
submarine@submarine:~/images$ 

submarine@submarine:~/images$ nano MyFirstJavaProgram.java

public class MyFirstJavaProgram{
/* This is my first java program.
 * This will print 'Hello World' as the output
 */
 public static void main(String[]args){
System.out.println("Hello World  ทดสอบภาษาไทยครับ,,,");// prints Hello World
}
}


submarine@submarine:~/images$ javac MyFirstJavaProgram.java 
submarine@submarine:~/images$ 
submarine@submarine:~/images$ java MyFirstJavaProgram 
Hello World  ทดสอบภาษาไทยครับ,,,






import java.awt.*;
import java.awt.image.BufferedImage;

import java.io.*;

import javax.imageio.ImageIO;
import javax.swing.JFrame;

public class GrayScale {

   BufferedImage  image;
   int width;
   int height;
 
   public GrayScale() {
 
      try {
         File input = new File("submarine.jpg");
         image = ImageIO.read(input);
         width = image.getWidth();
         height = image.getHeight();
       
         for(int i=0; i<height; i++){
       
            for(int j=0; j<width; j++){
         
               Color c = new Color(image.getRGB(j, i));
               int red = (int)(c.getRed() * 0.299);
               int green = (int)(c.getGreen() * 0.587);
               int blue = (int)(c.getBlue() *0.114);
               Color newColor = new Color(red+green+blue,
             
               red+green+blue,red+green+blue);
             
               image.setRGB(j,i,newColor.getRGB());
            }
         }
       
         File ouptut = new File("submarine1.jpg");
         ImageIO.write(image, "jpg", ouptut);
       
      } catch (Exception e) {}
   }
 
   static public void main(String args[]) throws Exception
   {
      GrayScale obj = new GrayScale();
   }
}

OpenSUSE 13.2 on My Laptop Acer Aspire E5 Pentium(R) 2.16 GHz




วันจันทร์ที่ 19 มกราคม พ.ศ. 2558

ติดตั้งภาษา Java บน OpenSUSE 13.2 ด้วย Yast


       ภาษา Java เป็นภาษาคอมพิวเตอร์ชั้นสูง เป็นภาษาสคริปต์นิยมใช้เขียนโปรแกรมเชิงวัตถุ
บนระบบปฏิบัติการ OpenSUSE ได้ติดตั้งภาษา Java เวอร์ชั่น 1.8 มาเป็นค่าเริ่มต้น ขาดแต่
โปรแกรมภาษา Java ที่เป็นตัวแปลภาษา (Compiler) หากต้องการเขียนดปรแกรมภาษา Java
จะต้องติดตั้งเพิ่มเติม
        ในบทความนี้ผู้เขียนจะติด jAVA Compiler 1.8.0.40 โดยใช้ Yast ซึ่งเป็นเครื่องมือในการจัดการ
ระบบของ OpenSUSE ลองทำดังนี้  

       ตรวจสอบเวอร์ชั่นของภาษา Java

submarine@Sotharavej:~> java -version
openjdk version "1.8.0_40"
OpenJDK Runtime Environment (build 1.8.0_40-b10)
OpenJDK 64-Bit Server VM (build 25.40-b14, mixed mode)

          ตรวจสอบการติดตั้ง Java compiler ด้วยคำสั่ง javac -version

submarine@Sotharavej:~> javac -version
If 'javac' is not a typo you can use command-not-found to lookup the package that contains it, like this:
    cnf javac

        พบว่ายังไม่มีการติดตั้ง








submarine@Sotharavej:~> javac -version
If 'javac' is not a typo you can use command-not-found to lookup the package that contains it, like this:
    cnf javac
submarine@Sotharavej:~> javac -version
javac 1.8.0_40
submarine@Sotharavej:~>




submarine@Sotharavej:~> cd Java/
submarine@Sotharavej:~/Java> nano HelloWorld.java

public class HelloWorld {
   public static void main(String[] args) {
      System.out.println("Hello, World ทดสอบภาษาไทยด้วยครับ");
   }
}

submarine@Sotharavej:~/Java> javac HelloWorld.java
submarine@Sotharavej:~/Java> java HelloWorld

Hello, World ทดสอบภาษาไทยด้วยครับ

submarine@Sotharavej:~/Java>










วันศุกร์ที่ 16 มกราคม พ.ศ. 2558

Upgrade CentOS

[submarine@CentOS66 ~]$ su
Password:
[root@CentOS66 submarine]# uname -a
Linux CentOS66.srichaj.com 2.6.32-504.el6.i686 #1 SMP Wed Oct 15 03:02:07 UTC 2014 i686 i686 i386 GNU/Linux
[root@CentOS66 submarine]#
[root@CentOS66 submarine]# lsb_release -a
LSB Version:    :base-4.0-ia32:base-4.0-noarch:core-4.0-ia32:core-4.0-noarch:graphics-4.0-ia32:graphics-4.0-noarch:printing-4.0-ia32:printing-4.0-noarch
Distributor ID:    CentOS
Description:    CentOS release 6.6 (Final)
Release:    6.6
Codename:    Final
[root@CentOS66 submarine]#
[root@CentOS66 submarine]#



 [root@CentOS66 submarine]# yum update
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Update Process
Determining fastest mirrors
 * base: mirrors.hosting.in.th
 * extras: mirrors.hosting.in.th
 * updates: mirrors.hosting.in.th
Resolving Dependencies
--> Running transaction check
---> Package at.i686 0:3.1.10-43.el6_2.1 will be updated
---> Package at.i686 0:3.1.10-44.el6_6.2 will be an update
---> Package autofs.i686 1:5.0.5-109.el6 will be updated
---> Package autofs.i686 1:5.0.5-109.el6_6.1 will be an update
---> Package bind-libs.i686 32:9.8.2-0.30.rc1.el6 will be updated
---> Package bind-libs.i686 32:9.8.2-0.30.rc1.el6_6.1 will be an update
---> Package bind-utils.i686 32:9.8.2-0.30.rc1.el6 will be updated
---> Package bind-utils.i686 32:9.8.2-0.30.rc1.el6_6.1 will be an update
---> Package curl.i686 0:7.19.7-37.el6_5.3 will be updated
---> Package curl.i686 0:7.19.7-40.el6_6.3 will be an update
---> Package cyrus-sasl.i686 0:2.1.23-15.el6 will be updated
---> Package cyrus-sasl.i686 0:2.1.23-15.el6_6.1 will be an update
---> Package cyrus-sasl-gssapi.i686 0:2.1.23-15.el6 will be updated
---> Package cyrus-sasl-gssapi.i686 0:2.1.23-15.el6_6.1 will be an update
---> Package cyrus-sasl-lib.i686 0:2.1.23-15.el6 will be updated
---> Package cyrus-sasl-lib.i686 0:2.1.23-15.el6_6.1 will be an update
---> Package cyrus-sasl-md5.i686 0:2.1.23-15.el6 will be updated
---> Package cyrus-sasl-md5.i686 0:2.1.23-15.el6_6.1 will be an update
---> Package cyrus-sasl-plain.i686 0:2.1.23-15.el6 will be updated
---> Package cyrus-sasl-plain.i686 0:2.1.23-15.el6_6.1 will be an update
---> Package device-mapper.i686 0:1.02.90-2.el6 will be updated
---> Package device-mapper.i686 0:1.02.90-2.el6_6.1 will be an update
---> Package device-mapper-event.i686 0:1.02.90-2.el6 will be updated
---> Package device-mapper-event.i686 0:1.02.90-2.el6_6.1 will be an update
---> Package device-mapper-event-libs.i686 0:1.02.90-2.el6 will be updated
---> Package device-mapper-event-libs.i686 0:1.02.90-2.el6_6.1 will be an update
---> Package device-mapper-libs.i686 0:1.02.90-2.el6 will be updated
---> Package device-mapper-libs.i686 0:1.02.90-2.el6_6.1 will be an update
---> Package firefox.i686 0:31.1.0-5.el6.centos will be updated
---> Package firefox.i686 0:31.4.0-1.el6.centos will be an update
---> Package glibc.i686 0:2.12-1.149.el6 will be updated
---> Package glibc.i686 0:2.12-1.149.el6_6.4 will be an update
---> Package glibc-common.i686 0:2.12-1.149.el6 will be updated
---> Package glibc-common.i686 0:2.12-1.149.el6_6.4 will be an update
---> Package glibc-devel.i686 0:2.12-1.149.el6 will be updated
---> Package glibc-devel.i686 0:2.12-1.149.el6_6.4 will be an update
---> Package glibc-headers.i686 0:2.12-1.149.el6 will be updated
---> Package glibc-headers.i686 0:2.12-1.149.el6_6.4 will be an update
---> Package initscripts.i686 0:9.03.46-1.el6.centos will be updated
---> Package initscripts.i686 0:9.03.46-1.el6.centos.1 will be an update
---> Package iproute.i686 0:2.6.32-32.el6_5 will be updated
---> Package iproute.i686 0:2.6.32-33.el6_6 will be an update
---> Package jasper-libs.i686 0:1.900.1-15.el6_1.1 will be updated
---> Package jasper-libs.i686 0:1.900.1-16.el6_6.2 will be an update
---> Package java-1.6.0-openjdk.i686 1:1.6.0.0-11.1.13.4.el6 will be updated
---> Package java-1.6.0-openjdk.i686 1:1.6.0.33-1.13.5.1.el6_6 will be an update
---> Package java-1.7.0-openjdk.i686 1:1.7.0.65-2.5.1.2.el6_5 will be updated
---> Package java-1.7.0-openjdk.i686 1:1.7.0.71-2.5.3.2.el6_6 will be an update
---> Package kernel.i686 0:2.6.32-504.3.3.el6 will be installed
---> Package kernel-firmware.noarch 0:2.6.32-504.el6 will be updated
---> Package kernel-firmware.noarch 0:2.6.32-504.3.3.el6 will be an update
---> Package kernel-headers.i686 0:2.6.32-504.el6 will be updated
---> Package kernel-headers.i686 0:2.6.32-504.3.3.el6 will be an update
---> Package kpartx.i686 0:0.4.9-80.el6 will be updated
---> Package kpartx.i686 0:0.4.9-80.el6_6.2 will be an update
---> Package libXfont.i686 0:1.4.5-3.el6_5 will be updated
---> Package libXfont.i686 0:1.4.5-4.el6_6 will be an update
---> Package libcurl.i686 0:7.19.7-37.el6_5.3 will be updated
---> Package libcurl.i686 0:7.19.7-40.el6_6.3 will be an update
---> Package libipa_hbac.i686 0:1.11.6-30.el6 will be updated
---> Package libipa_hbac.i686 0:1.11.6-30.el6_6.3 will be an update
---> Package libipa_hbac-python.i686 0:1.11.6-30.el6 will be updated
---> Package libipa_hbac-python.i686 0:1.11.6-30.el6_6.3 will be an update
---> Package libsss_idmap.i686 0:1.11.6-30.el6 will be updated
---> Package libsss_idmap.i686 0:1.11.6-30.el6_6.3 will be an update
---> Package libxml2.i686 0:2.7.6-14.el6_5.2 will be updated
---> Package libxml2.i686 0:2.7.6-17.el6_6.1 will be an update
---> Package libxml2-python.i686 0:2.7.6-14.el6_5.2 will be updated
---> Package libxml2-python.i686 0:2.7.6-17.el6_6.1 will be an update
---> Package lvm2.i686 0:2.02.111-2.el6 will be updated
---> Package lvm2.i686 0:2.02.111-2.el6_6.1 will be an update
---> Package lvm2-libs.i686 0:2.02.111-2.el6 will be updated
---> Package lvm2-libs.i686 0:2.02.111-2.el6_6.1 will be an update
---> Package mailx.i686 0:12.4-7.el6 will be updated
---> Package mailx.i686 0:12.4-8.el6_6 will be an update
---> Package mdadm.i686 0:3.3-6.el6 will be updated
---> Package mdadm.i686 0:3.3-6.el6_6.1 will be an update
---> Package net-snmp.i686 1:5.5-49.el6_5.3 will be updated
---> Package net-snmp.i686 1:5.5-50.el6_6.1 will be an update
---> Package net-snmp-libs.i686 1:5.5-49.el6_5.3 will be updated
---> Package net-snmp-libs.i686 1:5.5-50.el6_6.1 will be an update
---> Package nss.i686 0:3.16.1-14.el6 will be updated
---> Package nss.i686 0:3.16.2.3-3.el6_6 will be an update
---> Package nss-softokn.i686 0:3.14.3-17.el6 will be updated
---> Package nss-softokn.i686 0:3.14.3-19.el6_6 will be an update
---> Package nss-softokn-freebl.i686 0:3.14.3-17.el6 will be updated
---> Package nss-softokn-freebl.i686 0:3.14.3-19.el6_6 will be an update
---> Package nss-sysinit.i686 0:3.16.1-14.el6 will be updated
---> Package nss-sysinit.i686 0:3.16.2.3-3.el6_6 will be an update
---> Package nss-tools.i686 0:3.16.1-14.el6 will be updated
---> Package nss-tools.i686 0:3.16.2.3-3.el6_6 will be an update
---> Package nss-util.i686 0:3.16.1-3.el6 will be updated
---> Package nss-util.i686 0:3.16.2.3-2.el6_6 will be an update
---> Package ntp.i686 0:4.2.6p5-1.el6.centos will be updated
---> Package ntp.i686 0:4.2.6p5-2.el6.centos will be an update
---> Package ntpdate.i686 0:4.2.6p5-1.el6.centos will be updated
---> Package ntpdate.i686 0:4.2.6p5-2.el6.centos will be an update
---> Package openssh.i686 0:5.3p1-104.el6 will be updated
---> Package openssh.i686 0:5.3p1-104.el6_6.1 will be an update
---> Package openssh-askpass.i686 0:5.3p1-104.el6 will be updated
---> Package openssh-askpass.i686 0:5.3p1-104.el6_6.1 will be an update
---> Package openssh-clients.i686 0:5.3p1-104.el6 will be updated
---> Package openssh-clients.i686 0:5.3p1-104.el6_6.1 will be an update
---> Package openssh-server.i686 0:5.3p1-104.el6 will be updated
---> Package openssh-server.i686 0:5.3p1-104.el6_6.1 will be an update
---> Package openssl.i686 0:1.0.1e-30.el6 will be updated
---> Package openssl.i686 0:1.0.1e-30.el6_6.4 will be an update
---> Package perl.i686 4:5.10.1-136.el6 will be updated
---> Package perl.i686 4:5.10.1-136.el6_6.1 will be an update
---> Package perl-CGI.i686 0:3.51-136.el6 will be updated
---> Package perl-CGI.i686 0:3.51-136.el6_6.1 will be an update
---> Package perl-ExtUtils-MakeMaker.i686 0:6.55-136.el6 will be updated
---> Package perl-ExtUtils-MakeMaker.i686 0:6.55-136.el6_6.1 will be an update
---> Package perl-ExtUtils-ParseXS.i686 1:2.2003.0-136.el6 will be updated
---> Package perl-ExtUtils-ParseXS.i686 1:2.2003.0-136.el6_6.1 will be an update
---> Package perl-Module-Pluggable.i686 1:3.90-136.el6 will be updated
---> Package perl-Module-Pluggable.i686 1:3.90-136.el6_6.1 will be an update
---> Package perl-Pod-Escapes.i686 1:1.04-136.el6 will be updated
---> Package perl-Pod-Escapes.i686 1:1.04-136.el6_6.1 will be an update
---> Package perl-Pod-Simple.i686 1:3.13-136.el6 will be updated
---> Package perl-Pod-Simple.i686 1:3.13-136.el6_6.1 will be an update
---> Package perl-Test-Harness.i686 0:3.17-136.el6 will be updated
---> Package perl-Test-Harness.i686 0:3.17-136.el6_6.1 will be an update
---> Package perl-Test-Simple.i686 0:0.92-136.el6 will be updated
---> Package perl-Test-Simple.i686 0:0.92-136.el6_6.1 will be an update
---> Package perl-devel.i686 4:5.10.1-136.el6 will be updated
---> Package perl-devel.i686 4:5.10.1-136.el6_6.1 will be an update
---> Package perl-libs.i686 4:5.10.1-136.el6 will be updated
---> Package perl-libs.i686 4:5.10.1-136.el6_6.1 will be an update
---> Package perl-version.i686 3:0.77-136.el6 will be updated
---> Package perl-version.i686 3:0.77-136.el6_6.1 will be an update
---> Package policycoreutils.i686 0:2.0.83-19.47.el6 will be updated
---> Package policycoreutils.i686 0:2.0.83-19.47.el6_6.1 will be an update
---> Package python-sssdconfig.noarch 0:1.11.6-30.el6 will be updated
---> Package python-sssdconfig.noarch 0:1.11.6-30.el6_6.3 will be an update
---> Package rpm.i686 0:4.8.0-37.el6 will be updated
---> Package rpm.i686 0:4.8.0-38.el6_6 will be an update
---> Package rpm-libs.i686 0:4.8.0-37.el6 will be updated
---> Package rpm-libs.i686 0:4.8.0-38.el6_6 will be an update
---> Package rpm-python.i686 0:4.8.0-37.el6 will be updated
---> Package rpm-python.i686 0:4.8.0-38.el6_6 will be an update
---> Package rsyslog.i686 0:5.8.10-8.el6 will be updated
---> Package rsyslog.i686 0:5.8.10-10.el6_6 will be an update
---> Package scl-utils.i686 0:20120927-8.el6 will be updated
---> Package scl-utils.i686 0:20120927-23.el6_6 will be an update
---> Package selinux-policy.noarch 0:3.7.19-260.el6 will be updated
---> Package selinux-policy.noarch 0:3.7.19-260.el6_6.1 will be an update
---> Package selinux-policy-targeted.noarch 0:3.7.19-260.el6 will be updated
---> Package selinux-policy-targeted.noarch 0:3.7.19-260.el6_6.1 will be an update
---> Package sssd.i686 0:1.11.6-30.el6 will be updated
---> Package sssd.i686 0:1.11.6-30.el6_6.3 will be an update
---> Package sssd-ad.i686 0:1.11.6-30.el6 will be updated
---> Package sssd-ad.i686 0:1.11.6-30.el6_6.3 will be an update
---> Package sssd-client.i686 0:1.11.6-30.el6 will be updated
---> Package sssd-client.i686 0:1.11.6-30.el6_6.3 will be an update
---> Package sssd-common.i686 0:1.11.6-30.el6 will be updated
---> Package sssd-common.i686 0:1.11.6-30.el6_6.3 will be an update
---> Package sssd-common-pac.i686 0:1.11.6-30.el6 will be updated
---> Package sssd-common-pac.i686 0:1.11.6-30.el6_6.3 will be an update
---> Package sssd-ipa.i686 0:1.11.6-30.el6 will be updated
---> Package sssd-ipa.i686 0:1.11.6-30.el6_6.3 will be an update
---> Package sssd-krb5.i686 0:1.11.6-30.el6 will be updated
---> Package sssd-krb5.i686 0:1.11.6-30.el6_6.3 will be an update
---> Package sssd-krb5-common.i686 0:1.11.6-30.el6 will be updated
---> Package sssd-krb5-common.i686 0:1.11.6-30.el6_6.3 will be an update
---> Package sssd-ldap.i686 0:1.11.6-30.el6 will be updated
---> Package sssd-ldap.i686 0:1.11.6-30.el6_6.3 will be an update
---> Package sssd-proxy.i686 0:1.11.6-30.el6 will be updated
---> Package sssd-proxy.i686 0:1.11.6-30.el6_6.3 will be an update
---> Package system-config-firewall.noarch 0:1.2.27-7.1.el6 will be updated
---> Package system-config-firewall.noarch 0:1.2.27-7.2.el6_6 will be an update
---> Package system-config-firewall-base.noarch 0:1.2.27-7.1.el6 will be updated
---> Package system-config-firewall-base.noarch 0:1.2.27-7.2.el6_6 will be an update
---> Package system-config-firewall-tui.noarch 0:1.2.27-7.1.el6 will be updated
---> Package system-config-firewall-tui.noarch 0:1.2.27-7.2.el6_6 will be an update
---> Package tzdata.noarch 0:2014g-1.el6 will be updated
---> Package tzdata.noarch 0:2014j-1.el6 will be an update
---> Package tzdata-java.noarch 0:2014g-1.el6 will be updated
---> Package tzdata-java.noarch 0:2014j-1.el6 will be an update
---> Package webkitgtk.i686 0:1.4.3-8.el6 will be updated
---> Package webkitgtk.i686 0:1.4.3-9.el6_6 will be an update
---> Package wget.i686 0:1.12-5.el6 will be updated
---> Package wget.i686 0:1.12-5.el6_6.1 will be an update
---> Package xorg-x11-server-Xorg.i686 0:1.15.0-22.el6.centos will be updated
---> Package xorg-x11-server-Xorg.i686 0:1.15.0-25.el6.centos will be an update
---> Package xorg-x11-server-common.i686 0:1.15.0-22.el6.centos will be updated
---> Package xorg-x11-server-common.i686 0:1.15.0-25.el6.centos will be an update
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================================================================
 Package                                 Arch               Version                                Repository           Size
=============================================================================================================================
Installing:
 kernel                                  i686               2.6.32-504.3.3.el6                     updates              27 M
Updating:
 at                                      i686               3.1.10-44.el6_6.2                      updates              59 k
 autofs                                  i686               1:5.0.5-109.el6_6.1                    updates             722 k
 bind-libs                               i686               32:9.8.2-0.30.rc1.el6_6.1              updates             895 k
 bind-utils                              i686               32:9.8.2-0.30.rc1.el6_6.1              updates             184 k
 curl                                    i686               7.19.7-40.el6_6.3                      updates             194 k
 cyrus-sasl                              i686               2.1.23-15.el6_6.1                      updates              78 k
 cyrus-sasl-gssapi                       i686               2.1.23-15.el6_6.1                      updates              34 k
 cyrus-sasl-lib                          i686               2.1.23-15.el6_6.1                      updates             136 k
 cyrus-sasl-md5                          i686               2.1.23-15.el6_6.1                      updates              47 k
 cyrus-sasl-plain                        i686               2.1.23-15.el6_6.1                      updates              31 k
 device-mapper                           i686               1.02.90-2.el6_6.1                      updates             172 k
 device-mapper-event                     i686               1.02.90-2.el6_6.1                      updates             122 k
 device-mapper-event-libs                i686               1.02.90-2.el6_6.1                      updates             116 k
 device-mapper-libs                      i686               1.02.90-2.el6_6.1                      updates             215 k
 firefox                                 i686               31.4.0-1.el6.centos                    updates              61 M
 glibc                                   i686               2.12-1.149.el6_6.4                     updates             4.3 M
 glibc-common                            i686               2.12-1.149.el6_6.4                     updates              14 M
 glibc-devel                             i686               2.12-1.149.el6_6.4                     updates             983 k
 glibc-headers                           i686               2.12-1.149.el6_6.4                     updates             619 k
 initscripts                             i686               9.03.46-1.el6.centos.1                 updates             943 k
 iproute                                 i686               2.6.32-33.el6_6                        updates             362 k
 jasper-libs                             i686               1.900.1-16.el6_6.2                     updates             137 k
 java-1.6.0-openjdk                      i686               1:1.6.0.33-1.13.5.1.el6_6              updates              42 M
 java-1.7.0-openjdk                      i686               1:1.7.0.71-2.5.3.2.el6_6               updates              27 M
 kernel-firmware                         noarch             2.6.32-504.3.3.el6                     updates              14 M
 kernel-headers                          i686               2.6.32-504.3.3.el6                     updates             3.3 M
 kpartx                                  i686               0.4.9-80.el6_6.2                       updates              64 k
 libXfont                                i686               1.4.5-4.el6_6                          updates             145 k
 libcurl                                 i686               7.19.7-40.el6_6.3                      updates             173 k
 libipa_hbac                             i686               1.11.6-30.el6_6.3                      updates              94 k
 libipa_hbac-python                      i686               1.11.6-30.el6_6.3                      updates              88 k
 libsss_idmap                            i686               1.11.6-30.el6_6.3                      updates              99 k
 libxml2                                 i686               2.7.6-17.el6_6.1                       updates             801 k
 libxml2-python                          i686               2.7.6-17.el6_6.1                       updates             315 k
 lvm2                                    i686               2.02.111-2.el6_6.1                     updates             826 k
 lvm2-libs                               i686               2.02.111-2.el6_6.1                     updates             919 k
 mailx                                   i686               12.4-8.el6_6                           updates             225 k
 mdadm                                   i686               3.3-6.el6_6.1                          updates             351 k
 net-snmp                                i686               1:5.5-50.el6_6.1                       updates             305 k
 net-snmp-libs                           i686               1:5.5-50.el6_6.1                       updates             1.5 M
 nss                                     i686               3.16.2.3-3.el6_6                       updates             837 k
 nss-softokn                             i686               3.14.3-19.el6_6                        updates             269 k
 nss-softokn-freebl                      i686               3.14.3-19.el6_6                        updates             156 k
 nss-sysinit                             i686               3.16.2.3-3.el6_6                       updates              44 k
 nss-tools                               i686               3.16.2.3-3.el6_6                       updates             436 k
 nss-util                                i686               3.16.2.3-2.el6_6                       updates              65 k
 ntp                                     i686               4.2.6p5-2.el6.centos                   updates             587 k
 ntpdate                                 i686               4.2.6p5-2.el6.centos                   updates              75 k
 openssh                                 i686               5.3p1-104.el6_6.1                      updates             274 k
 openssh-askpass                         i686               5.3p1-104.el6_6.1                      updates              56 k
 openssh-clients                         i686               5.3p1-104.el6_6.1                      updates             443 k
 openssh-server                          i686               5.3p1-104.el6_6.1                      updates             320 k
 openssl                                 i686               1.0.1e-30.el6_6.4                      updates             1.5 M
 perl                                    i686               4:5.10.1-136.el6_6.1                   updates             9.7 M
 perl-CGI                                i686               3.51-136.el6_6.1                       updates             209 k
 perl-ExtUtils-MakeMaker                 i686               6.55-136.el6_6.1                       updates             293 k
 perl-ExtUtils-ParseXS                   i686               1:2.2003.0-136.el6_6.1                 updates              45 k
 perl-Module-Pluggable                   i686               1:3.90-136.el6_6.1                     updates              40 k
 perl-Pod-Escapes                        i686               1:1.04-136.el6_6.1                     updates              32 k
 perl-Pod-Simple                         i686               1:3.13-136.el6_6.1                     updates             212 k
 perl-Test-Harness                       i686               3.17-136.el6_6.1                       updates             231 k
 perl-Test-Simple                        i686               0.92-136.el6_6.1                       updates             112 k
 perl-devel                              i686               4:5.10.1-136.el6_6.1                   updates             423 k
 perl-libs                               i686               4:5.10.1-136.el6_6.1                   updates             593 k
 perl-version                            i686               3:0.77-136.el6_6.1                     updates              51 k
 policycoreutils                         i686               2.0.83-19.47.el6_6.1                   updates             645 k
 python-sssdconfig                       noarch             1.11.6-30.el6_6.3                      updates             121 k
 rpm                                     i686               4.8.0-38.el6_6                         updates             900 k
 rpm-libs                                i686               4.8.0-38.el6_6                         updates             315 k
 rpm-python                              i686               4.8.0-38.el6_6                         updates              55 k
 rsyslog                                 i686               5.8.10-10.el6_6                        updates             656 k
 scl-utils                               i686               20120927-23.el6_6                      updates              22 k
 selinux-policy                          noarch             3.7.19-260.el6_6.1                     updates             863 k
 selinux-policy-targeted                 noarch             3.7.19-260.el6_6.1                     updates             3.0 M
 sssd                                    i686               1.11.6-30.el6_6.3                      updates              89 k
 sssd-ad                                 i686               1.11.6-30.el6_6.3                      updates             141 k
 sssd-client                             i686               1.11.6-30.el6_6.3                      updates             128 k
 sssd-common                             i686               1.11.6-30.el6_6.3                      updates             825 k
 sssd-common-pac                         i686               1.11.6-30.el6_6.3                      updates             120 k
 sssd-ipa                                i686               1.11.6-30.el6_6.3                      updates             194 k
 sssd-krb5                               i686               1.11.6-30.el6_6.3                      updates             111 k
 sssd-krb5-common                        i686               1.11.6-30.el6_6.3                      updates             159 k
 sssd-ldap                               i686               1.11.6-30.el6_6.3                      updates             167 k
 sssd-proxy                              i686               1.11.6-30.el6_6.3                      updates             116 k
 system-config-firewall                  noarch             1.2.27-7.2.el6_6                       updates             119 k
 system-config-firewall-base             noarch             1.2.27-7.2.el6_6                       updates             434 k
 system-config-firewall-tui              noarch             1.2.27-7.2.el6_6                       updates              39 k
 tzdata                                  noarch             2014j-1.el6                            updates             445 k
 tzdata-java                             noarch             2014j-1.el6                            updates             175 k
 webkitgtk                               i686               1.4.3-9.el6_6                          updates             6.4 M
 wget                                    i686               1.12-5.el6_6.1                         updates             483 k
 xorg-x11-server-Xorg                    i686               1.15.0-25.el6.centos                   updates             1.3 M
 xorg-x11-server-common                  i686               1.15.0-25.el6.centos                   updates              49 k

Transaction Summary
=============================================================================================================================
Install       1 Package(s)
Upgrade      93 Package(s)

Total download size: 239 M
Is this ok [y/N]: y