SIMATIC S7-200 - automata

for internal use only Eng./ Essam Nabil 2011 - 2012 Automation and Drives Biomedical Laboratory 4th Year SIMATIC HMI Scope of The Human Presentation Machine Interface Part : one Image Processing Using MATLAB Introduction Lab. No.4 Read The Image Use Morphological Opening to Estimate the Background Subtract Background Correcting Nonuniform Illumination Image from Original Image Increase the Image Contrast Threshold the Image Questions and Discussion Minoufiya University Faculty of Electronic Engineering Dept. of Industrial Electronics and Control Eng. for internal use only Eng./ Essam Nabil 2011

- 2012 Automation and Drives Introduction SIMATIC HMI Scope of The Human Presentation Machine Interface Introduction Introduction Read The Image Use Morphological Application: Using an image of rice grains, this example illustrates how you can enhance an image to correct for nonuniform illumination, then use the enhanced image to identify individual grains. Opening to Estimate the Background Subtract Background Image from Original Image Increase the Image Contrast Threshold the Image Questions and Procedural steps: Step 1: Read and Display the Image Step 2: Use Morphological Opening to Estimate the Background Step 3: Subtract Background Image from Original Image Step 4: Increase the Image Contrast Step 5: Threshold the Image Discussion Minoufiya University Faculty of Electronic Engineering Dept. of Industrial Electronics and Control Eng. Eng./ Essam Nabil for internal use only

2011 - 2012 Automation and Drives Step 1: Read and Display The Image SIMATIC HMI Scope of The Human Presentation Machine Interface Introduction Read The Image Read Image Use Morphological Opening to Estimate the 1.1 Key Commands: I = imread('filename.fmt') :reads a grayscale or color image specified by filename and format fmt and stores it into array variable I. If the file is not in the current folder, or in a folder on the MATLAB path, specify the full pathname as: I = imread(D:\pictures\asd.jpg) Background Subtract Background Image from Original Image Increase the Image Contrast Threshold the Image Questions and figure :creates a new figure object using default property values, and automatically becomes the current figure until a new figure is either created or called. imshow(I) :displays the stored image of the variable array I. title('string') :adds the title specified by string at the top and in the center of the current axes or figure. Discussion Minoufiya University Faculty of Electronic Engineering Dept. of Industrial Electronics and Control Eng. for internal use only

Eng./ Essam Nabil 2011 - 2012 Automation and Drives Step 1: Read and Display The Image SIMATIC HMI Scope of The Human Presentation Machine Interface Introduction Read The Image Read Image Use Morphological 1.2 Step application: Read in the rice.png' image and bring its data to workspace. ;;II == imread('rice.png') imread('rice.png') figure, figure, imshow(I) imshow(I) Opening to Estimate the Background Subtract Background Image from Original Image Increase the Image Contrast Threshold the Image Questions and Discussion Minoufiya University Faculty of Electronic Engineering Dept. of Industrial Electronics and Control Eng. for internal use only Eng./ Essam Nabil 2011 - 2012 Automation and

Drives Step 2: Estimate the Background SIMATIC HMI Scope of The Human Presentation Machine Interface Introduction Read The Image 2.1 Preface: Notice that the background illumination is brighter in the center of the image than at the bottom. Use imopen to estimate the background illumination. UseMorphological Morphological Use Opening toto Estimate the Opening Estimate theBackground Background Subtract Background Image from Original Image Increase the Image Contrast Threshold the Image 2.2 Key Commands: IM2 = imopen(IM,SE) performs morphological opening on the grayscale or binary image IM with the structuring element SE. 2.3 Step application: background background =imopen(I,strel('disk',15)); =imopen(I,strel('disk',15)); Questions and Discussion Minoufiya University Faculty of Electronic Engineering

Dept. of Industrial Electronics and Control Eng. Eng./ Essam Nabil for internal use only 2011 - 2012 Automation and Drives Step 2: Estimate the Background SIMATIC HMI Scope of The Human Presentation Machine Interface Introduction Read The Image UseMorphological Morphological Use Opening toto Estimate the Opening Estimate theBackground Background Subtract Background Image from Original Image Increase the Image Contrast Threshold the Image Questions and Discussion Minoufiya University Faculty of Electronic Engineering Dept. of Industrial Electronics and Control Eng. for internal use only Eng./ Essam Nabil 2011

- 2012 Automation and Drives Step 3: Subtract Background from Original SIMATIC HMI Scope of The Human Presentation Machine Interface Introduction Read The Image Use Morphological Opening to Estimate the 3.1 Preface: Notice that the background illumination is brighter in the center of the image than at the bottom. Use imopen to estimate the background illumination. 3.2 Step application: Background Subtract Background Background Subtract Image from from Original Original Image Image Image I2 I2 == II background; background; figure, figure, imshow(I2); imshow(I2); Increase the Image OR OR Contrast Threshold the Image Questions and Discussion

