MODULE 6 ΚΕΦΑΛΑΙΟ 6. Nonlinear Image Filtering. Μη Γραµµικό Φιλτράρισµα Εικόνων

Μέγεθος: px
Εμφάνιση ξεκινά από τη σελίδα:

Download "MODULE 6 ΚΕΦΑΛΑΙΟ 6. Nonlinear Image Filtering. Μη Γραµµικό Φιλτράρισµα Εικόνων"

Transcript

1 MODULE 6 ΚΕΦΑΛΑΙΟ 6 Nonlinear Image Filtering Μη Γραµµικό Φιλτράρισµα Εικόνων Median and Morphological Filters Φίλτρο Μεσαίου και Μορφολογικά Φίλτρα Digital Noise Probability Models Μοντέλα Πιθανοτήτων Ψηφιακού θορύβου Order Statistic Filters Στατιστικά Φίλτρα Homomorphic Filtering Οµοιοµορφικά Φίλτρα QUICK INDEX 6.1

2 MODULE 6 INDEX WHY NONLINEAR FILTERING? ΓΙΑΤΙ ΤΟ ΜΗ-ΓΡΑΜΜΙΚΟ ΦΙΛΤΡΑΡΙΣΜΑ; LIMITATIONS OF LINEAR FILTERING ΠΕΡΙΟΡΙΣΜΟΙ ΤΟΥ ΓΡΑΜΜΙΚΟΥ ΦΙΛΤΡΑΡΙΣΜΑΤΟΣ SMOOTHING VS. PRESERVATION ΕΞΩΜΑΛΥΝΣΗ ΣΕ ΑΝΤΙΘΕΣΗ ΜΕ ΤΗΝ ΙΑΤΗΡΗΣΗ MOTIVATION FOR NONLINEAR FILTERING ΟΘΗΣΗ ΠΡΟΣ ΤΟ ΜΗ-ΓΡΑΜΜΙΚΟ ΦΙΛΤΡΑΡΙΣΜΑ GENERAL NONLINEAR FILTER ΓΕΝΙΚΟ ΜΗ-ΓΡΑΜΜΙΚΟ ΦΙΛΤΡΟ BOUNDARY-OF-IMAGE PROCESSING ΕΠΕΞΕΡΓΑΣΙΑ ΣΤΑ ΑΚΡΑ ΕΙΚΟΝΑΣ MEDIAN FILTER ΦΙΛΤΡΟ ΜΕΣΑΙΟΥ PROPERTIES OF THE MEDIAN FILTER Ι ΙΟΤΗΤΕΣ ΤΟΥ ΦΙΛΤΡΟΥ ΜΕΣΑΙΟΥ COMMENTS ON WINDOW SHAPE ΣΧΩΛΙΑ ΓΙΑ ΤΟ ΣΧΗΜΑ ΤΟΥ ΠΑΡΑΘΥΡΟΥ MORPHOLOGICAL FILTERS ΜΟΡΦΟΛΟΓΙΚΑ ΦΙΛΤΡΑ CLOSE AND OPEN FILTERS ΦΙΛΤΡΑ ΚΛΕΙΣΙΜΑΤΟΣ ΚΑΙ ΑΝΟΙΓΜΑΤΟΣ OPEN-CLOS AND CLOS-OPEN FILTERS ΦΙΛΤΡΑ ΑΝΟΙΓΜΑΤΟΣ-ΚΛΕΙΣΙΜΑΤΟΣ ΚΑΙ ΚΛΕΙΣΙΜΑΤΟΣ-ΑΝΟΙΓΜΑΤΟΣ APPLICATION: PEAK/VALLEY DETECTION ΕΦΑΡΜΟΓΗ: ΕΥΡΕΣΗ ΚΟΡΥΦΩΝ/ΚΥΛΑ ΩΝ ORDER STATISTIC FILTERS 6.2

3 ORDER STATISTIC ΦΙΛΤΡΑ GENERAL PROPERTIES OF OS FILTERS ΓΕΝΙΚΕΣ Ι ΙΟΤΗΤΕΣ ΤΩΝ OS ΦΙΛΤΡΩΝ DIGITAL NOISE PROBABILITY MODELS ΜΟΝΤΕΛΑ ΠΙΘΑΝΟΤΗΤΑΣ ΨΗΦΙΑΚΟΥ ΘΟΡΥΒΟΥ PROBABILITY MASS FUNCTION (PMF) OF NOISE ΣΥΝΑΡΤΙΣΗ ΠΙΘΑΝΟΤΗΤΑΣ ΜΑΖΑΣ (PMF) ΤΟΥ ΘΟΡΥΒΟΥ PROPERTIES OF PMF Ι ΙΟΤΗΤΕΣ ΤΟΥ PMF STATISTICAL MEAN ΣΤΑΤΙΣΤΙΚΟΣ ΜΕΣΑΙΟΣ VARIANCE ΙΑΦΟΡΑ VARIANCE REDUCTION ΜΕΙΩΣΗ ΙΑΦΟΡΑΣ SELECTING THE FILTER COEFFICIENTS ΕΠΙΛΟΓΗ ΣΥΝΤΕΛΕΣΤΩΝ ΦΙΛΤΡΟΥ A ROBUST OS FILTER ΕΝΑ ΑΝΘΕΚΤΙΚΟ OS ΦΙΛΤΡΟ HOMOMORPHIC FILTERING ΟΜΟΙΟΜΟΡΦΙΚΟ ΦΙΛΤΡΑΡΙΣΜΑ LOGARITHMIC POINT OPERATION ΛΟΓΑΡΙΘΜΙΚΕΣ ΛΕΙΤΟΥΡΓΙΕΣ ΑΠΛΟΥ ΣΤΙΓΜΑΤΟΣ EXPONENTIAL POINT OPERATION ΕΚΘΕΤΙΚΕΣ ΛΕΙΤΟΥΡΓΙΕΣ ΑΠΛΟΥ ΣΤΙΓΜΑΤΟΣ EXERCISES ΑΣΚΗΣΕΙΣ QUICK INDEX 6.3

4 WHY NONLINEAR FILTERING? ΓΙΑΤΙ ΤΟ ΜΗ-ΓΡΑΜΜΙΚΟ ΦΙΛΤΡΑΡΙΣΜΑ; Objectives of filtering: To process sampled, quantized images to transform them into Σκοποί του φιλτραρίσµατος: Για να επεξεργαστούµε τις κάτω από δειγµατοληψία, κβαντισµένες εικόνες για να τις µεταµορφώσουµε σε - images of better quality (by some criteria) εικόνες καλύτερης ποιότητας (µε κάποιο κριτήριο) - images with certain features enhanced εικόνες µε ορισµένα χαρακτηρίστηκα υπερτιµηµένα - images with certain features de-emphasized or eradicated εικόνες µε ορισµένα χαρακτηριστικά µε µειωµένη έµφαση ή εκριζωµένα computer program digitized image or dedicated hardware processor transformed image We have addressed some of these goals using the rich approach generally called linear filtering. Έχουµε αναφέρει µερικούς από αυτούς τους σκοπούς χρησιµοποιώντας την πλούσια προσέγγιση που καλείται γενικά γραµµικό φιλτράρισµα However, linear filtering does have important limitations. Ωστόσο, το γραµµικό φιλτράρισµα αχεί σηµαντικούς περιορισµούς 6.4

5 Limitations of Linear Filtering Περιορισµοί του Γραµµικού Φίλτρου The basis of linear filtering is frequency or spectrum shaping: Οι βάσεις του γραµµικού φίλτρου είναι η διαµόρφωση συχνότητας ή φάσµατος - reduce (attenuate) certain unwanted frequencies µειώνει (λιγοστεύει) συγκεκριµένες ανεπιθύµητες συχνότητες - enhance (preserve or amplify) certain desired frequencies υποτιµάει (διατηρεί και ενισχύει) συγκεκριµένες επιθυµητές συχνότητες Consider enhancement of an image contaminated by white noise: Θεωρούµαι την υπερτίµηση της εικόνας µολύνεται µε λευκό θόρυβο: image transmitter noisy channel image receiver The goal of filtering is two-fold: Ο σκοπός του φιλτραρίσµατος είναι: - Smoothing - reduce noise from bit errors, transmission Εξωµαλυνσης µείωση θορύβου από λάθη σε bit, µετάδοση - Preservation - of important features: edges and detail ιατήρηση σηµαντικών χαρακτηριστικών: ακµές και λεπτοµέρειες 6.5

6 Smoothing vs. Preservation Εξοµάλυνση σε αντίθεση µε την ιατήρηση Enhancement contains conflicting goals: Η υπερτίµηση περιλαµβάνει αλληλοσυγκρουόµενους στόχους: - Smoothing usually means that high frequencies are attenuated Η εξοµάλυνση συνήθως σηµαίνει ότι οι ψηλές συχνότητες µειώνονται - Images are broadband: preservation usually means that both low frequencies and important high frequencies be preserved Οι εικόνες είναι µεγάλου φάσµατος: η διατήρηση συνήθως σηµαίνει ότι και οι χαµηλές συχνότητες και οι σηµαντικές υψηλές συχνότητες διατηρούνται - Linear filtering cannot differentiate between desirable high frequencies and undesirable high frequencies Το γραµµικό φιλτράρισµα δεν µπορεί να διακρίνει µεταξύ επιθυµητών υψηλών συχνοτήτων και ανεπιθύµητων υψηλών συχνοτήτων Thus a linear low-pass smoothing filter will always: Έτσι το γραµµικό κατωδιαβατο φίλτρο εξοµάλυνση πάντα θα: - Reduce high frequency noise Μειώνετε τον υψηλής συχνότητας θόρυβο - Blur the image Θολώνει την εικόνα 6.6

7 Motivation for Nonlinear Filtering Ώθηση για το µη-γραµµικό Φιλτράρισµα A nonlinear image filter cannot be expressed as a Το µη-γραµµικό φίλτρα εικόνας δεν µπορεί να εκφραστεί σαν - Linear convolution operation (Λειτουργια γραµµικης συνελιξης) nor a (ούτε σαν) - Predictable shaping of the frequencies (Προλεγόµενα σχήµατα για συχνότητες) Obviously nonlinear filtering covers a lot of possibilities Φανερά το µη-γραµµικό φιλτράρισµα καλύπτει πολλές πιθανότητες Many nonlinear filtering approaches have been proposed - usually based on heuristics. Πολλές µη-γραµµικές προσεγγίσεις φιλτραρίσµατος έχουν προταθεί συνήθως µε βάση αοριστιών Here we explore well-developed classes of nonlinear filters for which a meaningful theory exists. Εδώ εξετάζουµε καλά-αναπτυγµένες τάξεις µη-γραµµικών φίλτρων για τις οποίες υπάρχουν σηµαντικές θεωρίες No DFTs or frequency analysis can be used. εν µπορεί να χρησιµοποιηθεί το DFT ή η ανάλυση συχνότητας The common theme: nonlinear filters give you capabilities that linear filters don't have. Το κοινό θέµα: τα µη-γραµµικά φίλτρα δίνουν δυνατότητες οι οποίες δεν περιλαµβάνονται στα γραµµικά φίλτρα 6.7

8 General Nonlinear Filter Γενικο Μη-γραµµικο Φιλτρο Recall: Given image I and window B, the windowed set at (i, j) is: Θυµηθείτε: ίνετε εικόνα Ι και παράθυρο Β, το σύνολο παραθύρου στο (i, j) είναι: B I(i, j) = {I(i-m, j-n); (m, n) B}. A nonlinear filter F on a windowed set of image pixels is a nonlinear function of the pixels covered by the window. Ένα µη-γραµµικό φίλτρο F σε σύνολο παραθύρου από στίγµατα εικόνας είναι µη-γραµµικές συναρτήσεις στιγµάτων που είναι καλυµµένα από το παράθυρο We will denote the nonlinear filter F on B I(i, j) by Θα ορίσουµε το µη-γραµµικό φίλτρο F στο B I(i, j) µε J(i, j) = F{B I(i, j)} = F{I(i-m, j-n); (m, n) B} Performing this at every pixel gives a filtered image: Εκτελώντας αυτό σε κάθε στίγµα δίνει µια φιλτραρισµένη εικόνα: J = F[I, B] = [J(i, j); 0 i, j N-1] Pseudo-Code (Ψευδοκωδηκας) { int I [N ] [N], J [N ] [N], B [M] do { J(i, j) = F[I(i-m, j-n) for (m, n) B]; } while (0 i, j N-1); } The remainder of this module will discuss various functions F. Στο υπόλοιπο αυτού του κεφαλαίου θα εξετάσουµε διάφορες συναρτήσεις του F 6.8

9 Boundary-of-Image Processing Επεξεργασία στα άκρα-της-εικόνας As with binary morphological filters: when a window is centered so that it overlaps "empty space" Όπως και µε τα δυαδικά µορφολογικά φίλτρα: όταν ένα παράθυρο κεντραριστεί έτσι ώστε να επικαλύπτει κενό-χώρο we will use the convention of replication: fill the "empty" window slots by the nearest image pixel. θα χρησιµοποιήσουµε την εθιµοτυπία της ανατύπωσης: γέµισµα των κενών θυρίδων του παραθύρου από το κοντινότερο στίγµα της εικόνας This is not done with linear convolution (zero-padding is used) since then the DFT property of convolution would not hold. Αυτό δεν γίνεται µε τη γραµµική συνέλιξη (χρησιµοποιεί προσθηδη µηδενικών) αφού τότε η DFT ιδιότητα της συνέλιξης δεν θα ισχύει 6.9

10 Example - Average Filter Παράδειγµα Φίλτρο Μέσου The average filter is linear, it can be defined using windows. Το φίλτρο µέσου είναι γραµµικό, µπορεί να οριστεί χρησιµοποιώντας παράθυρα Define the filtered image Ορίζουµε την φιλτραρισµένη εικόνα by J = AVE[I, B] J(i, j) = AVE{B I(i, j)} = AVE{I(i-m, j-n); (m, n) B} Performing this at every pixel gives the average-filtered image J. Εκτελωντας αυτο σε καθε στιγµα δινει την φιλτραρισµενη εικονα J. The shorthand J = AVE[I, B] allows us to define the operation for any window B. Η στενογραφία J = AVE[I, B] µας επιτρέπει να ορίσουµε την λειτουργία για κάθε παράθυρο Β 6.10

11 MEDIAN FILTER ΦΙΛΤΡΟ ΜΕΣΑΙΟΥ Definition: Given a set of numbers X = {X 1,..., X 2M+1 }, the order statistics (or OS) of the set are the same elements reordered from smallest to largest. The OS of X are denoted Ορισµός: ίνεται ένα σύνολο αριθµών X = {X 1,..., X 2M+1 }, οι στατιστική σειρά (ή OS) του συνόλου είναι τα ίδια στοιχεία κατανεµηµένα από τον µικρότερο στον µεγαλύτερο. Η OS του Χ δίνεται X OS = {X (1),..., X (2M+1) } such that (όπου) X (1) X (2M+1). In particular, (Ιδιαίτερο) MAX{X 1,..., X 2M+1 } = X (2M+1) MIN{X 1,..., X 2M+1 } = X (1) MED{X 1,..., X 2M+1 } = X (M+1) The median MED is the middle value in algebraic rank. Ο µεσαίος MED είναι η µεσαία τιµή στην αλγεβρική ταξινόµηση 6.11

12 Defining the Median Filter Ορίζοντας το Φίλτρο Μεσαίου Given image I and window B, the median filter is simply: ίνεται µια εικόνα Ι και ένα παράθυρο Β, το φίλτρο µεσαίου είναι απλά: J = MED[I, B] Each output pixel is the median of the local windowed pixels: Κάθε στίγµα εξόδου είναι ο µεσαίος των τοπικών στιγµάτων του παραθύρου: J(i, j) = MED{B I(i, j)} = MED{I(i-m, j-n); (m, n) B} Performing this at every pixel gives the median-filtered image J. Εκτελώντας αυτό σε κάθε στίγµα δίνει την φιλτραρισµένη µε το φίλτρο µεσαίου εικόνα J Properties of the Median Filter Ιδιότητες του Φίλτρου Μεσαίου The median filter smooths additive white noise. Το φίλτρο µεσαίου εξοµαλύνει τον αθροιστικό λευκό θόρυβο The median filter does not degrade edges. Το φίλτρο µεσαίου δεν αλλοιώνει της ακµές The median filter is particularly effective for removing large-amplitude noise impulses. Το φίλτρο µεσαίου είναι ιδιαίτερα αποτελεσµατικά για αφαίρεση µεγάλου-µεγέθους κρουστικό θόρυβο 6.12

13 Why the Median Filter Doesn't Degrade Edges Γιατί το Φίλτρο Μεσαίου δεν Αλλοιώνει της Ακµές Consider the window configurations below, where an ideal straight edge is covered by the window: Θεωρείστε τα πιο κάτω περιγράµµατα παραθύρων, όπου µια ιδανική ευθεία ακµή καλύπτεται από το παράθυρο: = light = dark Notice that the median is contained in the majority set in every case, and so is the center pixel. Παρατηρήστε ότι ο µεσαίος περιλαµβάνεται στο σύνολο πλειοψηφίας σε κάθε περίπτωση, και έτσι είναι και το κεντρικό στίγµα. η οποία µοιάζει The center pixel is replaced by a member of the majority set, which resembles the center pixel value. No blur! Το κεντρικό στίγµα αντικαθίσταται από ένα µέλος του συνόλου πλειοψηφίας, η οποία µοιάζει µε την τιµή το κεντρικού στίγµατος 6.13

14 By contrast, the average filter averages together members of the minority and majority sets - creating blur. Σε αντίθεση, το φίλτρο µέσου παίρνει τον µέσο όρο των συντελεστών του συνόλου µειοψηφίας και του συνόλου πλειοψηφίας µαζί δηµιουργεί θόλωση Example - 1-D Median Filter Παράδειγµα 1- Φίλτρο Μεσαίου A single scan line (row) of an image: Μια απλή γραµµή σάρωσης (σειρά) µιας εικόνας AVE[I, B] where B = ROW(3) (I is overlaid): AVE[I, B] οπου B = ROW(3) (η I επικαλυπτεται): 6.14

15 Notice the overall smoothing effect. Παρατηρήστε ότι το αποτέλεσµα της ολικής εξοµάλυνση Now for the median filter: Τώρα για το φίλτρο µεσαίου: MED[I, B] where B = ROW(3) (I is overlaid): MED[I, B] οπου B = ROW(3) (η I επικαλυπτεται): This is a very different effect! 6.15

16 Αυτό είναι πολύ διαφορετικό αποτέλεσµα! - The "noise" is smoothed effectively Ο θόρυβος εξοµαλύνονται αποτελεσµατικά - Large noise spikes are completely eradicated, instead of being blurrrrrrrrred. Οι µεγάλες αιχµές του θορύβου φεύγουν εντελώς, αντί να απαλύνονται - The important signal structure is effectively maintained - the edges are sharp. Η σηµαντική δοµή του σήµατος διατηρείται αποτελεσµατικά οι ακµές είναι αιχµηρές These nice properties of the median filter still hold when 2-D windows B are applied to noisy images. Αυτή η καλή ιδιότητα του φίλτρου µεσαίου ισχύει ακόµα όταν το 2- παράθυρο Β χρησιµοποιείται σε εικόνες µε θόρυβο DEMO ΠΑΡΑ ΕΙΓΜΑ ΦΙΛΤΡΟ ΜΕΣΑΙΟΥ ΣΤΟ MATLAB I = imread( exampleim.tif ); J = imnoise(i, gaussian, 0.02); L = median2(j,[3 3]); imshow(j); figure, imshow(l); 6.16

17 Comments on Window Shape Σχόλια για την Μορφή του Παραθύρου Using B = SQUARE produces lots of noise smoothing, but can also eliminate certain "impulse-like" details of interest: Χρησιµοποιώντας B = ΤΕΤΡΑΓΩΝΟ δηµιουργεί µεγάλη εξοµάλυνση θορύβου, αλλά µπορεί επίσης να περιορίσει ορισµένες κρουστικές λεπτοµέρειες: Using a B = CROSS window can reduce these effects, if it is known beforehand that the the image will contain a lot of these types of structures. Χρησιµοποιώντας παράθυρο B = ΣΤΑΥΡΟ περιορίζει τα πιο πάνω αποτελέσµατα, αν είναι γνωστό από πριν ότι η εικόνα θα περιλαµβάνει πολλούς από αυτούς τους δοµικούς τύπους EXAMPLE: Images of dot-matrix characters ΠΑΡΑ ΕΙΓΜΑ: Εικόνες χαρακτήρων dot-matrix (πίνακα τέλειων) However, if the image contains curvilinear details that are diagonally oriented, then B = CROSS can perform poorly: Ωστόσο, αν η εικόνα περιλαµβάνει καµπυλόγραµµες λεπτοµέρειες οι οποίες είναι τοποθετηµένες διαγώνια, τοτε B = ΣΤΑΥΡΟΣ εκτελεί πολύ φτωχά 6.17

18 A lot of variations suggest various combinations of CROSS, X-SHAPED (oriented cross), ROW, COL, etc. windows. Πολλές µεταλλαγές προτείνουν διάφορους συνδυασµούς από παράθυρα ΣΤΑΥΡΟΣ, Χ- ΣΧΗΜΑΤΟΣ (προσανατολισµένος ΣΤΑΥΡΟΣ), ΣΕΙΡΑ, ΣΤΗΛΗ, κλπ. These "detail-preserving filters" work well, although the theory is somewhat heuristic. Αυτά τα φίλτρα διατήρησης λεπτοµερειών εργάζονται καλά, αν και η θεωρία είναι κάπως αόριστη MORPHOLOGICAL FILTERS ΜΟΡΦΟΛΟΓΙΚΑ ΦΙΛΤΡΑ Gray-level morphological filters extend binary morphological filters discussed in Module 2. Τα µορφολογικά φίλτρα επιπέδων φωτεινότητας είναι µια επέκταση των µορφολογικών φίλτρων που εξετάσαµε στο κεφαλαίο 2 As before everything comes from two basic operations: DILATE and ERODE. Όπως πριν, οτιδήποτε έρχεται από δυο βασικές λειτουργίες: ΙΑΣΤΟΛΗ και ΣΥΣΤΟΛΗ Given an image I and a window B, the DILATE and ERODE filters are defined by: ίνεται µια εικόνα Ι και ένα παράθυρο Β, τα φίλτρα ΙΑΣΤΟΛΗΣ και ΣΥΣΤΟΛΗΣ ορίζονται από: if J = DILATE[I, B] J(i, j) = MAX{B I(i, j)} (local maximum) and (τοπικο µεγιστο) if J = ERODE[I, B] J(i, j) = MIN{B I(i, j)} (local minimum) (τοπικο ελαχιστο) 6.18

19 The DILATE (ERODE) filters have the following properties: Τα φίλτρα ΙΑΣΤΟΛΗΣ (ΣΥΣΤΟΛΗΣ) έχουν τις ακόλουθες ιδιότητες: - Increase the size of peaks (valleys) Μεγαλώνουν το µέγεθος των κορυφών (κοιλάδων) - Decrease the size of, or eliminate, valleys (peaks) Μειώνουν το µέγεθος, ή περιορίζουν τις κοιλάδες (κορυφές) Examples will illustrate this well: Τα παραδείγµατα δείχνουν αυτό καλά: 6.19

20 DILATE[I, B] where B = ROW(3): Notice the elimination of most valleys. If we do it again to the same image row: Προσέξτε την µείωση των περισσότερων κοιλάδων. Αν το εφαρµόσουµε πάλι στην ίδια σειρά της εικόνας: DILATE[DILATE[I, B], B] ; B = ROW(3): Now all of the valleys or negative-going impulses are gone. Τώρα όλες οι κοιλάδες ή οι αρνητικές κρουστικές αιχµές αφαιρούνται 6.20

21 ERODE[I, B] where B = ROW(3): This time the positive-going impulse spikes are reduced or eliminated. If we do it again to the same image row: Αυτή την φορά οι θετικές κρουστικές αιχµές µειώνονται ή περιορίζονται. Αν το εφαρµόσουµε πάλι στην ίδια σειρά της εικόνας: ERODE[ERODE[I, B], B] ; B = ROW(3): Much more pronounced now... Usually it's not useful to iterate ERODE or DILATE many times. Πολύ πιο εκφραστικό τώρα Συνήθως δεν είναι χρήσιµο να κάνουµε πολλαπλές χρήσεις σε σειρά της ΣΥΣΤΟΛΗΣ και ΙΑΣΤΟΛΗΣ η διαστολή 6.21

22 DEMO CLOSE and OPEN Filters Φίλτρα ΚΛΕΙΣΙΜΑΤΟΣ και ΑΝΟΙΓΜΑΤΟΣ As in the case of binary processing, the CLOSE and OPEN filters are defined by: Όπως την υπόθεση της δυαδικής επεξεργασίας, τα φίλτρα ΚΛΕΙΣΙΜΑΤΟΣ και ΑΝΟΙΓΜΑΤΟΣ ορίζονται από: and J = CLOSE[I, B] = ERODE [DILATE [I, B], B] J = OPEN[I, B] = DILATE [ERODE [I, B], B] These are effective smoothing filters similar to the median filter. Αυτά είναι φίλτρα αποτελεσµατικής εξοµαλύνσεις όµοια µε το φίλτρο µεσαίου In fact the CLOSE (OPEN) filter has the following properties: Είναι γεγονός ότι το φίλτρο ΚΛΕΙΣΙΜΑΤΟΣ (ΑΝΟΙΓΜΑΤΟΣ) είχε τις ακόλουθες ιδιότητες - smooths noise εξοµαλύνει τον θόρυβο - preserves edges διατηρεί της ακµές - eradicates negative-going (positive-) going impulses περιορίζει αρνιτικές (θετικές) κρουστικές αιχµές - leaves the signal in its approximate form (ERODE and DILATE do not) αφήνει το σήµα κατά προσέγγιση στην µορφή του (η ΣΥΣΤΟΛΗ και ΙΑΣΤΟΛΗ δεν διατηρών την µορφή) 6.22