I2 I2 == imsubtract(I,background); imsubtract(I,background); figure, figure, imshow(I2); imshow(I2); Minoufiya University Faculty of Electronic Engineering Dept. of Industrial Electronics and Control Eng. Eng./ Essam Nabil for internal use only 2011 - 2012 Automation and Drives Step 4: Increase the Image Contrast SIMATIC HMI Scope of The Human Presentation Machine Interface Introduction Read The Image 4.1 Step application: I3 I3 == imadjust(I2); imadjust(I2); figure, figure, imshow(I3); imshow(I3); Use Morphological Opening to Estimate the Background Subtract Background Image from Original Image Increase the Increase the Image Image Contrast Contrast

Threshold the Image Questions and Discussion Minoufiya University Faculty of Electronic Engineering Dept. of Industrial Electronics and Control Eng. for internal use only Eng./ Essam Nabil 2011 - 2012 Automation and Drives Step 5: Threshold the Image SIMATIC HMI Scope of The Human Presentation Machine Interface Introduction Read The Image Use Morphological Opening to Estimate the Background Subtract Background 5.1 Preface: Create a new binary image by thresholding the adjusted image. 5.2 Step application: level level == graythresh(I3); graythresh(I3); bw bw == im2bw(I3,level); im2bw(I3,level); figure, figure, imshow(bw); imshow(bw); Image from Original Image Increase the Image

Contrast Threshold the Image Threshold the Image Questions and Discussion Minoufiya University Faculty of Electronic Engineering Dept. of Industrial Electronics and Control Eng. for internal use only Eng./ Essam Nabil 2011 - 2012 Automation and Drives Questions and Discussion SIMATIC HMI Scope of The Human Presentation Machine Interface Introduction Read The Image Use Morphological Opening to Estimate the Background Subtract Background Image from Original Image Increase the Image Contrast Threshold the Image Questions Questionsand and Discussion Discussion Minoufiya University Faculty of Electronic Engineering Dept. of Industrial Electronics and Control Eng.

Recently Viewed Presentations

  • PMI Heartland Common Productivity Tools With a Focus

    PMI Heartland Common Productivity Tools With a Focus

    Kanban. By creating a visual model of your work and workflow, you can observe the flow of work moving through your Kanban system. Making the work visible - along with blockers, bottlenecks and queues - instantly leads to increased communication...
  • Segurana de Redes 1 Segurana de Redes  Motivao

    Segurana de Redes 1 Segurana de Redes Motivao

    Segurança de Redes - Motivação * 2017: O britânico Marcus Hutchins descobriu que o WannaCry tentava se conectar a um domínio não registrado. Ele registrou o domínio (custo de U$11) parando então o ataque.
  • The UK Nuclear Skills Challenge UK France Seminar:

    The UK Nuclear Skills Challenge UK France Seminar:

    Origins of this Seminar. In January a UK/France Ministerial Summit was held with an ambition for closer collaboration of the two countries across decommissioning, nuclear skills and R&D.
  • 1.2 "Bringing the future of the church into the present so ...

    1.2 "Bringing the future of the church into the present so ...

    (Ephesians 1:22-23) 2. BIBLICAL TEACHING We desire to teach God's word with integrity and authority so that seekers find Christ and believers mature in Him (II Tim. 3:16) CrossRoads Nazarene www.crossroadsnazarene.org What are the Values of a Healthy Church?
  • Treatment of Psychological Disorders Who Seeks Treatment? 15%

    Treatment of Psychological Disorders Who Seeks Treatment? 15%

    Implosive therapy is the only behavioral technique we are going over that does not involve using in vivo techniques - in other words, the patient will never actually come into contact with their feared stimulus while in therapy. Instead, the...
  • mercredi, 21 juin

    mercredi, 21 juin

    Charlie est derrière l'armoire. Charlie est sous la table Charlie est dans le garage Charlie est sur la table Charlie est entre la poubelle et la chaise Charlie est derriere la commode Charlie est devant la commode . Title: mercredi,...
  • Building Reach Codes Advancing safer, healthier and more

    Building Reach Codes Advancing safer, healthier and more

    Performance Pathway - exceed code by a certain compliance margin using CEC-approved modeling software (e.g. 5%) Prescriptive Pathway - exceed code by including a list of specific cost-effective measures (e.g. drain heat recovery or batteries), see appendix for examples. Climate...
  • Harassment Intimidation and Bullying - The LAW and Our ...

    Harassment Intimidation and Bullying - The LAW and Our ...

    Harassment Intimidation and Bullying - The LAW and Our Responsibility to Report HIB. ... under which HIB is founded HIB HIB Key Components of Bullying Teasing V. Bullying Types of Bullying Direct Verbal Aggression Indirect Verbal Aggression Written Aggression Physical...