23 Some examples: (Για παραδειγµα CLOSE[I, B] where B = ROW(3): Preserves the signal except that the negative-going impulses are gone. ιατηρεί το σήµα εκτός του ότι οι αρνητικές-κρουστικές αιχµές αφαιρούνται OPEN[I, B] where B = ROW(3): Preserves the signal except the positive-going impulses are gone. 6.23

24 ιατηρεί το σήµα εκτός του ότι οι θετικές-κρουστικές αιχµές αφαιρούνται DEMO OPEN-CLOS and CLOS-OPEN Filters Φίλτρα ΑΝΟΙΓΜΑΤΟΣ-ΚΛΕΙΣΙΜΑΤΟΣ και ΚΛΕΙΣΙΜΑΤΟΣ-ΑΝΟΙΓΜΑΤΟΣ The OPEN-CLOS and CLOS-OPEN filters are defined by: Το φίλτρο ΑΝΟΙΓΜΑΤΟΣ-ΚΛΕΙΣΙΜΑΤΟΣ και ΚΛΕΙΣΙΜΑΤΟΣ-ΑΝΟΙΓΜΑΤΟΣ ορίζονται από: and J = OPEN-CLOS [I, B] = OPEN [CLOSE [I, B], B] J = CLOS-OPEN [I, B] = CLOSE [OPEN [I, B], B] These are effective smoothing filters very similar to the median filter. They are also very similar to each another. Αυτά είναι φίλτρα αποτελεσµατικής εξοµαλύνσεις πολύ παρόµοια µε το φίλτρο µεσαίου. Είναι επίσης πολύ παρόµοια αναµεταξύ τους. The CLOS-OPEN and OPEN-CLOS filters obey the following: Τα φίλτρα ΚΛΕΙΣΙΜΑΤΟΣ-ΑΝΟΙΓΜΑΤΟΣ και ΑΝΟΙΓΜΑΤΟΣ-ΚΛΕΙΣΙΜΑΤΟΣ υπακούουν στα ακόλουθα: - both smooth noise και τα δυο εξοµαλύνουν τον θόρυβο - both preserve edges και τα δυο διατηρούν τις ακµές - both eradicate positive and negative impulses και τα δυο περιορίζουν θετικές και αρνητικές κρουστικές αιχµές 6.24

25 - in 1-D, both equivalent to applying MED [I, B] multiple times στην 1-, και τα δυο είναι όµοια µε την εφαρµογή του MED [I, B] πολλές φορές Some examples: (Για παράδειγµα:) OPEN-CLOS[I, B] where B = ROW(3): Note the intense smoothing of noise (especially impulses) and the retention of the global image structure. Σηµειώστε την έντονη εξοµάλυνση του θορύβου(ειδικά για τις κρουστικές αιχµές) και της κράτηση της ολικής δοµής της εικόνας CLOS-OPEN[I, B] where B = ROW(3): 6.25

26 Note the different possible interpretations of "correct image structure" under CLOS-OPEN and OPEN-CLOS. Σηµειώστε την διαφορετική πιθανή επεξήγηση της σωστής δοµής της εικόνας κάτω από το ΚΛΕΙΣΙΜΟ-ΑΝΟΙΓΜΑ και το ΑΝΟΙΓΜΑ-ΚΛΕΙΣΙΜΟ DEMO 6.26

27 Morphological Interpretation Μορφολογικές Επεξηγήσεις DILATE and ERODE are true morphological filters in the sense discussed in Module 2. Η ΙΑΣΤΟΛΗ και ΣΥΣΤΟΛΗ είναι αληθινά µορφολογικά φίλτρα µε την αντίληψη όπως εξηγήσαµε στο κεφάλαιο 2 CLOSE, OPEN, CLOS-OPEN, and OPEN-CLOS are as well. Το ΚΛΕΙΣΙΜΟ, ΑΝΟΙΓΜΑ, ΚΛΕΙΣΙΜΟ-ΑΝΟΙΓΜΑ, και ΑΝΟΙΓΜΑ-ΚΛΕΙΣΙΜΟ είναι επίσης In fact they have the identical interpretation if we regard Είναι γεγονός ότι έχουν όµοια επεξήγηση αν θεωρήσουµε ότι - I as a 3-D binary image with value '1' below its "plot" and '0' above its "plot" Την Ι σαν 3- διαδική εικόνα µε τιµές 1 πιο κάτω απο τη γραφική παράσταση της και 0 πιο πάνω απο αυτή - B as a 2-D structuring element Το Β σαν 2- δοµικό στοιχείο Observe: (Παρατηρήστε:) 6.27

28 structuring element B image function I Leads to fast all-boolean algorithms/architectures. Οδηγεί σε γρήγορους πλήρους-boolean αλγόριθµους / αρχιτεκτονικές 6.28

29 ERODE: (Συστολή:) When the structuring element B lies completely above the image function, the AND of all values within its span is '0'. Όταν το δοµικό στοιχείο Β πέφτει ολόκληρο πάνω από την συνάρτηση της εικόνας, το AND των τιµών µέσα στο πεδίο του είναι 0 When the structuring element B lies completely below the image function, the AND of all values within its span is '1'. Όταν το δοµικό στοιχείο Β πέφτει ολόκληρο κάτω από την συνάρτηση της εικόνας το AND των τιµών µέσα στο πεδίο του είναι 1 Whenever the structuring element B crosses the boundary of the image function, the AND of all values is '0'. Οποτεδήποτε το δοµικό στοιχείο Β διαπερνά το όριο της συνάρτησης της εικόνας, το AND των τιµών είναι 0 DILATE: ( ιαστολή:) When the structuring element B lies completely above the image function, the OR of all values within its span is '0'. Όταν το δοµικό στοιχείο Β πέφτει ολόκληρο πάνω από την συνάρτηση της εικόνας, το OR των τιµών µέσα στο πεδίο του είναι 0 When the structuring element B lies completely below the image function, the OR of all values within its span is '1'. Όταν το δοµικό στοιχείο Β πέφτει ολόκληρο κάτω από την συνάρτηση της εικόνας το OR των τιµών µέσα στο πεδίο του είναι 1 Whenever the structuring element B crosses the boundary of the image function, the OR of all values is '1'. 6.29

30 Οποτεδήποτε το δοµικό στοιχείο Β διαπερνά το όριο της συνάρτησης της εικόνας, το OR των τιµών είναι 0 Application: Peak/Valley Detection Εφαρµογή: εύρεση κορυφών/κυλάδων Impulses are not always due to noise: sometimes, they arise from a bright target, or a dark object that is being sought. Οι κρουστικές αιχµές δεν είναι πάντα λόγο θορύβου: µερικές φορές, εµφανίζονται από ένα φωτεινό στόχο, ή σκοτεινό αντικείµενο το οποίο παρθικέ Suppose that we consider the images resulting from differencing the OPEN and CLOSE operations with the original image I: Υποθέτουµε ότι θεωρούµαι τις εικόνες του αποτελέσµατος της διαφοράς των λειτουργιών του ΑΝΟΙΓΜΑΤΟΣ και ΚΛΕΙΣΙΜΑΤΟΣ µε την αρχική εικόνα Ι: Jpeak = I - OPEN[I, B] Jvalley = CLOSE[I, B] - I As we'd expect, these operations highlight the peaks and valleys that occur. Όπως περιµέναµε, αυτές οι λειτουργίες τονίζουν τις κορυφές και κοιλάδες που υπάρχουν 6.30

31 I - OPEN[I, B] where B = ROW(3): CLOSE[I, B] - I where B = ROW(3): Simple thresholding (binarization) of these could be used to determine the peak and valley locations. Απλή κατωφλιωση (διαδικοποίηση) αυτών µπορεί να χρησιµοποιηθεί για την εύρεση της τοποθεσίας των κορυφών και των κοιλάδων DEMO 6.31

32 Drawbacks of MED, OPEN-CLOS, and CLOS-OPEN Μειονεκτήµατα του ΜΕΣΑΙΟΥ, ΑΝΟΙΓΜΑΤΟΣ-ΚΛΕΙΣΙΜΑΤΟΣ, και ΚΛΕΙΣΙΜΑΤΟΣ- ΑΝΟΙΓΜΑΤΟΣ These three filters are the most suitable nonlinear filters that we have studied so far for noise smoothing / image enhancement. Αυτά τα τρία φίλτρα είναι τα πιο κατάλληλα µη-γραµµικά φίλτρα τα οποία έχουµε µελετήσει µέχρι τώρα για εξοµάλυνση θορύβου/ποιοτηκή βελτίωση εικόνας They have the desirable property of retaining important image structures. Έχουν της επιθυµητή ιδιότητα να διατηρούν τη σηµαντική δοµή της εικόνας However, they must be used with care: using a too-large window can produce streaking and blotching effects which can appear as artifacts. Ωστόσο, πρέπει να χρησιµοποιηθούν µε φροντίδα: χρησιµοποιώντας πολύ-µεγάλα παράθυρα µπορεί να δηµιουργήσουν αποτελέσµατα ραβδώσεων και µουζαλων τα οποία µπορούν να εµφανιστούν σαν τεχνητά αποτελέσµατα While these filters are capable of smoothing most types of white noise, there are other filters that do a better job depending on the specific noise statistics. Ενώ αυτά τα φίλτρα είναι ικανά στη εξοµάλυνση πολλών τύπων λευκού θορύβου, υπάρχουν αλλά φίλτρα τα οποία κάνουν καλύτερη δουλεία που εξαρτώνται στην ειδική στατική θορύβου We will now explore a general class of related filters which Θα εξετάσουµε τώρα µε γενική τάξη σχετικών φίλτρων τα οποία - have reduced streaking/blotching effects περιορίζουν αποτελέσµατα ραβδώσεων και µουζαλων - can be "tuned" to specific noise statistics µπορούν να συντονιστούν σε ειδικές στατιστικές θορύβου 6.32

33 ORDER STATISTIC FILTERS ORDER STATISTIC ΦΙΛΤΡΑ Recall the definition of the OS of a set X = {X1,..., X2M+1} : Θυµηθείτε τον ορισµό των OS αίνος συνόλου X = {X1,..., X2M+1} : XOS = {X (1),..., X (2M+1) } such that (όπου) X (1) X (2M+1). If we define the linear combination of order statistics Αν ορίσουµε τον γραµµικό συνδυασµό των order statistic 2M+1 Σ i=1 Ai X(i) = A T XOS where A = [A1,..., A2M+1] T, then we have the basis for a new set of nonlinear filters called order statistic filters or OS filters. Όπου A = [A 1,..., A 2M+1 ] T, τότε έχουµε τις βάσεις για ένα νέο σύνολο µη-γραµµικών φίλτρων που ονοµάζονται φίλτρα order statistic ή OS φίλτρα The filter weights are always defined so that they sum to 1: Οι συντελεστές του φίλτρου ορίζονται πάντα έτσι ώστε να έχουν άθροισµα 1: 2M+1 Σ i=1 A i = A T e = 1 Recall that (Θυµηθείτε ότι) e = [1, 1,..., 1] T. This way if X = c e is constant then A T XOS = c. Με αυτό τον τρόπο αν X = c e είναι σταθερά τότε A T XOS = c. 6.33

34 The OS coefficients (that we will use) are symmetric: Οι συντελεστές του OS (οι οποίοι θα χρησιµοποιηθούν) είναι συµµετρική: A i = A 2M+2-i for 1 i 2M+1 Defining OS filters (Ορισµός των OS Φίλτρων) Given an image I, a window B, and a coefficient set A, the OS filter with coefficients A is defined by: ίνετε µια εικόνα Ι, και ένα παράθυρο Β, και το σύνολο συντελεστών Α, το OS φίλτρο µε συντελεστές Α ορίζεται από: If (Αν) J = OS A [I, B] J(i, j) = A T {B I(i, j)}os where (οπου) are the OS of (είναι τα OS του) {B I(i, j)}os {B I(i, j)}. These are just the ordered values of the pixels covered by the window B when it's centered at (i, j). Αυτές είναι απλός οι τιµές σε σειρά των στιγµάτων που καλύπτονται από το παράθυρο Β όταν είναι κεντραρισµένο στο (i, j). 6.34

35 General Properties of OS Filters Γενικές Ιδιότητες των OS Φίλτρων The behavior of an OS A [I, B] filter is largely determined by its coefficients or weights A. Η συµπεριφορά νιου OS A [I, B] φίλτρου ορίζεται µέγιστος από τους συντελεστές ή τα βάρη Α The OS filters OS A [I, B] include some important members: Τα OS φίλτρα OS A [I, B] περιλαµβάνουν µερικά σηµαντικά µέλη: - A = [0, 0,..., 0, 1, 0,..., 0] T is the median filter. (είναι το φίλτρο µεσαίου) - A = [ 1 2M +1,..., 2M 1+1 ]T is the average filter. (είναι το φίλτρο µέσου) Generally, if the coefficients A are concentrated near the middle: Γενικά, αν οι συντελεστές Α είναι συγκεντρωµένοι κοντά στην µέση: 0.5 A i i then OS A [I, B] will act much like a median filter: τότε το OS A [I, B] θα δρα σαν φίλτρο µεσαίου: - preserve edges well (διατηρεί τις ακµές καλά) - smooth noise (εξοµαλύνει τον θόρυβο) - reduce impulses (µειώνει τις κρουστικές αιχµές) BUT (ΑΛΛΑ) - will not "streak" or "blotch" as much δεν θα ραβδώνει ή µουντζώνει τόσο που 6.35

36 - will suppress non-impulse noise better (more later) θα συµπιέζει µη-κρουστικές αιχµές θορύβου καλύτερα (περισσότερα αργότερα) Generally, if the coefficients are widely distributed: Γενικά, αν οι συντελεστές είναι φαρδιά διακλαδωµένη: 0.15 A i i then OS A [I, B] will act much like an average filter: τότε το OS A [I, B] θα δρα σαν φίλτρο µέσου: - preserve edges poorly (better than AVE) φτωχή διατήρηση Άκµων (καλύτερη από το AVE) - smooth noise εξοµάλυνση θορύβου - blur impulses (not as badly as AVE) θαµπώνει κρουστικών αιχµών (όχι τόσο πολύ όπως το AVE) We will now explore some noise models that will provide insight into the utility of these filters. Θα εξετάσουµε τώρα µερικά µοντέλα θορύβου τα οποία θα µας δώσουν να καταλάβουµε καλύτερα τις ιδιότητες αυτών των φίλτρων 6.36

37 DIGITAL NOISE PROBABILITY MODELS ΜΟΝΤΕΛΑ ΠΙΘΑΝΟΤΗΤΟΣ ΨΗΡΙΑΚΟΥ ΘΟΡΥΒΟΥ Any channel (electrical wire, airwaves, optical fiber) is imperfect. Images sent over a channel always suffer a degradation of information: Κάθε κανάλι (ηλεκτρικό σύρµα, κύµατα, οπτικές ίνες) δεν είναι τέλειο. Οι εικόνες που στέλνονται µέσα από ένα κανάλι πάντα υποφέρουν από αλλοίωση πληροφοριών: (a) static (high-frequency noise or thermal noise) στατικά (υψηλής-συχνότητας θόρυβο ή θερµικός θόρυβος) (b) bit errors (λάθη στα bits) (c) blurring (defocusing) θάµπωµα (κακή εστίαση) These errors degrade Αυτά τα λάθη αλλοιώνουν - visual interpretation οπτική αντιπροσώπευση - computer image analysis υπολογιστική ανάλυση της εικόνας With nonlinear filters (of the types we'll consider here) the concern is usually (a) and (b), since linear filtering is well-suited for deconvolution (c). Με τα µη-γραµµικά φίλτρα (των τύπων που θα θεωρήσουµε εδώ) το ενδιαφέρον είναι συνήθως το (a) και το (b), αφού το γραµµικό φιλτράρισµα είναι καλά εφαρµοσµένο για το deconvolution (c). To understand the effects of these filters, we need to improve and generalize our noise models. Για να κατανόηση των αποτελεσµάτων αυτών των φίλτρων, πρέπει να καλυτερεύσουµε και γενικοποιήσουµε τα µοντέλα θορύβου µας 6.37

38 White Noise is Independent Noise Ο Λευκός Θόρυβος Είναι Ανεξάρτητος Θόρυβος We will assume the additive white noise model: Θα θεωρήσουµε το µοντέλο λευκού αθροιστικού θορύβου: J = I + N where I is an original image and N a digital white noise image. Όπου Ι είναι µια αρχική εικόνα και Ν η ψηφιακή εικόνα λευκού θορύβου In linear filtering, white noise suggests an average frequency description (a flat spectrum) Στο γραµµικό φιλτράρισµα, ο λευκός θόρυβος εισηγείται µια περιγραφή µέσης συχνότητας (ένα επίπεδο φάσµα) An equivalent meaning is that the elements of N: Μια ισοδύναµη επεξηγήσει είναι ότι τα στοιχεία του Ν: N(i, j) ; 0 i, j N-1 are independent. (είναι ανεξάρτητα) This means that as they (randomly) occur, any two noise elements (m, n) (p, q) Αυτό σηµαίνει ότι όπως (τυχαία) συµβαίνουν, κάθε δυο στοιχεία θορύβου (m, n) (p, q) N(m, n) and N(p, q) do not affect one another's values. They occur independently. εν επηρεάζονται οι τιµές του ενός από το άλλο. Συµβαίνουν ανεξάρτητα It can be shown mathematically that this is equivalent to the noise being white. Μπορεί να αποδεικτή µαθηµατικός ότι αυτό είναι ισοδύναµο µε το θόρυβο που είναι λευκός 6.38

39 Probability Mass Function (PMF) of Noise Συνάρτηση Πιθανότητας Μάζας (PMF) του Θορύβου We shall model the noise as coming from a discrete set of integers (since it has been digitized): Θα σχεδιάσουµε το θόρυβο όπως έρχεται από ένα ψηφιακό σύνολο ακέραιων (αφού έχει ωηφιοποιηθεί): Range of N = R N = {Q 1, Q 1 +1,..., Q 2-1, Q 2 } Although other possibilities are sometimes meaningful, we will assume that the noise range is either symmetric around zero (for additive noise models): Αν και άλλες πιθανότητες είναι µερικές φορές σηµαντικές θα θεωρήσουµε ότι το διάστηµα του θορύβου είναι είτε συµµετρικό γύρο από το µηδέν (για µοντέλα αθροιστικού θορύβου): R N = {-Q,..., -1, 0, 1,..., Q} or non-negative (for multiplicative noise models): ή µη-αρνητικά (για µοντέλα θορύβου πολλαπλασιασµού): R N = {0, 1,..., Q} Remember, if the noise range of N is R N, then each noise element N(i, j) (when it occurs) must satisfy Να θυµάστε, αν το διάστηµα Ν του θορύβου είναι R N, τότε κάθε στοιχείο θορύβου N(i, j) (όταν συµβεί) ικανοποιεί N(i, j) R N 6.39

40 Probability Mass Function of Noise Συνάρτηση Πιθανότητας Μάζας Θορύβου The probability mass function or PMF p N (q) is a model that describes the probabilities that each noise element N(i, j) will take a certain value in R N. Η συνάρτηση πιθανότητας µάζας ή PMF p N (q) είναι ένα µοντέλο το οποίο επεξηγεί τις πιθανότητες ότι κάθε στοιχείο θορύβου N(i, j) θα πάρει συγκεκριµένη τιµή στο R N. It is read ( ιαβάζεται) p N (q) = Pr{N(i, j) = q} = The probability that N(i, j) = q where q R N. We will assume that all of the elements of the noise N(i, j) obey the identical probability model - they all have the same PMF. Θα θεωρήσουµε ότι όλα τα στοιχεία του θορύβου N(i, j) υπακούουν το µοντέλο ταυτόσηµων πιθανοτήτων έχουν όλες το ίδιο PMF. This is why p N (q) is not given as a function of (i, j). Αυτός είναι ο λόγος γιατί το p N (q) δεν δίνεται σαν συνάρτηση του (i, j). 6.40

41 Properties of PMF (Ιδιότητες του PMF) We assume only two properties of the PMF Θεωρούµαι µόνο δυο ιδιότητες του PMF (1) p N (q) 0 for all q R N Q 2 (2) Σ p N (q) = 1 (the probabilities sum to one) q=q 1 (οι πιθανοτητες εχουν αθρισµα 1) Note that (1) and (2) imply that p N (q) 1 for all q R N Σηµειώστε ότι (1) και (2) συνεπάρει ότι p N (q) 1 για όλα τα q R N For noise that has a range that is symmetric around zero: Για θόρυβο που έχει διάστηµα που είναι συµµετρικό γύρο από το µηδέν: R N = {-Q,..., -1, 0, 1,..., Q} we also assume that the PMF p N (q) is a symmetric function επίσης υποθέτουµε ότι η PMF p N (q) είναι µια συµµετρική συνάρτηση p N (q) = p N (-q) This is quite reasonable since in most cases there is no physical reason to believe that an image pixel will be perturbed upward (by an amount q) with a greater or lesser probability then downward (by an amount -q). Αυτό είναι κάπως λογικό αφού στις περισσότερες περιπτώσεις δεν υπάρχει φυσικός λόγος για να πιστεύουµε ότι ένα στίγµα εικόνας θα κινηθεί πάνω (µε µέγεθος q) µε µεγαλύτερη ή µικρότερη πιθανότητα από κάτω (µε µέγεθος q) "Typical" plots of PMF models for image noise follow: 6.41

42 Ακολουθούν τυπικές γραφικές παραστάσεις των µοντέλων PMF για εικόνες θορύβου Digital Gaussian PMF (Ψηφιακό Gaussian PMF) Here (Εδώ) R N = {-Q,..., -1, 0, 1,..., Q} and (και) p N (q) = CG exp [-(q/σ) 2 ] = CG e -(q/σ)2 where (όπου) CG = 1 / Q Σ q=-q e -(q/σ)2 and σ > 0 is a scaling parameter (Q = 12 and σ = 5 here). και σ > 0 είναι µια παράµετρος κλιµάκωσης (Q = 12 και σ = 5 εδώ) p (q) N q Also called the normal distribution. Επίσης καλείται κανονική διανοµή 6.42

43 Comments on Gaussian PMF Σχόλια για το Gaussian PMF Gaussian noise is the most common type of noise that occurs in nature. O Gaussian θόρυβος είναι ο πιο κοινός τύπος θορύβου ο οποίος συµβαίνει στην φύση It is found in nature extensively. Βρίσκεται εκτενώς στην φύση It is the usual type of noise found in electrical circuits. Είναι ο σύνηθες τύπος θορύβου που βρίσκεται σε ηλεκτρικά κυκλώµατα Thermal noise is usually Gaussian. Ο θερµικός θόρυβος είναι συνήθως Gaussian 6.43

44 Digital Laplacian PMF Ψηφιακό Laplacian PMF Here (Εδώ) and (και) R N = {-Q,..., -1, 0, 1,..., Q} p N (q) = CL exp (- q /σ) = CL e - q /σ where (οπου) CL = 1 / Q Σ q=-q e - q /σ and σ > 0 is a scaling parameter (Q = 12 and σ = 5 here). Και σ > 0 είναι µια παράµετρος κλιµάκωσης (Q = 12 και σ = 5 εδώ) p (q) N q Also known as the double-exponential or also two-sided exponential PMF. Επίσης γνωστός σαν διπλός-εκθετικός ή επίσης δίπλευρο εκθετικό PMF 6.44

45 Comments on Laplacian PMF Σχόλια για το Laplacian PMF Laplacian noise is usually used to model impulsive noise. Ο Laplacian θόρυβος συνήθως χρησιµοποιείται για σχεδίαση κρουστικού θορύβου True impulse noise occurrences take a large number of small-amplitude values, and a (relatively) large number of high-amplitude values - but not so many in between. Τα συµβάντα των αληθινών κρουστικών θορύβων παίρνουν ένα µεγάλο αριθµό από µικρού- µεγέθους τιµές, και ένα (σχετικά) µεγάλο αριθµό από µεγάλου-µεγέθους τιµές αλλά όχι ρώσους πολλούς στο ενδιάµεσο Digital Exponential PMF Ψηφιακό Εκθετικό PMF Here (Εδώ) and (και) R N = {0, 1,..., Q} p N (q) = CL exp (-q/σ) = CL e -q/σ where (όπου) CL = 1 / Q Σ q= 0 e -q/σ and σ > 0 is a scaling parameter (Q = 12 and σ = 5 here). και σ > 0 είναι παράµετρος κλιµάκωσης (Q = 12 και σ = 5 εδώ). 6.45

46 0.2 p (q) N q Also called the one-sided exponential PMF. Επίσης καλείται και µονόπλευρο εκθετικό PMF Comments on Exponential PMF Σχόλια για το Εκθετικό PMF Exponential noise is usually used to model multiplicative noise. Ο εκθετικός θόρυβος συνήθως χρησιµοποιείται για σχεδίαση πολλαπλασιαστικού θορύβου We will study multiplicative exponential noise near the end of this module. Θα εξετάσουν τον πολλαπλασιαστικό θόρυβο στο τέλος αυτού του κεφαλαίου 6.46

47 Salt-and-Pepper Noise Θόρυβος αλάτι-και-πιπέρι We will consider one other type of noise known as salt-and-pepper noise. It is a model for significant bit errors. Θα θεωρήσουµε κάποιο τύπο θορύβου γνωστό σαν θόρυβος αλάτι-και-πιπέρι. Είναι ένα µοντέλο για λάθη σηµαντικών bits In the transmission of digital image data, individual significant bit errors can randomly occur: Στην µεταφορά πληροφοριών ψηφιακών εικόνων, ξεχωριστά σηµαντικά λάθη σε bit µπορούν να συµβούν τυχαία: '1' '0' '0' '1' ('light' 'dark') ('dark' 'light') This may be due to thermal effects or even gamma rays. Αυτό µπορεί να είναι λόγο θερµικών αποτελεσµάτων ή ακόµα ακτιων γαµµα Salt and pepper noise is not additive. We model it as follows. Ο θόρυβος αλάτι-και-πιπέρι δεν είναι αθροιστικώς. Τον σχεδιάζουµε ως ακολούθως Let I max and I min be the largest (brightest) and smallest (darkest) allowable gray levels in the image I (usually 255 and 0, resp.) Ας ορίσουµε το I max και I min να είναι το µέγιστο (φωτεινότερο) και ελάχιστο (σκοτεινότερο) επιτρεπτό επίπεδο φωτεινότητας στην εικόνα Ι (συνήθως 255 και 0, αντίστοιχα) Define the simple PMF Ορίζουµε το απλό PMF p s-p (q) = { (1-p)/2 p (1-p)/2 ;q=-1 ;q=0 ;q=1 Salt-and-pepper noise corrupts the image in the following way. If J is the noisy image, then 6.47

48 Ο θόρυβος αλάτι-και-πιπέρι αλλοιώνει την εικόνα µε τον ακόλουθο τρόπο. Αν J είναι η εικόνα ου περιέχει θόρυβο, τότε ={ I min J(i, j) I(i, j) I max ;q=-1 ;q=0 ;q=1 This is a simple model for the worst case type of bit errors. Αυτό είναι ένα απλό µοντέλο για τον χειρότερο τύπο λαθών σε bit Comments on Salt-and-Pepper Noise Σχόλια για τον Θόρυβο Αλάτι-και-Πιπέρι Salt-and-pepper noise is the extreme model for impulse noise. Ο θόρυβος αλάτι-και-πιπέρι είναι το µοντέλο άκρου για κρουστικό θόρυβο ΠΑΡΑ ΕΙΓΜΑ ΘΟΡΥΒΟΥ ΑΛΑΤΙ-ΚΑΙ-ΠΙΠΕΡΙ ΣΤΟ MATLAB I = imread( exampleim.tif ); J = imnoise(i, salt & perrer, 0.02); imshow(i); figure, imshow(j); NOISE Examples (Παραδείγµατα θορύβου) NOISE DEMO 6.48

49 Statistical Mean (Στατιστικός Μεσαίος) The first moment or statistical mean of a noise process N with PMF p N (q) is denoted and defined Η πρώτη στιγµή ή ο στατιστικός µεσαίος µιας λειτουργίας θορύβου Ν µε PMF p N (q) εκφράζεται και ορίζεται µ N = Σ q p N (q) where summation Σ occurs over all q R N. όπου το άθροισµα Σ συµβαίνει σε όλα τα q R N. It is a measure of where the noise tends to congregate - the value that the noise occurrences cluster around. Είναι µια γεώτρησης όπου ο θόρυβος τείνει να συναθροίζει την τιµή όπου τα συµβάντα θορύβου συγκεντρώνονται γύρο For a symmetric PMF, Για ένα συµµετρικό PMF, µ N = Q Σ q=-q q p N (q) = 0 (why?) The Gaussian and Laplacian PMF models are zero-mean. Τα µοντέλα PMF Gaussian και Laplacian έχουν µηδενικό-µεσαίο For the exponential PMF, it can be shown (we won't) that the mean is equal to the parameter σ.* Για το εκθετικό PMF, µπορεί να αποδεικτή (δεν θα το δήξουµε) ότι ο µεσαίος είναι ίσος µε την παράµετρο σ.* * Approximately. For the continuous distribution, it is exact. 6.49

50 Κατά προσέγγιση. Για τη συνεχής διανοµή, είναι ακριβής 6.50

51 Variance ( ιάφορα) The second central moment or variance of a noise process N with PMF p N (q) is denoted and defined Η δεύτερη κεντρική ροπή ή µιας λειτουργίας θορύβου Ν µε PMF p N (q) εκφράζεται και ορίζεται ως σ 2 N = Σ (q - µ N )2 p N (q) where summation Σ occurs over all q R N. όπου το άθροισµα Σ συµβαίνει σε όλα τα q R N. It is a measure of how widely the noise tends to be scattered - σ N, also known as standard deviation, is the average distance from the mean that the noise falls. Είναι µια µέτρηση του πόσο φαρδιά τείνει να διασκορπιστεί ο θόρυβος - σ N, επίσης γνωστό σαν σταθερή απόκλιση, είναι η µέση απόσταση από τον µεσαίο που έχει ο θόρυβος For symmetric (zero-mean) noise, the variance is just Για συµµετρικό (µηδενικό-µεσαίο) θόρυβο, η διάφορα είναι απλός σ 2 N = Σ q2 p N (q) For Gaussian, Laplacian, and exponential PMFs, the variance can be shown (we won't) to be equal to σ 2,* where σ is the scaling parameter given earlier for each of the three models. Για Gaussian, Laplacian, και εκθετικά PMFs, το µπορεί να αποδεικτή (δεν θα το δήξουµε) να είναι ίσος µε σ 2,* όπου το σ είναι παράµετρος κλίµακας που δόθηκε πιο πριν για κάθε ένα από τα 3 µοντέλα *Approximately for the discrete PMFs. 6.51

52 *Κατά προσέγγιση για τα ψηφιακά PMFs. Variance Reduction (Μείωση ιαφοράς) The goal of a smoothing filter can be stated as Ο σκοπός ενός φίλτρου εξοµαλύνσεις µπορεί να εκφραστεί ως reduce the noise variance µείωση της διαφοράς θορύβου OS filters can be characterized by their ability to reduce the noise variance. Τα OS φίλτρα µπορούν να χαρακτηριστούν για την ικανότητα τους να µειόνων το θορύβου Certain choices of the coefficients A of OS A [J, B] are appropriate for certain noise PMFs using the variance reduction criterion. Ορισµένες επιλογές των συντελεστών Α του OS A [J, B] είναι κατάλληλες για ορισµένα PMFs θορύβων, χρησιµοποιώντας το κριτήριο µείωση του. Average Filter (Φίλτρο Μέσου) The average filter is best at reducing Gaussian noise variance. Το φίλτρο µέσου είναι το καλύτερο στην µείωση του Gaussian θορύβου If B contains 2M+1 elements, then AVE[J, B] will reduce (divide) the variance of Gaussian noise by a factor of Αν Β περιλαµβάνει 2M+1 στοιχεία, τότε AVE[J, B] θα µειώσει (διαιρέσει) το του θορύβου Gaussian µε µέγεθος 2M+1 In fact, AVE[J, B] will reduce the noise variance of any kind of white noise by a factor of Είναι γεγονός ότι, AVE[J, B] θα µειώσει το του θορύβου για κάθε είδος λευκού θορύβου µε µέγεθος 2M

53 This may seem pretty good, but for non-gaussian PMFs other OS filters can do much better. Αυτό µπορεί να φανεί πολύ καλό, αλλά για µη-gaussian PMFs αλλά OS φίλτρα µπορούν να είναι πολύ καλύτερα Also: too large a window B will severely blur the image, so the noise variance can only be reduced a certain amount. Επίσης: πολύ µεγάλο παράθυρο Ω θα θολώσει σηµαντικά την εικόνα, έτσι το του θορύβου µπορεί µόνο να µειώσει ορισµένο µέγεθος Median Filter (Φίλτρο Μεσαίου) The median filter MED[J, B] is best for reducing the variance of Laplacian noise. Το φίλτρο µεσαίου MED[J, B] είναι το καλύτερο για την µείωση του του θορύβου Laplacian If B contains 2M+1 elements, then MED[J, B] will reduce the variance of Laplacian noise by a factor of (approximately) Αν Β περιέχει 2M+1 στοιχεία, τότε το MED[J, B] θα µειώσει το του Laplacian θορύβου µε µέγεθος (κατά προσέγγιση) Quite an improvement! (Κάπως σηµαντικό) 2 (2M+1) MED[J, B] is fantastic for removing salt-and-pepper noise. There is no better filter. Το MED[J, B] είναι φανταστικό για αφαίρεση θορύβου αλάτι-και-πιπέρι. εν υπάρχει καλύτερο φίλτρο However, if the noise is Gaussian, then MED[J, B] will reduce the variance by a factor of (approximately) Ωστόσο, αν ο θόρυβος είναι Gaussian, τότε το MED[J, B] θα µειώσει η διάφορα µε µέγεθος (κατά προσέγγιση) 6.53

54 (0.75) (2M+1) This is also quite a difference! Αυτό έχει επίσης κάποια διάφορα! We can claim, based on this, and on the edge-preserving property, that MED[J, B] is generally superior to AVE[J, B] (or any other linear filter!) for reducing white noise in images. Συµπεραίνουµε, µε βάση αυτό, και στην ιδιότητα διατήρησης ακµών, ότι το MED[J, B] είναι γενικά ανώτερο από το AVE[J, B] (ή κάποιου αλλού γραµµικού φίλτρου!) για µείωση λευκού θορύβου στις εικόνες Selecting the Filter Coefficients Επιλογή των Συντελεστών του φίλτρου Without an intensive statistical analysis it is difficult to pick the best OS A [J, B] filter for a given noisy image. Χωρίς µια βαθιά στατιστική ανάλυση είναι δύσκολο να διαλέξουµε το καλύτερο OS A [J, B] φίλτρο για µια δεδοµένη εικόνα µε θόρυβο Fortunately, the strongest property of certain OS filters is the fact that they are "robust." Ευτυχώς, η ισχυρότερη ιδιότητα µερικών OS φίλτρων είναι το γεγονός ότι είναι ανθεκτικές A filter is robust if it does close to optimal performance for a wide variety of noise types. Ένα φίλτρο είναι ανθεκτικό αν κοντεύει στην ιδανική εκτέλεση για µια φαρδιά ποικιλία τύπων θορύβου Filters OS A [J, B] have been shown to be remarkably "robust" for coefficients A that resemble a cross between MED[J, B] and AVE[J, B]. Τα φίλτρα OS A [J, B] έχουν αποδεικτή να είναι αξιοσηµείωτα ανθεκτικά για συντελεστές Α οι οποίοι είναι µεταξύ MED[J, B] και AVE[J, B]. 6.54

55 A Robust OS Filter Ένα Ανθεκτικό OS Φίλτρο The simplest example is the inner average OS filter INNER_AVEP[J, B] with coefficients Το απλούστερο παράδειγµα είναι το OS φίλτρο εσωτερικού µέσου όρου INNER_AVEP[J, B] µε συντελεστές A = [0, 0,..., 1,..., 2P+1 1,..., 0, 0] T 2P+1 where P < M (usually P M/2). όπου P < M (συνήθως P M/2). This is similar to both Αυτό είναι όµοιο και µε τα δυο - AVE[J, B], since several of the OS are averaged. If P = M, then INNER_AVEM[J, B] = AVE[J, B] AVE[J, B], αφού παίρνεται ο µέσος όρος µερικών OS. Αν P = M, τότε INNER_AVEM[J, B] = AVE[J, B] - MED[J, B], since only inner OS are averaged. If P = 0, then INNER_AVE0[J, B] = MED[J, B] MED[J, B], αφού παίρνεται ο µέσος όρος µόνο των εσωτερικών OS. Αν P = 0, τότε INNER_AVE0[J, B] = MED[J, B] The inner average smooths noise will (including impulse noise) and preserves edges well. Το φίλτρο µέσου εσωτερικού όρου εξοµαλύνει το θόρυβο καλά (περιλαµβανόµενου του κρουστικού θορύβου) και διατηρεί τις ακµές καλά For both Gaussian and Laplacian noise, INNER_AVEM/2[J, B] will reduce the variance by a factor Και για τους δυο τον Gaussian και τον Laplacian θόρυβο, το, INNER_AVEM/2[J, B] θα µειώνει το µε µέγεθος 6.55

56 > (0.9) OPTIMAL where OPTIMAL is (2M+1) for Gaussian noise and 2 (2M+1) for Laplacian noise. όπου Ι ΑΝΙΚΟ είναι (2M+1) για τον Gaussian θόρυβο και 2 (2M+1) για τον Laplacian θόρυβο Trimmed Mean DEMO (slow) HOMOMORPHIC FILTERING ΜΟΡΦΟΛΟΓΙΚΟ ΦΙΛΤΡΑΡΙΣΜΑ We will now assume a multiplicative white noise model: Θα εξετάσουµε τώρα µοντέλα πολλαπλασιαστικού λευκού θορύβου J = I N where I is the original image and N is a white noise image. Όπου Ι είναι η αρχική εικόνα και Ν είναι η εικόνα λευκού θορύβου Thus (Έτσι) J(i, j) = I(i, j) N(i, j) for 0 i, j N-1. With multiplicative noise there is no hope of using linear filtering directly, since the noise and image spectra are not added. Με τον πολλαπλασιαστικό θόρυβο δεν υπάρχει ελπίδα χρησιµοποίησης ευθέως γραµµικού φιλτραρίσµατος, αφού ο θόρυβος και το φάσµα εικόνας δεν προσθέτονται Multiplicative noise is always positive since the sensed image intensities must be. Ο πολλαπλασιαστικός θόρυβος είναι πάντα θετικός αφού η αισθητές εντάσεις της εικόνας πρέπει να είναι θετικές Multiplicative noise often has an exponential PMF in practical applications, such as radar, laserbased imaging, electron microscopy, etc. 6.56

57 Ο πολλαπλασιαστικός θόρυβος συχνά έχει εκθετικά PMF σε πρακτικές εφαρµογές, όπως ραντάρ, εικόνες µε βάση-laser, µικροσκόπιο ηλεκτρόνιου, κλπ. Synthetic aperture radar images are an excellent example: 1 2 Οι εικόνες συνθετικού ανοίγµατος ραντάρ είναι ένα καταπληκτικό παράδειγµα: 1 2 Multiplicative noise appears much worse in bright image regions (since it multiplies the gray levels) and can be hardly noticeable in dark regions. Ο πολλαπλασιαστικός θόρυβος εµφανίζεται πολύ χειρότερος σε φωτεινά µέρη εικόνων (αφού πολλαπλασιάζει τα επίπεδα φωτεινότητας) και µπορεί δύσκολα να παρατηρηθεί σε σκοτεινά µέρη The Homomorphic Approach Η Οµοιοµορφική Προσέγγιση Homomorphic filtering is succinctly expressed by the following diagram: Το οµοιοµορφικό φιλτράρισµα εκφράζεται µε το ακόλουθο διάγραµµα: noisy image J logarithmic point operation log( ) linear or nonlinear filter exponential point operation exp( ) smoothed image K We'll study each step: Θα µελετήσουµε κάθε βήµα: 6.57

58 Logarithmic Point Operation Λογαριθµική Λειτουργία Απλού Στίγµατος The idea is similar to the logarithmic point operations used in histogram improvement: de-emphasize the dominant bright image pixels. Η ιδέα είναι παρόµοια µε τις Λογαριθµικές Λειτουργίες απλού στίγµατος που χρησιµοποιήσαµε στην διόρθωση ιστογράµµατος: αφαίρεση της έµφασης από τα επικρατέστερα φωτεινά στίγµατα της εικόνας More than that! Since log (a b) = log (a) + log (b), we have that Περισσότερο από αυτά! Αφού log (a b) = log (a) + log (b), έχουµε ότι log [J(i, j)] = log [I(i, j)] + log [N(i, j)] for 0 i, j N-1. So: the point operation converts the problem into that of smoothing Έτσι: η λειτουργία απλού στίγµατος µετατρέπει το πρόβληµα σε αυτό της εξοµαλύνσεις J = I + N Where (όπου) I (i, j) = log [I(i, j)] N (i, j) = log [N(i, j)] J (i, j) = log [J(i, j)] Importantly, N is still a white noise image. Σηµαντικό, N είναι ακόµα µια εικόνα λευκού θορύβου This is just the additive white noise problem studied earlier! Αυτό είναι απλός ένα πρόβληµα αθροιστικού λευκού θορύβου που µελετήσαµε πιο πριν! 6.58

59 Filtering (Φιλτράρισµα) The filtering problem here is very similar to the linear and nonlinear ones studied earlier in this Module and in Module 5. Το πρόβληµα φιλτραρίσµατος εδώ είναι πολύ όµοιο µε τα γραµµικά και µη-γραµµικά προβλήµατα που µελετήσαµε πιο πριν σε αυτό το κεφαλαίο και το κεφαλαίο 5 Depending on the noise statistics, AVE[J, B], MED[J, B], OS A [J, B], OPEN-CLOS[J, B], CLOS-OPEN[J, B] or other linear or nonlinear filter may be used. Εξαρτάται από τις στατιστικές του θορύβου, AVE[J, B], MED[J, B], OS A [J, B], OPEN- CLOS[J, B], CLOS-OPEN[J, B] ή αλλά γραµµικά ή µη-γραµµικά φίλτρα µπορεί να χρησιµοποιηθούν The theoretical performance of these various filters in homomorphic systems still remains an open question. Η θεωρητικοί εκτέλεση αυτών των διάφορων φίλτρων στα οµοιοµορφία συστήµατα µένει ακόµα µια ανοικτή ερώτηση Most will work reasonably well; in particular MED[J, B] has been observed to be effective if the noise is exponential. Πολλά φίλτρα θα εργάζονται λογικά καλά, ιδιαίτερα MED[J, B] έχει παρατηρηθεί να είναι αποτελεσµατικό αν ο θόρυβος είναι εκθετικός The objective is of course to produce a filtered result Ο σκοπός είναι σίγουρα να παράξουµε ένα φιλτραρισµένο αποτέλεσµα F[J, B] I 6.59

60 Exponential Point Operation Εκθετική Λειτουργία Απλού Στίγµατος Assuming that the filtering operation succeeds, i.e., Θεωρώντας ότι η λειτουργία φιλτραρίσµατος είναι επιτυχηµένοι, π.χ., F[J, B] I then the final output image K will approximate τότε η τελική εικόνα εξόδου Ι θα είναι κατά προσέγγιση K(i, j) exp [I (i, j)] = I(i, j) DEMO 6.60

2 Composition. Invertible Mappings

2 Composition. Invertible Mappings Arkansas Tech University MATH 4033: Elementary Modern Algebra Dr. Marcel B. Finan Composition. Invertible Mappings In this section we discuss two procedures for creating new mappings from old ones, namely,

Διαβάστε περισσότερα

ΚΥΠΡΙΑΚΗ ΕΤΑΙΡΕΙΑ ΠΛΗΡΟΦΟΡΙΚΗΣ CYPRUS COMPUTER SOCIETY ΠΑΓΚΥΠΡΙΟΣ ΜΑΘΗΤΙΚΟΣ ΔΙΑΓΩΝΙΣΜΟΣ ΠΛΗΡΟΦΟΡΙΚΗΣ 19/5/2007

ΚΥΠΡΙΑΚΗ ΕΤΑΙΡΕΙΑ ΠΛΗΡΟΦΟΡΙΚΗΣ CYPRUS COMPUTER SOCIETY ΠΑΓΚΥΠΡΙΟΣ ΜΑΘΗΤΙΚΟΣ ΔΙΑΓΩΝΙΣΜΟΣ ΠΛΗΡΟΦΟΡΙΚΗΣ 19/5/2007 Οδηγίες: Να απαντηθούν όλες οι ερωτήσεις. Αν κάπου κάνετε κάποιες υποθέσεις να αναφερθούν στη σχετική ερώτηση. Όλα τα αρχεία που αναφέρονται στα προβλήματα βρίσκονται στον ίδιο φάκελο με το εκτελέσιμο

Διαβάστε περισσότερα

4.6 Autoregressive Moving Average Model ARMA(1,1)

4.6 Autoregressive Moving Average Model ARMA(1,1) 84 CHAPTER 4. STATIONARY TS MODELS 4.6 Autoregressive Moving Average Model ARMA(,) This section is an introduction to a wide class of models ARMA(p,q) which we will consider in more detail later in this

Διαβάστε περισσότερα

Problem Set 3: Solutions

Problem Set 3: Solutions CMPSCI 69GG Applied Information Theory Fall 006 Problem Set 3: Solutions. [Cover and Thomas 7.] a Define the following notation, C I p xx; Y max X; Y C I p xx; Ỹ max I X; Ỹ We would like to show that C

Διαβάστε περισσότερα

Other Test Constructions: Likelihood Ratio & Bayes Tests

Other Test Constructions: Likelihood Ratio & Bayes Tests Other Test Constructions: Likelihood Ratio & Bayes Tests Side-Note: So far we have seen a few approaches for creating tests such as Neyman-Pearson Lemma ( most powerful tests of H 0 : θ = θ 0 vs H 1 :

Διαβάστε περισσότερα

CHAPTER 25 SOLVING EQUATIONS BY ITERATIVE METHODS

CHAPTER 25 SOLVING EQUATIONS BY ITERATIVE METHODS CHAPTER 5 SOLVING EQUATIONS BY ITERATIVE METHODS EXERCISE 104 Page 8 1. Find the positive root of the equation x + 3x 5 = 0, correct to 3 significant figures, using the method of bisection. Let f(x) =

Διαβάστε περισσότερα

ΚΥΠΡΙΑΚΗ ΕΤΑΙΡΕΙΑ ΠΛΗΡΟΦΟΡΙΚΗΣ CYPRUS COMPUTER SOCIETY ΠΑΓΚΥΠΡΙΟΣ ΜΑΘΗΤΙΚΟΣ ΔΙΑΓΩΝΙΣΜΟΣ ΠΛΗΡΟΦΟΡΙΚΗΣ 6/5/2006

ΚΥΠΡΙΑΚΗ ΕΤΑΙΡΕΙΑ ΠΛΗΡΟΦΟΡΙΚΗΣ CYPRUS COMPUTER SOCIETY ΠΑΓΚΥΠΡΙΟΣ ΜΑΘΗΤΙΚΟΣ ΔΙΑΓΩΝΙΣΜΟΣ ΠΛΗΡΟΦΟΡΙΚΗΣ 6/5/2006 Οδηγίες: Να απαντηθούν όλες οι ερωτήσεις. Ολοι οι αριθμοί που αναφέρονται σε όλα τα ερωτήματα είναι μικρότεροι το 1000 εκτός αν ορίζεται διαφορετικά στη διατύπωση του προβλήματος. Διάρκεια: 3,5 ώρες Καλή

Διαβάστε περισσότερα

Homework 3 Solutions

Homework 3 Solutions Homework 3 Solutions Igor Yanovsky (Math 151A TA) Problem 1: Compute the absolute error and relative error in approximations of p by p. (Use calculator!) a) p π, p 22/7; b) p π, p 3.141. Solution: For

Διαβάστε περισσότερα

Statistical Inference I Locally most powerful tests

Statistical Inference I Locally most powerful tests Statistical Inference I Locally most powerful tests Shirsendu Mukherjee Department of Statistics, Asutosh College, Kolkata, India. shirsendu st@yahoo.co.in So far we have treated the testing of one-sided

Διαβάστε περισσότερα

3.4 SUM AND DIFFERENCE FORMULAS. NOTE: cos(α+β) cos α + cos β cos(α-β) cos α -cos β

3.4 SUM AND DIFFERENCE FORMULAS. NOTE: cos(α+β) cos α + cos β cos(α-β) cos α -cos β 3.4 SUM AND DIFFERENCE FORMULAS Page Theorem cos(αβ cos α cos β -sin α cos(α-β cos α cos β sin α NOTE: cos(αβ cos α cos β cos(α-β cos α -cos β Proof of cos(α-β cos α cos β sin α Let s use a unit circle

Διαβάστε περισσότερα

EE512: Error Control Coding

EE512: Error Control Coding EE512: Error Control Coding Solution for Assignment on Finite Fields February 16, 2007 1. (a) Addition and Multiplication tables for GF (5) and GF (7) are shown in Tables 1 and 2. + 0 1 2 3 4 0 0 1 2 3

Διαβάστε περισσότερα

5.4 The Poisson Distribution.

5.4 The Poisson Distribution. The worst thing you can do about a situation is nothing. Sr. O Shea Jackson 5.4 The Poisson Distribution. Description of the Poisson Distribution Discrete probability distribution. The random variable

Διαβάστε περισσότερα

Instruction Execution Times

Instruction Execution Times 1 C Execution Times InThisAppendix... Introduction DL330 Execution Times DL330P Execution Times DL340 Execution Times C-2 Execution Times Introduction Data Registers This appendix contains several tables

Διαβάστε περισσότερα

ST5224: Advanced Statistical Theory II

ST5224: Advanced Statistical Theory II ST5224: Advanced Statistical Theory II 2014/2015: Semester II Tutorial 7 1. Let X be a sample from a population P and consider testing hypotheses H 0 : P = P 0 versus H 1 : P = P 1, where P j is a known

Διαβάστε περισσότερα

Main source: "Discrete-time systems and computer control" by Α. ΣΚΟΔΡΑΣ ΨΗΦΙΑΚΟΣ ΕΛΕΓΧΟΣ ΔΙΑΛΕΞΗ 4 ΔΙΑΦΑΝΕΙΑ 1

Main source: Discrete-time systems and computer control by Α. ΣΚΟΔΡΑΣ ΨΗΦΙΑΚΟΣ ΕΛΕΓΧΟΣ ΔΙΑΛΕΞΗ 4 ΔΙΑΦΑΝΕΙΑ 1 Main source: "Discrete-time systems and computer control" by Α. ΣΚΟΔΡΑΣ ΨΗΦΙΑΚΟΣ ΕΛΕΓΧΟΣ ΔΙΑΛΕΞΗ 4 ΔΙΑΦΑΝΕΙΑ 1 A Brief History of Sampling Research 1915 - Edmund Taylor Whittaker (1873-1956) devised a

Διαβάστε περισσότερα

HOMEWORK 4 = G. In order to plot the stress versus the stretch we define a normalized stretch:

HOMEWORK 4 = G. In order to plot the stress versus the stretch we define a normalized stretch: HOMEWORK 4 Problem a For the fast loading case, we want to derive the relationship between P zz and λ z. We know that the nominal stress is expressed as: P zz = ψ λ z where λ z = λ λ z. Therefore, applying

Διαβάστε περισσότερα

Μηχανική Μάθηση Hypothesis Testing

Μηχανική Μάθηση Hypothesis Testing ΕΛΛΗΝΙΚΗ ΔΗΜΟΚΡΑΤΙΑ ΠΑΝΕΠΙΣΤΗΜΙΟ ΚΡΗΤΗΣ Μηχανική Μάθηση Hypothesis Testing Γιώργος Μπορμπουδάκης Τμήμα Επιστήμης Υπολογιστών Procedure 1. Form the null (H 0 ) and alternative (H 1 ) hypothesis 2. Consider

Διαβάστε περισσότερα

Approximation of distance between locations on earth given by latitude and longitude

Approximation of distance between locations on earth given by latitude and longitude Approximation of distance between locations on earth given by latitude and longitude Jan Behrens 2012-12-31 In this paper we shall provide a method to approximate distances between two points on earth

Διαβάστε περισσότερα

Phys460.nb Solution for the t-dependent Schrodinger s equation How did we find the solution? (not required)

Phys460.nb Solution for the t-dependent Schrodinger s equation How did we find the solution? (not required) Phys460.nb 81 ψ n (t) is still the (same) eigenstate of H But for tdependent H. The answer is NO. 5.5.5. Solution for the tdependent Schrodinger s equation If we assume that at time t 0, the electron starts

Διαβάστε περισσότερα

ΕΙΣΑΓΩΓΗ ΣΤΗ ΣΤΑΤΙΣΤΙΚΗ ΑΝΑΛΥΣΗ

ΕΙΣΑΓΩΓΗ ΣΤΗ ΣΤΑΤΙΣΤΙΚΗ ΑΝΑΛΥΣΗ ΕΙΣΑΓΩΓΗ ΣΤΗ ΣΤΑΤΙΣΤΙΚΗ ΑΝΑΛΥΣΗ ΕΛΕΝΑ ΦΛΟΚΑ Επίκουρος Καθηγήτρια Τµήµα Φυσικής, Τοµέας Φυσικής Περιβάλλοντος- Μετεωρολογίας ΓΕΝΙΚΟΙ ΟΡΙΣΜΟΙ Πληθυσµός Σύνολο ατόµων ή αντικειµένων στα οποία αναφέρονται

Διαβάστε περισσότερα

Lecture 2: Dirac notation and a review of linear algebra Read Sakurai chapter 1, Baym chatper 3

Lecture 2: Dirac notation and a review of linear algebra Read Sakurai chapter 1, Baym chatper 3 Lecture 2: Dirac notation and a review of linear algebra Read Sakurai chapter 1, Baym chatper 3 1 State vector space and the dual space Space of wavefunctions The space of wavefunctions is the set of all

Διαβάστε περισσότερα

6.3 Forecasting ARMA processes

6.3 Forecasting ARMA processes 122 CHAPTER 6. ARMA MODELS 6.3 Forecasting ARMA processes The purpose of forecasting is to predict future values of a TS based on the data collected to the present. In this section we will discuss a linear

Διαβάστε περισσότερα

Απόκριση σε Μοναδιαία Ωστική Δύναμη (Unit Impulse) Απόκριση σε Δυνάμεις Αυθαίρετα Μεταβαλλόμενες με το Χρόνο. Απόστολος Σ.

Απόκριση σε Μοναδιαία Ωστική Δύναμη (Unit Impulse) Απόκριση σε Δυνάμεις Αυθαίρετα Μεταβαλλόμενες με το Χρόνο. Απόστολος Σ. Απόκριση σε Δυνάμεις Αυθαίρετα Μεταβαλλόμενες με το Χρόνο The time integral of a force is referred to as impulse, is determined by and is obtained from: Newton s 2 nd Law of motion states that the action

Διαβάστε περισσότερα

derivation of the Laplacian from rectangular to spherical coordinates

derivation of the Laplacian from rectangular to spherical coordinates derivation of the Laplacian from rectangular to spherical coordinates swapnizzle 03-03- :5:43 We begin by recognizing the familiar conversion from rectangular to spherical coordinates (note that φ is used

Διαβάστε περισσότερα

Every set of first-order formulas is equivalent to an independent set

Every set of first-order formulas is equivalent to an independent set Every set of first-order formulas is equivalent to an independent set May 6, 2008 Abstract A set of first-order formulas, whatever the cardinality of the set of symbols, is equivalent to an independent

Διαβάστε περισσότερα

k A = [k, k]( )[a 1, a 2 ] = [ka 1,ka 2 ] 4For the division of two intervals of confidence in R +

k A = [k, k]( )[a 1, a 2 ] = [ka 1,ka 2 ] 4For the division of two intervals of confidence in R + Chapter 3. Fuzzy Arithmetic 3- Fuzzy arithmetic: ~Addition(+) and subtraction (-): Let A = [a and B = [b, b in R If x [a and y [b, b than x+y [a +b +b Symbolically,we write A(+)B = [a (+)[b, b = [a +b

Διαβάστε περισσότερα

ΚΥΠΡΙΑΚΗ ΕΤΑΙΡΕΙΑ ΠΛΗΡΟΦΟΡΙΚΗΣ CYPRUS COMPUTER SOCIETY ΠΑΓΚΥΠΡΙΟΣ ΜΑΘΗΤΙΚΟΣ ΔΙΑΓΩΝΙΣΜΟΣ ΠΛΗΡΟΦΟΡΙΚΗΣ 24/3/2007

ΚΥΠΡΙΑΚΗ ΕΤΑΙΡΕΙΑ ΠΛΗΡΟΦΟΡΙΚΗΣ CYPRUS COMPUTER SOCIETY ΠΑΓΚΥΠΡΙΟΣ ΜΑΘΗΤΙΚΟΣ ΔΙΑΓΩΝΙΣΜΟΣ ΠΛΗΡΟΦΟΡΙΚΗΣ 24/3/2007 Οδηγίες: Να απαντηθούν όλες οι ερωτήσεις. Όλοι οι αριθμοί που αναφέρονται σε όλα τα ερωτήματα μικρότεροι του 10000 εκτός αν ορίζεται διαφορετικά στη διατύπωση του προβλήματος. Αν κάπου κάνετε κάποιες υποθέσεις

Διαβάστε περισσότερα

Example Sheet 3 Solutions

Example Sheet 3 Solutions Example Sheet 3 Solutions. i Regular Sturm-Liouville. ii Singular Sturm-Liouville mixed boundary conditions. iii Not Sturm-Liouville ODE is not in Sturm-Liouville form. iv Regular Sturm-Liouville note

Διαβάστε περισσότερα

Section 9.2 Polar Equations and Graphs

Section 9.2 Polar Equations and Graphs 180 Section 9. Polar Equations and Graphs In this section, we will be graphing polar equations on a polar grid. In the first few examples, we will write the polar equation in rectangular form to help identify

Διαβάστε περισσότερα

Strain gauge and rosettes

Strain gauge and rosettes Strain gauge and rosettes Introduction A strain gauge is a device which is used to measure strain (deformation) on an object subjected to forces. Strain can be measured using various types of devices classified

Διαβάστε περισσότερα

The Simply Typed Lambda Calculus

The Simply Typed Lambda Calculus Type Inference Instead of writing type annotations, can we use an algorithm to infer what the type annotations should be? That depends on the type system. For simple type systems the answer is yes, and

Διαβάστε περισσότερα

Bayesian statistics. DS GA 1002 Probability and Statistics for Data Science.

Bayesian statistics. DS GA 1002 Probability and Statistics for Data Science. Bayesian statistics DS GA 1002 Probability and Statistics for Data Science http://www.cims.nyu.edu/~cfgranda/pages/dsga1002_fall17 Carlos Fernandez-Granda Frequentist vs Bayesian statistics In frequentist

Διαβάστε περισσότερα

CHAPTER 48 APPLICATIONS OF MATRICES AND DETERMINANTS

CHAPTER 48 APPLICATIONS OF MATRICES AND DETERMINANTS CHAPTER 48 APPLICATIONS OF MATRICES AND DETERMINANTS EXERCISE 01 Page 545 1. Use matrices to solve: 3x + 4y x + 5y + 7 3x + 4y x + 5y 7 Hence, 3 4 x 0 5 y 7 The inverse of 3 4 5 is: 1 5 4 1 5 4 15 8 3

Διαβάστε περισσότερα

Section 8.3 Trigonometric Equations

Section 8.3 Trigonometric Equations 99 Section 8. Trigonometric Equations Objective 1: Solve Equations Involving One Trigonometric Function. In this section and the next, we will exple how to solving equations involving trigonometric functions.

Διαβάστε περισσότερα

Υπολογιστική Φυσική Στοιχειωδών Σωματιδίων

Υπολογιστική Φυσική Στοιχειωδών Σωματιδίων Υπολογιστική Φυσική Στοιχειωδών Σωματιδίων Όρια Πιστότητας (Confidence Limits) 2/4/2014 Υπολογ.Φυσική ΣΣ 1 Τα όρια πιστότητας -Confidence Limits (CL) Tα όρια πιστότητας μιας μέτρησης Μπορεί να αναφέρονται

Διαβάστε περισσότερα

6.1. Dirac Equation. Hamiltonian. Dirac Eq.

6.1. Dirac Equation. Hamiltonian. Dirac Eq. 6.1. Dirac Equation Ref: M.Kaku, Quantum Field Theory, Oxford Univ Press (1993) η μν = η μν = diag(1, -1, -1, -1) p 0 = p 0 p = p i = -p i p μ p μ = p 0 p 0 + p i p i = E c 2 - p 2 = (m c) 2 H = c p 2

Διαβάστε περισσότερα

Matrices and Determinants

Matrices and Determinants Matrices and Determinants SUBJECTIVE PROBLEMS: Q 1. For what value of k do the following system of equations possess a non-trivial (i.e., not all zero) solution over the set of rationals Q? x + ky + 3z

Διαβάστε περισσότερα

10.7 Performance of Second-Order System (Unit Step Response)

10.7 Performance of Second-Order System (Unit Step Response) Lecture Notes on Control Systems/D. Ghose/0 57 0.7 Performance of Second-Order System (Unit Step Response) Consider the second order system a ÿ + a ẏ + a 0 y = b 0 r So, Y (s) R(s) = b 0 a s + a s + a

Διαβάστε περισσότερα

[1] P Q. Fig. 3.1

[1] P Q. Fig. 3.1 1 (a) Define resistance....... [1] (b) The smallest conductor within a computer processing chip can be represented as a rectangular block that is one atom high, four atoms wide and twenty atoms long. One

Διαβάστε περισσότερα

Nowhere-zero flows Let be a digraph, Abelian group. A Γ-circulation in is a mapping : such that, where, and : tail in X, head in

Nowhere-zero flows Let be a digraph, Abelian group. A Γ-circulation in is a mapping : such that, where, and : tail in X, head in Nowhere-zero flows Let be a digraph, Abelian group. A Γ-circulation in is a mapping : such that, where, and : tail in X, head in : tail in X, head in A nowhere-zero Γ-flow is a Γ-circulation such that

Διαβάστε περισσότερα

Lecture 2. Soundness and completeness of propositional logic

Lecture 2. Soundness and completeness of propositional logic Lecture 2 Soundness and completeness of propositional logic February 9, 2004 1 Overview Review of natural deduction. Soundness and completeness. Semantics of propositional formulas. Soundness proof. Completeness

Διαβάστε περισσότερα

PARTIAL NOTES for 6.1 Trigonometric Identities

PARTIAL NOTES for 6.1 Trigonometric Identities PARTIAL NOTES for 6.1 Trigonometric Identities tanθ = sinθ cosθ cotθ = cosθ sinθ BASIC IDENTITIES cscθ = 1 sinθ secθ = 1 cosθ cotθ = 1 tanθ PYTHAGOREAN IDENTITIES sin θ + cos θ =1 tan θ +1= sec θ 1 + cot

Διαβάστε περισσότερα

Math 6 SL Probability Distributions Practice Test Mark Scheme

Math 6 SL Probability Distributions Practice Test Mark Scheme Math 6 SL Probability Distributions Practice Test Mark Scheme. (a) Note: Award A for vertical line to right of mean, A for shading to right of their vertical line. AA N (b) evidence of recognizing symmetry

Διαβάστε περισσότερα

Areas and Lengths in Polar Coordinates

Areas and Lengths in Polar Coordinates Kiryl Tsishchanka Areas and Lengths in Polar Coordinates In this section we develop the formula for the area of a region whose boundary is given by a polar equation. We need to use the formula for the

Διαβάστε περισσότερα

Reminders: linear functions

Reminders: linear functions Reminders: linear functions Let U and V be vector spaces over the same field F. Definition A function f : U V is linear if for every u 1, u 2 U, f (u 1 + u 2 ) = f (u 1 ) + f (u 2 ), and for every u U

Διαβάστε περισσότερα

ANSWERSHEET (TOPIC = DIFFERENTIAL CALCULUS) COLLECTION #2. h 0 h h 0 h h 0 ( ) g k = g 0 + g 1 + g g 2009 =?

ANSWERSHEET (TOPIC = DIFFERENTIAL CALCULUS) COLLECTION #2. h 0 h h 0 h h 0 ( ) g k = g 0 + g 1 + g g 2009 =? Teko Classes IITJEE/AIEEE Maths by SUHAAG SIR, Bhopal, Ph (0755) 3 00 000 www.tekoclasses.com ANSWERSHEET (TOPIC DIFFERENTIAL CALCULUS) COLLECTION # Question Type A.Single Correct Type Q. (A) Sol least

Διαβάστε περισσότερα

Inverse trigonometric functions & General Solution of Trigonometric Equations. ------------------ ----------------------------- -----------------

Inverse trigonometric functions & General Solution of Trigonometric Equations. ------------------ ----------------------------- ----------------- Inverse trigonometric functions & General Solution of Trigonometric Equations. 1. Sin ( ) = a) b) c) d) Ans b. Solution : Method 1. Ans a: 17 > 1 a) is rejected. w.k.t Sin ( sin ) = d is rejected. If sin

Διαβάστε περισσότερα

Fractional Colorings and Zykov Products of graphs

Fractional Colorings and Zykov Products of graphs Fractional Colorings and Zykov Products of graphs Who? Nichole Schimanski When? July 27, 2011 Graphs A graph, G, consists of a vertex set, V (G), and an edge set, E(G). V (G) is any finite set E(G) is

Διαβάστε περισσότερα

SCHOOL OF MATHEMATICAL SCIENCES G11LMA Linear Mathematics Examination Solutions

SCHOOL OF MATHEMATICAL SCIENCES G11LMA Linear Mathematics Examination Solutions SCHOOL OF MATHEMATICAL SCIENCES GLMA Linear Mathematics 00- Examination Solutions. (a) i. ( + 5i)( i) = (6 + 5) + (5 )i = + i. Real part is, imaginary part is. (b) ii. + 5i i ( + 5i)( + i) = ( i)( + i)

Διαβάστε περισσότερα

Concrete Mathematics Exercises from 30 September 2016

Concrete Mathematics Exercises from 30 September 2016 Concrete Mathematics Exercises from 30 September 2016 Silvio Capobianco Exercise 1.7 Let H(n) = J(n + 1) J(n). Equation (1.8) tells us that H(2n) = 2, and H(2n+1) = J(2n+2) J(2n+1) = (2J(n+1) 1) (2J(n)+1)

Διαβάστε περισσότερα

Solutions to Exercise Sheet 5

Solutions to Exercise Sheet 5 Solutions to Eercise Sheet 5 jacques@ucsd.edu. Let X and Y be random variables with joint pdf f(, y) = 3y( + y) where and y. Determine each of the following probabilities. Solutions. a. P (X ). b. P (X

Διαβάστε περισσότερα

( ) 2 and compare to M.

( ) 2 and compare to M. Problems and Solutions for Section 4.2 4.9 through 4.33) 4.9 Calculate the square root of the matrix 3!0 M!0 8 Hint: Let M / 2 a!b ; calculate M / 2!b c ) 2 and compare to M. Solution: Given: 3!0 M!0 8

Διαβάστε περισσότερα

The challenges of non-stable predicates

The challenges of non-stable predicates The challenges of non-stable predicates Consider a non-stable predicate Φ encoding, say, a safety property. We want to determine whether Φ holds for our program. The challenges of non-stable predicates

Διαβάστε περισσότερα

HISTOGRAMS AND PERCENTILES What is the 25 th percentile of a histogram? What is the 50 th percentile for the cigarette histogram?

HISTOGRAMS AND PERCENTILES What is the 25 th percentile of a histogram? What is the 50 th percentile for the cigarette histogram? HISTOGRAMS AND PERCENTILES What is the 25 th percentile of a histogram? The point on the horizontal axis such that of the area under the histogram lies to the left of that point (and to the right) What

Διαβάστε περισσότερα

Chapter 6: Systems of Linear Differential. be continuous functions on the interval

Chapter 6: Systems of Linear Differential. be continuous functions on the interval Chapter 6: Systems of Linear Differential Equations Let a (t), a 2 (t),..., a nn (t), b (t), b 2 (t),..., b n (t) be continuous functions on the interval I. The system of n first-order differential equations

Διαβάστε περισσότερα

C.S. 430 Assignment 6, Sample Solutions

C.S. 430 Assignment 6, Sample Solutions C.S. 430 Assignment 6, Sample Solutions Paul Liu November 15, 2007 Note that these are sample solutions only; in many cases there were many acceptable answers. 1 Reynolds Problem 10.1 1.1 Normal-order

Διαβάστε περισσότερα

forms This gives Remark 1. How to remember the above formulas: Substituting these into the equation we obtain with

forms This gives Remark 1. How to remember the above formulas: Substituting these into the equation we obtain with Week 03: C lassification of S econd- Order L inear Equations In last week s lectures we have illustrated how to obtain the general solutions of first order PDEs using the method of characteristics. We

Διαβάστε περισσότερα

Partial Differential Equations in Biology The boundary element method. March 26, 2013

Partial Differential Equations in Biology The boundary element method. March 26, 2013 The boundary element method March 26, 203 Introduction and notation The problem: u = f in D R d u = ϕ in Γ D u n = g on Γ N, where D = Γ D Γ N, Γ D Γ N = (possibly, Γ D = [Neumann problem] or Γ N = [Dirichlet

Διαβάστε περισσότερα

TMA4115 Matematikk 3

TMA4115 Matematikk 3 TMA4115 Matematikk 3 Andrew Stacey Norges Teknisk-Naturvitenskapelige Universitet Trondheim Spring 2010 Lecture 12: Mathematics Marvellous Matrices Andrew Stacey Norges Teknisk-Naturvitenskapelige Universitet

Διαβάστε περισσότερα

Lecture 34 Bootstrap confidence intervals

Lecture 34 Bootstrap confidence intervals Lecture 34 Bootstrap confidence intervals Confidence Intervals θ: an unknown parameter of interest We want to find limits θ and θ such that Gt = P nˆθ θ t If G 1 1 α is known, then P θ θ = P θ θ = 1 α

Διαβάστε περισσότερα

ΕΛΛΗΝΙΚΗ ΔΗΜΟΚΡΑΤΙΑ ΠΑΝΕΠΙΣΤΗΜΙΟ ΚΡΗΤΗΣ. Ψηφιακή Οικονομία. Διάλεξη 7η: Consumer Behavior Mαρίνα Μπιτσάκη Τμήμα Επιστήμης Υπολογιστών

ΕΛΛΗΝΙΚΗ ΔΗΜΟΚΡΑΤΙΑ ΠΑΝΕΠΙΣΤΗΜΙΟ ΚΡΗΤΗΣ. Ψηφιακή Οικονομία. Διάλεξη 7η: Consumer Behavior Mαρίνα Μπιτσάκη Τμήμα Επιστήμης Υπολογιστών ΕΛΛΗΝΙΚΗ ΔΗΜΟΚΡΑΤΙΑ ΠΑΝΕΠΙΣΤΗΜΙΟ ΚΡΗΤΗΣ Ψηφιακή Οικονομία Διάλεξη 7η: Consumer Behavior Mαρίνα Μπιτσάκη Τμήμα Επιστήμης Υπολογιστών Τέλος Ενότητας Χρηματοδότηση Το παρόν εκπαιδευτικό υλικό έχει αναπτυχθεί

Διαβάστε περισσότερα

Section 7.6 Double and Half Angle Formulas

Section 7.6 Double and Half Angle Formulas 09 Section 7. Double and Half Angle Fmulas To derive the double-angles fmulas, we will use the sum of two angles fmulas that we developed in the last section. We will let α θ and β θ: cos(θ) cos(θ + θ)

Διαβάστε περισσότερα

Srednicki Chapter 55

Srednicki Chapter 55 Srednicki Chapter 55 QFT Problems & Solutions A. George August 3, 03 Srednicki 55.. Use equations 55.3-55.0 and A i, A j ] = Π i, Π j ] = 0 (at equal times) to verify equations 55.-55.3. This is our third

Διαβάστε περισσότερα

Démographie spatiale/spatial Demography

Démographie spatiale/spatial Demography ΠΑΝΕΠΙΣΤΗΜΙΟ ΘΕΣΣΑΛΙΑΣ Démographie spatiale/spatial Demography Session 1: Introduction to spatial demography Basic concepts Michail Agorastakis Department of Planning & Regional Development Άδειες Χρήσης

Διαβάστε περισσότερα

Areas and Lengths in Polar Coordinates

Areas and Lengths in Polar Coordinates Kiryl Tsishchanka Areas and Lengths in Polar Coordinates In this section we develop the formula for the area of a region whose boundary is given by a polar equation. We need to use the formula for the

Διαβάστε περισσότερα

Congruence Classes of Invertible Matrices of Order 3 over F 2

Congruence Classes of Invertible Matrices of Order 3 over F 2 International Journal of Algebra, Vol. 8, 24, no. 5, 239-246 HIKARI Ltd, www.m-hikari.com http://dx.doi.org/.2988/ija.24.422 Congruence Classes of Invertible Matrices of Order 3 over F 2 Ligong An and

Διαβάστε περισσότερα

Ordinal Arithmetic: Addition, Multiplication, Exponentiation and Limit

Ordinal Arithmetic: Addition, Multiplication, Exponentiation and Limit Ordinal Arithmetic: Addition, Multiplication, Exponentiation and Limit Ting Zhang Stanford May 11, 2001 Stanford, 5/11/2001 1 Outline Ordinal Classification Ordinal Addition Ordinal Multiplication Ordinal

Διαβάστε περισσότερα

Πρόβλημα 1: Αναζήτηση Ελάχιστης/Μέγιστης Τιμής

Πρόβλημα 1: Αναζήτηση Ελάχιστης/Μέγιστης Τιμής Πρόβλημα 1: Αναζήτηση Ελάχιστης/Μέγιστης Τιμής Να γραφεί πρόγραμμα το οποίο δέχεται ως είσοδο μια ακολουθία S από n (n 40) ακέραιους αριθμούς και επιστρέφει ως έξοδο δύο ακολουθίες από θετικούς ακέραιους

Διαβάστε περισσότερα

Math221: HW# 1 solutions

Math221: HW# 1 solutions Math: HW# solutions Andy Royston October, 5 7.5.7, 3 rd Ed. We have a n = b n = a = fxdx = xdx =, x cos nxdx = x sin nx n sin nxdx n = cos nx n = n n, x sin nxdx = x cos nx n + cos nxdx n cos n = + sin

Διαβάστε περισσότερα

the total number of electrons passing through the lamp.

the total number of electrons passing through the lamp. 1. A 12 V 36 W lamp is lit to normal brightness using a 12 V car battery of negligible internal resistance. The lamp is switched on for one hour (3600 s). For the time of 1 hour, calculate (i) the energy

Διαβάστε περισσότερα

Bounding Nonsplitting Enumeration Degrees

Bounding Nonsplitting Enumeration Degrees Bounding Nonsplitting Enumeration Degrees Thomas F. Kent Andrea Sorbi Università degli Studi di Siena Italia July 18, 2007 Goal: Introduce a form of Σ 0 2-permitting for the enumeration degrees. Till now,

Διαβάστε περισσότερα

Finite Field Problems: Solutions

Finite Field Problems: Solutions Finite Field Problems: Solutions 1. Let f = x 2 +1 Z 11 [x] and let F = Z 11 [x]/(f), a field. Let Solution: F =11 2 = 121, so F = 121 1 = 120. The possible orders are the divisors of 120. Solution: The

Διαβάστε περισσότερα

Notes on the Open Economy

Notes on the Open Economy Notes on the Open Econom Ben J. Heijdra Universit of Groningen April 24 Introduction In this note we stud the two-countr model of Table.4 in more detail. restated here for convenience. The model is Table.4.

Διαβάστε περισσότερα

Probability and Random Processes (Part II)

Probability and Random Processes (Part II) Probability and Random Processes (Part II) 1. If the variance σ x of d(n) = x(n) x(n 1) is one-tenth the variance σ x of a stationary zero-mean discrete-time signal x(n), then the normalized autocorrelation

Διαβάστε περισσότερα

Example of the Baum-Welch Algorithm

Example of the Baum-Welch Algorithm Example of the Baum-Welch Algorithm Larry Moss Q520, Spring 2008 1 Our corpus c We start with a very simple corpus. We take the set Y of unanalyzed words to be {ABBA, BAB}, and c to be given by c(abba)

Διαβάστε περισσότερα

ω ω ω ω ω ω+2 ω ω+2 + ω ω ω ω+2 + ω ω+1 ω ω+2 2 ω ω ω ω ω ω ω ω+1 ω ω2 ω ω2 + ω ω ω2 + ω ω ω ω2 + ω ω+1 ω ω2 + ω ω+1 + ω ω ω ω2 + ω

ω ω ω ω ω ω+2 ω ω+2 + ω ω ω ω+2 + ω ω+1 ω ω+2 2 ω ω ω ω ω ω ω ω+1 ω ω2 ω ω2 + ω ω ω2 + ω ω ω ω2 + ω ω+1 ω ω2 + ω ω+1 + ω ω ω ω2 + ω 0 1 2 3 4 5 6 ω ω + 1 ω + 2 ω + 3 ω + 4 ω2 ω2 + 1 ω2 + 2 ω2 + 3 ω3 ω3 + 1 ω3 + 2 ω4 ω4 + 1 ω5 ω 2 ω 2 + 1 ω 2 + 2 ω 2 + ω ω 2 + ω + 1 ω 2 + ω2 ω 2 2 ω 2 2 + 1 ω 2 2 + ω ω 2 3 ω 3 ω 3 + 1 ω 3 + ω ω 3 +

Διαβάστε περισσότερα

Assalamu `alaikum wr. wb.

Assalamu `alaikum wr. wb. LUMP SUM Assalamu `alaikum wr. wb. LUMP SUM Wassalamu alaikum wr. wb. Assalamu `alaikum wr. wb. LUMP SUM Wassalamu alaikum wr. wb. LUMP SUM Lump sum lump sum lump sum. lump sum fixed price lump sum lump

Διαβάστε περισσότερα

Uniform Convergence of Fourier Series Michael Taylor

Uniform Convergence of Fourier Series Michael Taylor Uniform Convergence of Fourier Series Michael Taylor Given f L 1 T 1 ), we consider the partial sums of the Fourier series of f: N 1) S N fθ) = ˆfk)e ikθ. k= N A calculation gives the Dirichlet formula

Διαβάστε περισσότερα

Τελική Εξέταση =1 = 0. a b c. Τµήµα Ηλεκτρολόγων Μηχανικών και Μηχανικών Υπολογιστών. HMY 626 Επεξεργασία Εικόνας

Τελική Εξέταση =1 = 0. a b c. Τµήµα Ηλεκτρολόγων Μηχανικών και Μηχανικών Υπολογιστών. HMY 626 Επεξεργασία Εικόνας Τελική Εξέταση. Logic Operations () In the grid areas provided below, draw the results of the following binary operations a. NOT(NOT() OR ) (4) b. ( OR ) XOR ( ND ) (4) c. (( ND ) XOR ) XOR (NOT()) (4)

Διαβάστε περισσότερα

CE 530 Molecular Simulation

CE 530 Molecular Simulation C 53 olecular Siulation Lecture Histogra Reweighting ethods David. Kofke Departent of Cheical ngineering SUNY uffalo kofke@eng.buffalo.edu Histogra Reweighting ethod to cobine results taken at different

Διαβάστε περισσότερα

A Note on Intuitionistic Fuzzy. Equivalence Relation

A Note on Intuitionistic Fuzzy. Equivalence Relation International Mathematical Forum, 5, 2010, no. 67, 3301-3307 A Note on Intuitionistic Fuzzy Equivalence Relation D. K. Basnet Dept. of Mathematics, Assam University Silchar-788011, Assam, India dkbasnet@rediffmail.com

Διαβάστε περισσότερα

Block Ciphers Modes. Ramki Thurimella

Block Ciphers Modes. Ramki Thurimella Block Ciphers Modes Ramki Thurimella Only Encryption I.e. messages could be modified Should not assume that nonsensical messages do no harm Always must be combined with authentication 2 Padding Must be

Διαβάστε περισσότερα

2. THEORY OF EQUATIONS. PREVIOUS EAMCET Bits.

2. THEORY OF EQUATIONS. PREVIOUS EAMCET Bits. EAMCET-. THEORY OF EQUATIONS PREVIOUS EAMCET Bits. Each of the roots of the equation x 6x + 6x 5= are increased by k so that the new transformed equation does not contain term. Then k =... - 4. - Sol.

Διαβάστε περισσότερα

Potential Dividers. 46 minutes. 46 marks. Page 1 of 11

Potential Dividers. 46 minutes. 46 marks. Page 1 of 11 Potential Dividers 46 minutes 46 marks Page 1 of 11 Q1. In the circuit shown in the figure below, the battery, of negligible internal resistance, has an emf of 30 V. The pd across the lamp is 6.0 V and

Διαβάστε περισσότερα

ΚΥΠΡΙΑΚΗ ΕΤΑΙΡΕΙΑ ΠΛΗΡΟΦΟΡΙΚΗΣ CYPRUS COMPUTER SOCIETY ΠΑΓΚΥΠΡΙΟΣ ΜΑΘΗΤΙΚΟΣ ΔΙΑΓΩΝΙΣΜΟΣ ΠΛΗΡΟΦΟΡΙΚΗΣ 11/3/2006

ΚΥΠΡΙΑΚΗ ΕΤΑΙΡΕΙΑ ΠΛΗΡΟΦΟΡΙΚΗΣ CYPRUS COMPUTER SOCIETY ΠΑΓΚΥΠΡΙΟΣ ΜΑΘΗΤΙΚΟΣ ΔΙΑΓΩΝΙΣΜΟΣ ΠΛΗΡΟΦΟΡΙΚΗΣ 11/3/2006 ΠΑΓΚΥΠΡΙΟΣ ΜΑΘΗΤΙΚΟΣ ΔΙΑΓΩΝΙΣΜΟΣ ΠΛΗΡΟΦΟΡΙΚΗΣ 11/3/26 Οδηγίες: Να απαντηθούν όλες οι ερωτήσεις. Ολοι οι αριθμοί που αναφέρονται σε όλα τα ερωτήματα μικρότεροι το 1 εκτός αν ορίζεται διαφορετικά στη διατύπωση

Διαβάστε περισσότερα

Econ 2110: Fall 2008 Suggested Solutions to Problem Set 8 questions or comments to Dan Fetter 1

Econ 2110: Fall 2008 Suggested Solutions to Problem Set 8  questions or comments to Dan Fetter 1 Eon : Fall 8 Suggested Solutions to Problem Set 8 Email questions or omments to Dan Fetter Problem. Let X be a salar with density f(x, θ) (θx + θ) [ x ] with θ. (a) Find the most powerful level α test

Διαβάστε περισσότερα

6.003: Signals and Systems. Modulation

6.003: Signals and Systems. Modulation 6.003: Signals and Systems Modulation May 6, 200 Communications Systems Signals are not always well matched to the media through which we wish to transmit them. signal audio video internet applications

Διαβάστε περισσότερα

Chapter 3: Ordinal Numbers

Chapter 3: Ordinal Numbers Chapter 3: Ordinal Numbers There are two kinds of number.. Ordinal numbers (0th), st, 2nd, 3rd, 4th, 5th,..., ω, ω +,... ω2, ω2+,... ω 2... answers to the question What position is... in a sequence? What

Διαβάστε περισσότερα

Second Order RLC Filters

Second Order RLC Filters ECEN 60 Circuits/Electronics Spring 007-0-07 P. Mathys Second Order RLC Filters RLC Lowpass Filter A passive RLC lowpass filter (LPF) circuit is shown in the following schematic. R L C v O (t) Using phasor

Διαβάστε περισσότερα

Physical DB Design. B-Trees Index files can become quite large for large main files Indices on index files are possible.

Physical DB Design. B-Trees Index files can become quite large for large main files Indices on index files are possible. B-Trees Index files can become quite large for large main files Indices on index files are possible 3 rd -level index 2 nd -level index 1 st -level index Main file 1 The 1 st -level index consists of pairs

Διαβάστε περισσότερα

Estimation for ARMA Processes with Stable Noise. Matt Calder & Richard A. Davis Colorado State University

Estimation for ARMA Processes with Stable Noise. Matt Calder & Richard A. Davis Colorado State University Estimation for ARMA Processes with Stable Noise Matt Calder & Richard A. Davis Colorado State University rdavis@stat.colostate.edu 1 ARMA processes with stable noise Review of M-estimation Examples of

Διαβάστε περισσότερα

w o = R 1 p. (1) R = p =. = 1

w o = R 1 p. (1) R = p =. = 1 Πανεπιστήµιο Κρήτης - Τµήµα Επιστήµης Υπολογιστών ΗΥ-570: Στατιστική Επεξεργασία Σήµατος 205 ιδάσκων : Α. Μουχτάρης Τριτη Σειρά Ασκήσεων Λύσεις Ασκηση 3. 5.2 (a) From the Wiener-Hopf equation we have:

Διαβάστε περισσότερα

Lecture 10 - Representation Theory III: Theory of Weights

Lecture 10 - Representation Theory III: Theory of Weights Lecture 10 - Representation Theory III: Theory of Weights February 18, 2012 1 Terminology One assumes a base = {α i } i has been chosen. Then a weight Λ with non-negative integral Dynkin coefficients Λ

Διαβάστε περισσότερα

Mean bond enthalpy Standard enthalpy of formation Bond N H N N N N H O O O

Mean bond enthalpy Standard enthalpy of formation Bond N H N N N N H O O O Q1. (a) Explain the meaning of the terms mean bond enthalpy and standard enthalpy of formation. Mean bond enthalpy... Standard enthalpy of formation... (5) (b) Some mean bond enthalpies are given below.

Διαβάστε περισσότερα

Digital Image Processing

Digital Image Processing Digital Image Processing Αποκατάσταση εικόνας Αφαίρεση Θορύβου Πέτρος Καρβέλης pkarvelis@gmail.com Images taken from: R. Gonzalez and R. Woods. Digital Image Processing, Prentice Hall, 2008. Αποκατάσταση

Διαβάστε περισσότερα

A Bonus-Malus System as a Markov Set-Chain. Małgorzata Niemiec Warsaw School of Economics Institute of Econometrics

A Bonus-Malus System as a Markov Set-Chain. Małgorzata Niemiec Warsaw School of Economics Institute of Econometrics A Bonus-Malus System as a Markov Set-Chain Małgorzata Niemiec Warsaw School of Economics Institute of Econometrics Contents 1. Markov set-chain 2. Model of bonus-malus system 3. Example 4. Conclusions

Διαβάστε περισσότερα

DESIGN OF MACHINERY SOLUTION MANUAL h in h 4 0.

DESIGN OF MACHINERY SOLUTION MANUAL h in h 4 0. DESIGN OF MACHINERY SOLUTION MANUAL -7-1! PROBLEM -7 Statement: Design a double-dwell cam to move a follower from to 25 6, dwell for 12, fall 25 and dwell for the remader The total cycle must take 4 sec

Διαβάστε περισσότερα

Ψηφιακή Επεξεργασία Εικόνας

Ψηφιακή Επεξεργασία Εικόνας ΠΑΝΕΠΙΣΤΗΜΙΟ ΙΩΑΝΝΙΝΩΝ ΑΝΟΙΚΤΑ ΑΚΑΔΗΜΑΪΚΑ ΜΑΘΗΜΑΤΑ Ψηφιακή Επεξεργασία Εικόνας Μετασχηματισμοί έντασης και χωρικό φιλτράρισμα Διδάσκων : Αναπληρωτής Καθηγητής Νίκου Χριστόφορος Άδειες Χρήσης Το παρόν εκπαιδευτικό

Διαβάστε περισσότερα

Lecture 15 - Root System Axiomatics

Lecture 15 - Root System Axiomatics Lecture 15 - Root System Axiomatics Nov 1, 01 In this lecture we examine root systems from an axiomatic point of view. 1 Reflections If v R n, then it determines a hyperplane, denoted P v, through the

Διαβάστε περισσότερα