<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2181096951602312571</id><updated>2024-09-05T17:32:51.584+03:00</updated><category term="Hello World ilk program"/><category term="JAVAC COMPILER"/><category term="JAVADOC"/><category term="JDK"/><category term="JRE"/><category term="Konular: tiobe"/><category term="Windows ve Linux altında kodlama"/><category term="linux"/><category term="Amper-Saat"/><category term="Ayarlanabilir Balast"/><category term="Balast Ne İşe Yarar ?"/><category term="Balast Nedir ?"/><category term="Balast Çeşitleri ?"/><category term="Bit Plane Slicing in Matlab"/><category term="C KODLARI"/><category term="CCS C : LED YAKMA VE SÖNDÜRME UYGULAMASI"/><category term="Changing quantization level of an image in Matlab"/><category term="Downsampling in Matlab"/><category term="Elektronik Balast"/><category term="Faraday sabiti"/><category term="Fiber Koaksiyel Karma Şebekesi (HFC)"/><category term="HFC Şebekesinde İletim"/><category term="Histogram Equalization in Matlab"/><category term="Hybrid Fiber Coaxial"/><category term="ICSP"/><category term="ICSP Nasıl yapılır"/><category term="ICSP nedir"/><category term="Kablo TV sisteminde internet"/><category term="Linux : How do I display installed packages list"/><category term="Linux : Çekirdek indirme ve /usr/src dizinine açılması"/><category term="Lowpass and Bandpass filtering in spatial domain in Matlab"/><category term="Lİnux : shm (shared memory) kapasitesini güncelleme"/><category term="Power Function in C programming"/><category term="Power Law Transformation  in Matlab"/><category term="TASARIMDA İZLENMESİ GEREKEN YOL"/><category term="TUNGSTEN"/><category term="Tüm Port Numaraları"/><category term="Upsampling in Matlab"/><category term="VOLFRAM"/><category term="VOLFRAM - TUNGSTEN"/><category term="alan ve çevre hesabı"/><category term="amper"/><category term="balast"/><category term="javadiary"/><category term="kablo tv"/><category term="kablo tv nasıl çalışır"/><category term="rotasyonel"/><category term="saat"/><category term="yayın teknolojisi"/><category term="Çekirdek indirme ve /usr/src dizinine açılması"/><category term="İnternet Grup Yönetim Protokolü (IGMP)"/><title type='text'>KORAY KARA</title><subtitle type='html'>Elektronik Mühendisi                                                                    Electronics Engineer                                                                    İngegnere Elettronica</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://koraykara.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2181096951602312571/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://koraykara.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/2181096951602312571/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Koray Kara</name><uri>http://www.blogger.com/profile/15582313592920197518</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhu7QNhB7_TsTP_zOUzwqDeL0_EaVvc0ssb_ANcfgztWFQiheNxHkU32Jts8qopCc9VoiwKMOzswIUNX3hHK43ytsgRAoCkFoJkmiCGVRtQjV4YjipHqncvveJt7QyEoQ/s220/DSC04910.JPG'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>57</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2181096951602312571.post-1697709564870165671</id><published>2017-03-31T21:22:00.002+03:00</published><updated>2019-09-13T21:05:55.320+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Hello World ilk program"/><category scheme="http://www.blogger.com/atom/ns#" term="JAVAC COMPILER"/><category scheme="http://www.blogger.com/atom/ns#" term="javadiary"/><category scheme="http://www.blogger.com/atom/ns#" term="JAVADOC"/><category scheme="http://www.blogger.com/atom/ns#" term="JDK"/><category scheme="http://www.blogger.com/atom/ns#" term="JRE"/><category scheme="http://www.blogger.com/atom/ns#" term="Konular: tiobe"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows ve Linux altında kodlama"/><title type='text'>JAVA DIARY - 2 </title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;
Class kodlarının içersinde ana fonksiyonumuzu public static void main olarak tanımlıyoruz. Parantezler içersinde görüldüğü gibi String[] args yazıyor. Yani ana fonksiyonumuz input olarak bir string alıyor. Terminal içersinde kod çalıştırılırken programa gerekli argümanlar gönderilebiliyoruz. Aşağıdaki örneği terminalde derledikten sonra , java ArgExample tr &amp;nbsp;şeklinde çalıştırırsak args dizisinin ilk elemanu tr olduğu için program ekrana turkce yazdıracaktır.&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;public class ArgExample{&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;&amp;nbsp; public static void main(String[] args){&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp;switch(args[0]){&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt; &amp;nbsp;case &quot;tr&quot;:&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt; &amp;nbsp;System.out.println(&quot;turkce&quot;);&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt; &amp;nbsp;break;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt; &amp;nbsp;case &quot;en&quot;:&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt; &amp;nbsp;System.out.println(&quot;english&quot;);&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt; &amp;nbsp;break;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt; &amp;nbsp;case &quot;it&quot;:&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt; &amp;nbsp;System.out.println(&quot;italiano&quot;);&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt; &amp;nbsp;break;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp;}&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;&amp;nbsp; }&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;}&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZi9eqh7dD8fr9V2-qnIHE-cZ0Khh9IuRgzodmzV5lK2uCauia_9oKue14buTx8NH_XHvEOEnDeLsnZPBkR3XYLvkeaCLSiUvBBOgvmiuigeQuwg5r0G_UbtMnXyuoUveice0jdMjJ6tKv/s1600/argsexample.jpg&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;424&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZi9eqh7dD8fr9V2-qnIHE-cZ0Khh9IuRgzodmzV5lK2uCauia_9oKue14buTx8NH_XHvEOEnDeLsnZPBkR3XYLvkeaCLSiUvBBOgvmiuigeQuwg5r0G_UbtMnXyuoUveice0jdMjJ6tKv/s640/argsexample.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
Değişkenler&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
Değişkenler ikiye ayrılıyor. Primitive types ve reference types olmak üzere. Referens tipleri biz tanımlayabildiğimiz için sonsuz sayıda referans tipi vardır. String bir referans tipidir. Onun dışında 8 adet primitive tip vardır. Bunlar byte , short , int , long , float , double , char , boolean&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
public class Variables{&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;public static void main(String[] args)&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;{&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;// ***** primitive types ****&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;// tam sayı değişkenler&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;byte b=10; &amp;nbsp; // 1 byte&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;short s=12; &amp;nbsp;// 2 byte&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;int i = 1445; // 4 byte&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;long l = 123456; // 8 byte&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;System.out.println(&quot;byte:&quot;+b);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;System.out.println(&quot;short:&quot;+s);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;System.out.println(&quot;int:&quot;+i);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;System.out.println(&quot;long:&quot;+l);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;// kayar noktalı sayılar&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;float pi = 3.14f; // 4byte,f koymazsak çalışmaz.&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;// otomatik olarak double yapıyor.&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;double d = 3.14d; // 8byte&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;System.out.println(&quot;float:&quot;+pi);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;System.out.println(&quot;double:&quot;+d);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;// Character&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;char gender = &#39;m&#39;;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;System.out.println(&quot;character:&quot;+gender);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;// Bool&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;boolean bool = false; // true // 1byte&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;System.out.println(&quot;boolean:&quot;+bool);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;// String&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;String firstName=&quot;Ali&quot;;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;String lastName=&quot;Veli&quot;;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;System.out.println(firstName+&quot; &quot;+lastName);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;System.out.println(&quot;Bana dedi ki \n \&quot;sen buraya gel\&quot;&quot;);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/*int x = 10;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;{&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;int x = 0;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;System.out.println(x);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;}&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;{&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;int x = 20;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;System.out.println(x);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;}&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;*/&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;/*&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;int x = 10;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;int y = 20;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;System.out.println(x+y);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;*/&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;// TYPE CASTING&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Türler arasında dönüştürme yapılması işlemine type casting deniliyor. Bunun için hafızada &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; kapladığı alanı daha küçük olan değişken , daha büyük bir değişken türüne dönüştürülmelidir. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Aksi takdirde veri kaybı olması ihtimali vardır.&amp;nbsp;&lt;/div&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;// IMPLICITLY CASTING&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // implicitly = kesin olarak , tam olarak&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;/*&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;byte bNumber = 12;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;int iNumber = bNumber;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;System.out.println(iNumber);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;*/&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;// EXPLICITLY CASTING&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;//Veri kaybı olma ihtimali olan durumlarda&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;//compiler kodu derlemiyor. Derlemesi için casting&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;//operatörünün kullanılması gerekiyor.&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;int iks = 1034;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;// 00000000 00000000 00000100 00001010&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;byte be = (byte)iks;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;System.out.println(be);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;int posX = 12;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;float posY = posX;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;System.out.println(posY);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;System.out.println((int) pi);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
OPERATÖRLER&lt;br /&gt;
&lt;br /&gt;
public class Operators{&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;public static void main(String[] args)&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;{&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; // Aritmetic operators&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; int x = 10;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; int y = 3;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; System.out.println(x+y);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; System.out.println(x-y);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; System.out.println(x*y);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; System.out.println(x/y);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; System.out.println(x%y);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; System.out.println(++x); // prefix postfix&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/* ++ operatörü x değişkeninin önüne geldiği için ilk önce x&#39;i bir arttırır , sonra x ile ilgili bir &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;işlem yapılacaksa onu yapar. */&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; System.out.println(x--);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/* Burada x ile ilgili işlem yapılır daha sonra x bir azaltılır.&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; x=x+1;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; x+=5; // x 5 arttırılır , yine x değişkenine atanır.&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; x-=5; &amp;nbsp;// x 5 azaltılır , yine x değişkenine atanır.&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; x*=5; // x 5 ile çarpılır , yine x değişkenine atanır.&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; x/=5; &amp;nbsp;// x 5&#39;e bölünür , yine x değişkenine atanır.&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; // Bitwise operators&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp;byte k = 10 ;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; // 0000 1010&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; // 1111 0101&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; System.out.println(~k); // bitwise unary NOT&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; byte a = 10; // 0000 1010&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; byte b = 20; // 0001 0110&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// 0000 0010 &amp;amp;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;//&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; System.out.println(a&amp;amp;b); // binary AND&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; System.out.println(a|b); // binary OR&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; System.out.println(a^b); // binary XOR&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; byte q = 16;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; System.out.println(q&amp;gt;&amp;gt;2);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; System.out.println(q&amp;lt;&amp;lt;2);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; // Relational Operators{&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt; &amp;nbsp; int a1 = 10;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt; &amp;nbsp; int b1 = 20;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt; &amp;nbsp; System.out.println(a1==b1);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt; &amp;nbsp; System.out.println(a1!=b1);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt; &amp;nbsp; System.out.println(a1&amp;gt;b1);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt; &amp;nbsp; System.out.println(a1&amp;lt;b1);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt; &amp;nbsp; System.out.println(a1&amp;gt;=b1);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt; &amp;nbsp; System.out.println(a1&amp;lt;=b1);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt; &lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;// Logical Operators&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;System.out.println(true &amp;amp; false);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;System.out.println(true | false);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;System.out.println(true ^ false);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;System.out.println(!true);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;System.out.println(false &amp;amp;&amp;amp; false);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;System.out.println(true || false);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;System.out.println(true? &quot;true&quot;:&quot;false&quot;); // ternary if&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /* Ternary if ifadesi yazım kolaylığı sağlamaktadır. iften pek farkı yoktur. Eğer iki koşullu &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;bir durum varsa , kullanılması tavsiye edilebilinir. Soru işaretinden önceki ifade doğru ise &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;true değilse false geri döndürür.&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;nbsp; &lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
public class Boxing{&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;/* Object diye bir değişken var. Bu değişkenin&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;özelliği içersinde her türlü tipte bilgiyi tutabiliyor.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Aşağıdaki örnekte önce int tipte bir değişken ataması&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;yaptık , daha sonra aynı değişkene float bir değer ve&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;nbsp; &amp;nbsp; string ataması yaptık. Her seferinde değişken değeri&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;nbsp; &amp;nbsp; ekrana verildi. Program sıkıntısız çalışıyor ve bu verdiğimiz&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;nbsp; &amp;nbsp; değerleri ekrana yazıyor. Bu işleme boxing deniyor. */&lt;/div&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;public static void main(String[] args)&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;{&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; int x = 10;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; Object obj = x;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; System.out.println(obj);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; obj = 3.14;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; System.out.println(obj);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; obj = &quot;Koray Kara&quot;;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; System.out.println(obj);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://koraykara.blogspot.com/feeds/1697709564870165671/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://koraykara.blogspot.com/2017/03/java-diary-2.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2181096951602312571/posts/default/1697709564870165671'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2181096951602312571/posts/default/1697709564870165671'/><link rel='alternate' type='text/html' href='http://koraykara.blogspot.com/2017/03/java-diary-2.html' title='JAVA DIARY - 2 '/><author><name>Koray Kara</name><uri>http://www.blogger.com/profile/15582313592920197518</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhu7QNhB7_TsTP_zOUzwqDeL0_EaVvc0ssb_ANcfgztWFQiheNxHkU32Jts8qopCc9VoiwKMOzswIUNX3hHK43ytsgRAoCkFoJkmiCGVRtQjV4YjipHqncvveJt7QyEoQ/s220/DSC04910.JPG'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZi9eqh7dD8fr9V2-qnIHE-cZ0Khh9IuRgzodmzV5lK2uCauia_9oKue14buTx8NH_XHvEOEnDeLsnZPBkR3XYLvkeaCLSiUvBBOgvmiuigeQuwg5r0G_UbtMnXyuoUveice0jdMjJ6tKv/s72-c/argsexample.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2181096951602312571.post-112573752412004530</id><published>2017-03-22T15:40:00.002+03:00</published><updated>2019-09-13T18:58:17.399+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Hello World ilk program"/><category scheme="http://www.blogger.com/atom/ns#" term="JAVAC COMPILER"/><category scheme="http://www.blogger.com/atom/ns#" term="JAVADOC"/><category scheme="http://www.blogger.com/atom/ns#" term="JDK"/><category scheme="http://www.blogger.com/atom/ns#" term="JRE"/><category scheme="http://www.blogger.com/atom/ns#" term="Konular: tiobe"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows ve Linux altında kodlama"/><title type='text'>JAVA DIARY - 1</title><content type='html'>Konular: tiobe , JDK , JRE , JAVAC COMPILER , Windows ve Linux altında kodlama , Hello World ilk program , JAVADOC&lt;br /&gt;
&lt;br /&gt;
&quot;tiobe.com&quot; un verilerine göre java şu anda dünyada en çok kullanılan dildir. Siteden diğer dillerin kullanım oranlarına erişebilirsiniz.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjpktbGcAme_G3g7nzg6ElclSW7SUoIEe1ryT6ZHK5Did7Gmcpa2ZtSOYiubChV0F4sZzux1f1I2BwDehknwu-aLs8TkABs88h1Zoi101NkcgopCUYxBL5sep-G2BhsFmnkcp2jbD8PNQBL/s1600/tiobe.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;244&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjpktbGcAme_G3g7nzg6ElclSW7SUoIEe1ryT6ZHK5Did7Gmcpa2ZtSOYiubChV0F4sZzux1f1I2BwDehknwu-aLs8TkABs88h1Zoi101NkcgopCUYxBL5sep-G2BhsFmnkcp2jbD8PNQBL/s640/tiobe.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Java&#39;da kod derleyebilmek için gerekli olan yazılımlar JDK ve JRE&#39;dir. JRE = Java Runtime Environment , bu yazılım java dilinde yazılmış programları kullanmak için gerekli olan programdır. Bu zaten her bilgisayarda bulunmaktadır. JDK ise java developement kit anlamına gelir. Bu paket ise yazılım geliştirecekler için gerekli olandır , jdk kurulumu yapılırken otomatik olarak jre&#39;yi de kurar.&lt;br /&gt;
&lt;br /&gt;
Javada program yazarken ilk olarak .java uzantılı olarak herhangi bir text editörde kod yazılır. Bu kod javac programı kullanılarak compile edilir. Compile derleme işlemi bittiğinde .java uzantılı dosyanın bulunduğu dizinde .class uzantılı bir dosya oluşur. Artık kod derlenmiştir , çalışmaya hazırdır eğer compile time içersinde bir hata ile karşılaşmadıysanız. class uzantılı dosya jwm (java virtual machine) tarafından yorumlanır ve çalışır. Java platform bağımsız bir dildir. Aynı program diğer işletim sistemlerinde de çalışır.&lt;br /&gt;
&lt;br /&gt;
Javac derleyicisinin terminalde çalışması için windows&#39;ta ortam değişkeni olarak tanımlanması gerekmektedir. Jdk&#39;yı indirip kurduktan sonra bilgisayarıma sağ tıklayıp özellikleri açınız. Karşınıza gelen ekranın sol üst kısmında Gelişmiş sistem ayarlarına tıklayınız. Açılan pencerenin alt kısmında ortam değişkenleri butonuna basınız. Açılan pencere de yeni butonuna basın ve javac adında bir değişken tanımlayın , değer kısmına ise javac&#39;ın bilgisayarınızdaki yolunu ekleyin. Benim bilgisayarımda bu yol şu şekilde : C:\Program Files\Java\jdk1.8.0_121\bin&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHCo7aSrlFFrGMA-uyAdWLw2xh2eJfBSJquGAciNHIZ4cOQL1LyUq_2oPYv5kfbXlUZ8vSh6aQvaAgbBO6NKX4PtFv4gNz2kOb0Ntgy8d1DndmWEBuRAOQ0vfoURmAnTONYnr9jo27n2LT/s1600/2017-03-22_151752.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;603&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHCo7aSrlFFrGMA-uyAdWLw2xh2eJfBSJquGAciNHIZ4cOQL1LyUq_2oPYv5kfbXlUZ8vSh6aQvaAgbBO6NKX4PtFv4gNz2kOb0Ntgy8d1DndmWEBuRAOQ0vfoURmAnTONYnr9jo27n2LT/s640/2017-03-22_151752.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
Artık komut panelinde java kodlarımızı çalıştırabilir ve derleyebiliriz.&lt;br /&gt;
&lt;br /&gt;
Linux işletim sisteminde java kurulumu yapmak için terminalde şu kodları çalıştırınız.&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-color: whitesmoke; border-radius: 0px; border: 1px solid rgba(0, 0, 0, 0.14902); box-sizing: border-box; color: #333333; font-family: Menlo, Monaco, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 13px; line-height: 20px; margin-bottom: 10px; overflow: auto; padding: 9.5px; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;&quot;&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot; style=&quot;background-color: transparent; border-radius: 0px; border: 0px; box-sizing: border-box; color: #555555; font-family: Menlo, Monaco, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: inherit; padding: 0px;&quot;&gt;&lt;span class=&quot;nv&quot; style=&quot;box-sizing: border-box; color: teal;&quot;&gt; &lt;/span&gt;sudo add-apt-repository ppa:webupd8team/java
&lt;span class=&quot;nv&quot; style=&quot;box-sizing: border-box; color: teal;&quot;&gt; &lt;/span&gt;sudo apt-get update
&lt;span class=&quot;nv&quot; style=&quot;box-sizing: border-box; color: teal;&quot;&gt; &lt;/span&gt;sudo apt-get install oracle-java8-installer&lt;/code&gt;&lt;/pre&gt;
java versiyonunuzu kontrol etmek için terminalde java -version kodunu yazınız. javac compiler versiyonunuzu kontrol etmek için yine javac -version yazabilirsiniz.&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-color: whitesmoke; border-radius: 0px; border: 1px solid rgba(0, 0, 0, 0.14902); box-sizing: border-box; color: #333333; font-family: Menlo, Monaco, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 13px; line-height: 20px; margin-bottom: 10px; overflow: auto; padding: 9.5px; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;&quot;&gt;&lt;code class=&quot;language-bash&quot; data-lang=&quot;bash&quot; style=&quot;background-color: transparent; border-radius: 0px; border: 0px; box-sizing: border-box; color: #555555; font-family: Menlo, Monaco, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: inherit; padding: 0px;&quot;&gt;&lt;span class=&quot;nv&quot; style=&quot;box-sizing: border-box; color: teal;&quot;&gt;$ &lt;/span&gt;java -version
java version &lt;span class=&quot;s2&quot; style=&quot;box-sizing: border-box; color: #dd1144;&quot;&gt;&quot;1.8.0_20&quot;&lt;/span&gt;
Java&lt;span class=&quot;o&quot; style=&quot;box-sizing: border-box; font-weight: bold;&quot;&gt;(&lt;/span&gt;TM&lt;span class=&quot;o&quot; style=&quot;box-sizing: border-box; font-weight: bold;&quot;&gt;)&lt;/span&gt; SE Runtime Environment &lt;span class=&quot;o&quot; style=&quot;box-sizing: border-box; font-weight: bold;&quot;&gt;(&lt;/span&gt;build 1.8.0_20-b26&lt;span class=&quot;o&quot; style=&quot;box-sizing: border-box; font-weight: bold;&quot;&gt;)&lt;/span&gt;
Java HotSpot&lt;span class=&quot;o&quot; style=&quot;box-sizing: border-box; font-weight: bold;&quot;&gt;(&lt;/span&gt;TM&lt;span class=&quot;o&quot; style=&quot;box-sizing: border-box; font-weight: bold;&quot;&gt;)&lt;/span&gt; 64-Bit Server VM &lt;span class=&quot;o&quot; style=&quot;box-sizing: border-box; font-weight: bold;&quot;&gt;(&lt;/span&gt;build 25.20-b23, mixed mode&lt;span class=&quot;o&quot; style=&quot;box-sizing: border-box; font-weight: bold;&quot;&gt;)&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
Javada her kod bir class içersinde yazılır. oluşturduğunuz kodun class isminin ilk harfi büyük olmalıdır. Örneğin Driver.java&lt;br /&gt;
Oluşturduğunuz java dosyasının adı ile class ismi aynı olmak zorundadır. Aksi takdirde compile time süresinde hata alırsınız. Aşağıdaki kod ekrana Hello , World! yazdıracaktır.&lt;br /&gt;
&lt;br /&gt;
public class Driver{&lt;br /&gt;
&lt;br /&gt;
/**&lt;br /&gt;
* @author Koray Kara&lt;br /&gt;
* This is my first java code.&lt;br /&gt;
* Today I have started to the course Bilge Adam Academy.&lt;br /&gt;
* 18/03/2017&lt;br /&gt;
*/&lt;br /&gt;
&lt;br /&gt;
public static void main(String[] args){&lt;br /&gt;
System.out.println(&quot;Hello , World!&quot;);&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
Java kodlarımızı çalıştırmaya main fonksiyonundan başlar. Değişken tanımlarken camel case notasyonu kullanılması tavsiye edilir. Bu bir zorunluluk değildir. örnek : String firstName&lt;br /&gt;
İlk kelimenin baş harfi küçük , ikinci kelimenin baş harfi büyüktür. Bu notasyona camel case notasyonu denmektedir.&lt;br /&gt;
&lt;br /&gt;
Yorum satırı yazmak için // kullanılmaktadır.&lt;br /&gt;
Blok halinde yorum yazmak için /* &amp;nbsp;*/ kullanılmaktadır.&lt;br /&gt;
Yorum satırları bildiğiniz üzere compiler tarafından &amp;nbsp;değerlendirilmez. Bu yorumlar kodu yazan içindir.&lt;br /&gt;
&lt;br /&gt;
Ayrıca /** &amp;nbsp; &amp;nbsp; */ arasına yorum yazarak javadoc programını çağırabilirsiniz ve java sizin için hazır bir java dökümantasyonu oluşturur. Yorumu yazdıktan sonra kodu yazdığınız dizin içersinde komut panelini açınız. javadoc Driver.java şeklinde kodun dökümantasyonunu oluşturabilirsiniz. javadoc Driver.html şeklinde bir dosya oluşturur. Dökümanı bu html dosyasından inceleyebilirsiniz.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZDZ064ERxPl-icc9BWZrc1SZFvBLsYPVUeK5Ew_hcBJM_jniAHtPjUGqNF1uu_lMnZRW0h_Z5fXYdx5p17uM5DNBGk4aPB49lBouXWPNIvs5OA9FysghDnAYg8qSy0pk3KOCNWPiEWk3e/s1600/2017-03-22_153604.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;424&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZDZ064ERxPl-icc9BWZrc1SZFvBLsYPVUeK5Ew_hcBJM_jniAHtPjUGqNF1uu_lMnZRW0h_Z5fXYdx5p17uM5DNBGk4aPB49lBouXWPNIvs5OA9FysghDnAYg8qSy0pk3KOCNWPiEWk3e/s640/2017-03-22_153604.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://koraykara.blogspot.com/feeds/112573752412004530/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://koraykara.blogspot.com/2017/03/java-diary-1.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2181096951602312571/posts/default/112573752412004530'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2181096951602312571/posts/default/112573752412004530'/><link rel='alternate' type='text/html' href='http://koraykara.blogspot.com/2017/03/java-diary-1.html' title='JAVA DIARY - 1'/><author><name>Koray Kara</name><uri>http://www.blogger.com/profile/15582313592920197518</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhu7QNhB7_TsTP_zOUzwqDeL0_EaVvc0ssb_ANcfgztWFQiheNxHkU32Jts8qopCc9VoiwKMOzswIUNX3hHK43ytsgRAoCkFoJkmiCGVRtQjV4YjipHqncvveJt7QyEoQ/s220/DSC04910.JPG'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjpktbGcAme_G3g7nzg6ElclSW7SUoIEe1ryT6ZHK5Did7Gmcpa2ZtSOYiubChV0F4sZzux1f1I2BwDehknwu-aLs8TkABs88h1Zoi101NkcgopCUYxBL5sep-G2BhsFmnkcp2jbD8PNQBL/s72-c/tiobe.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2181096951602312571.post-136192930818490527</id><published>2016-04-04T10:11:00.004+03:00</published><updated>2019-09-13T18:59:04.779+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Power Function in C programming"/><title type='text'>Power Function in C programming</title><content type='html'>/*&lt;br /&gt;
* &amp;nbsp; &amp;nbsp; &amp;nbsp; Math.h kütüphanesinde bulunan power fonksiyonunu kullanarak&lt;br /&gt;
* &amp;nbsp; &amp;nbsp; &amp;nbsp; bir sayının üssünün alınması. 0-1 arasındaki üs değerleri&lt;br /&gt;
* &amp;nbsp; &amp;nbsp; &amp;nbsp; denenmiştir.&lt;br /&gt;
* &amp;nbsp; &amp;nbsp; &amp;nbsp; That&#39;s the code that demonstrates power function that is&lt;br /&gt;
* &amp;nbsp; &amp;nbsp; &amp;nbsp; ready in math.h library header file. It calculates the power&lt;br /&gt;
* &amp;nbsp; &amp;nbsp; &amp;nbsp; of the number that is given.&lt;br /&gt;
* &amp;nbsp; &amp;nbsp; &amp;nbsp; Questo è il codice che dimostra la funzione forza che è&lt;br /&gt;
* &amp;nbsp; &amp;nbsp; &amp;nbsp; pronto in file di intestazione della libreria math.h. Si calcola&lt;br /&gt;
* &amp;nbsp; &amp;nbsp; &amp;nbsp; la potenza del numero che è dato.&lt;br /&gt;
* &amp;nbsp; &amp;nbsp; &amp;nbsp; sayı=number=numero&lt;br /&gt;
* &amp;nbsp; &amp;nbsp; &amp;nbsp; us=exponent(power)=esponente&lt;br /&gt;
* &amp;nbsp; &amp;nbsp; &amp;nbsp; sonuc=result=risultato&lt;br /&gt;
* &amp;nbsp; &amp;nbsp; &lt;br /&gt;
* &amp;nbsp; &amp;nbsp; &amp;nbsp; Yazan/Writer : Msc. Koray Kara&lt;br /&gt;
* &amp;nbsp; &amp;nbsp; &amp;nbsp; Date : 04/04/2016&lt;br /&gt;
*&lt;br /&gt;
*/&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;/*It shows the result in integer.You can change it.&lt;br /&gt;
&amp;nbsp; &amp;nbsp; This was just an experiment, not an obligation of course.&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;I am going to use that power function in another image&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;processing project , this is why i have tried if that works*/&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;/*Questo mostra il risultato in integer ma potete cambiare.&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Era solo un esperienza, non é obligatorio certomente. Userò questa&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;funzione in un altra programma per elaborazione di immagini , allora ho&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;voluto provare se funziona cosi.*/&lt;br /&gt;
&lt;br /&gt;
#include &amp;lt;stdio.h&amp;gt;&lt;br /&gt;
#include &amp;lt;conio.h&amp;gt;&lt;br /&gt;
#include &amp;lt;math.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
int main(void)&lt;br /&gt;
{&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;double sayi;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;double us;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;double sonuc;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;sayi=5;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;us=0.5;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;sonuc=pow(sayi,us);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;printf(&quot;sonuc = %d\n&quot;,(int)sonuc);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;us=0.9;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;sonuc=pow(sayi,us);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;printf(&quot;sonuc = %d\n&quot;,(int)sonuc);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;getch();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;return 0;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhdj3_M3EerOSEgAs3LqjtYDdNcJOduG1b0LNTTfKoQ5f7-M-JgfQq_nQZ4QGHgb1_tSWTiM2ndMTmw6172-jcPJljW4iWXV1AyJ9sBYzk0MQ1MHJgHkWXXa_oXVTQfyX8b_xZDyFryFsu3/s1600/2016-04-04_101601.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;122&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhdj3_M3EerOSEgAs3LqjtYDdNcJOduG1b0LNTTfKoQ5f7-M-JgfQq_nQZ4QGHgb1_tSWTiM2ndMTmw6172-jcPJljW4iWXV1AyJ9sBYzk0MQ1MHJgHkWXXa_oXVTQfyX8b_xZDyFryFsu3/s320/2016-04-04_101601.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://koraykara.blogspot.com/feeds/136192930818490527/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://koraykara.blogspot.com/2016/04/power-function-in-c-programming.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2181096951602312571/posts/default/136192930818490527'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2181096951602312571/posts/default/136192930818490527'/><link rel='alternate' type='text/html' href='http://koraykara.blogspot.com/2016/04/power-function-in-c-programming.html' title='Power Function in C programming'/><author><name>Koray Kara</name><uri>http://www.blogger.com/profile/15582313592920197518</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhu7QNhB7_TsTP_zOUzwqDeL0_EaVvc0ssb_ANcfgztWFQiheNxHkU32Jts8qopCc9VoiwKMOzswIUNX3hHK43ytsgRAoCkFoJkmiCGVRtQjV4YjipHqncvveJt7QyEoQ/s220/DSC04910.JPG'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhdj3_M3EerOSEgAs3LqjtYDdNcJOduG1b0LNTTfKoQ5f7-M-JgfQq_nQZ4QGHgb1_tSWTiM2ndMTmw6172-jcPJljW4iWXV1AyJ9sBYzk0MQ1MHJgHkWXXa_oXVTQfyX8b_xZDyFryFsu3/s72-c/2016-04-04_101601.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2181096951602312571.post-602876578752419730</id><published>2016-03-30T17:24:00.001+03:00</published><updated>2019-09-13T19:28:37.679+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Changing quantization level of an image in Matlab"/><title type='text'>Changing quantization level of an image in Matlab</title><content type='html'>&lt;div style=&quot;text-align: center;&quot;&gt;
clear&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
close all&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
im=imread(&#39;SpaceElevator.jpg&#39;);&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
quanta = 256;&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
imq1 = double(im) / 255;&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
imq1 = uint8(im * quanta);&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
imq1 = double(im) / quanta;&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
figure(53);imshow(imq1);&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
quanta = 64;&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
imq2 = double(im) / 255;&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
imq2 = uint8(im * quanta);&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
imq2 = double(im) / quanta;&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
figure(54);imshow(imq2);&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
quanta = 32;&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
imq3 = double(im) / 255;&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
imq3 = uint8(im * quanta);&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
imq3 = double(im) / quanta;&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
figure(55);imshow(imq3);&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
quanta = 16;&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
imq4 = double(im) / 255;&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
imq4 = uint8(im * quanta);&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
imq4 = double(im) / quanta;&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
figure(56);imshow(imq4);&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
figure(57);&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
subplot(4,1,1);imshow(imq1);&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
subplot(4,1,2);imshow(imq2);&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
subplot(4,1,3);imshow(imq3);&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
subplot(4,1,4);imshow(imq4);&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
here an example result (famous pic of lena)&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDxQPm4luS2sbKGHxAbCAjHk9JVuQNMqULm4nyRBhQjLjIo5jO2ReRr5kCZ0TfxDvceX9g3FCgDEtORsi2mfhP_JEViqOiY48L_5H2YdTQUwUbpRjysrcF1C8Ene7hE4eJWGiqopLokhRG/s1600/GlevelRes.gif&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;160&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDxQPm4luS2sbKGHxAbCAjHk9JVuQNMqULm4nyRBhQjLjIo5jO2ReRr5kCZ0TfxDvceX9g3FCgDEtORsi2mfhP_JEViqOiY48L_5H2YdTQUwUbpRjysrcF1C8Ene7hE4eJWGiqopLokhRG/s320/GlevelRes.gif&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://koraykara.blogspot.com/feeds/602876578752419730/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://koraykara.blogspot.com/2016/03/changing-quantization-level-of-image-in.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2181096951602312571/posts/default/602876578752419730'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2181096951602312571/posts/default/602876578752419730'/><link rel='alternate' type='text/html' href='http://koraykara.blogspot.com/2016/03/changing-quantization-level-of-image-in.html' title='Changing quantization level of an image in Matlab'/><author><name>Koray Kara</name><uri>http://www.blogger.com/profile/15582313592920197518</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhu7QNhB7_TsTP_zOUzwqDeL0_EaVvc0ssb_ANcfgztWFQiheNxHkU32Jts8qopCc9VoiwKMOzswIUNX3hHK43ytsgRAoCkFoJkmiCGVRtQjV4YjipHqncvveJt7QyEoQ/s220/DSC04910.JPG'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDxQPm4luS2sbKGHxAbCAjHk9JVuQNMqULm4nyRBhQjLjIo5jO2ReRr5kCZ0TfxDvceX9g3FCgDEtORsi2mfhP_JEViqOiY48L_5H2YdTQUwUbpRjysrcF1C8Ene7hE4eJWGiqopLokhRG/s72-c/GlevelRes.gif" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2181096951602312571.post-8706231360877132861</id><published>2016-03-30T17:19:00.000+03:00</published><updated>2019-09-13T19:28:54.606+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Downsampling in Matlab"/><title type='text'>Downsampling in Matlab</title><content type='html'>It seems easier algorithm instead of upsampling. here we are going to apply downsampling to our image in levels 0.5 , 0.25 , 0.12&lt;br /&gt;
&lt;br /&gt;
subsamplerate=2 % for 0.5 we should use 2&lt;br /&gt;
Rim_sampled=Rim(1:subsamplerate:end,1:subsamplerate:end);&lt;br /&gt;
Gim_sampled=Gim(1:subsamplerate:end,1:subsamplerate:end);&lt;br /&gt;
Bim_sampled=Bim(1:subsamplerate:end,1:subsamplerate:end);&lt;br /&gt;
subsampledimage1=cat(3,Rim_sampled,Gim_sampled,Bim_sampled);&lt;br /&gt;
&lt;br /&gt;
subsamplerate=4 % for 0.25 we should use 2&lt;br /&gt;
Rim_sampled=Rim(1:subsamplerate:end,1:subsamplerate:end);&lt;br /&gt;
Gim_sampled=Gim(1:subsamplerate:end,1:subsamplerate:end);&lt;br /&gt;
Bim_sampled=Bim(1:subsamplerate:end,1:subsamplerate:end);&lt;br /&gt;
subsampledimage2=cat(3,Rim_sampled,Gim_sampled,Bim_sampled);&lt;br /&gt;
&lt;br /&gt;
subsamplerate=8 % for 0.12 we should use 2&lt;br /&gt;
Rim_sampled=Rim(1:subsamplerate:end,1:subsamplerate:end);&lt;br /&gt;
Gim_sampled=Gim(1:subsamplerate:end,1:subsamplerate:end);&lt;br /&gt;
Bim_sampled=Bim(1:subsamplerate:end,1:subsamplerate:end);&lt;br /&gt;
subsampledimage3=cat(3,Rim_sampled,Gim_sampled,Bim_sampled);&lt;br /&gt;
&lt;br /&gt;
figure(49);imshow(im);&lt;br /&gt;
figure(50);imshow(subsampledimage1);&lt;br /&gt;
figure(51);imshow(subsampledimage2);&lt;br /&gt;
figure(52);imshow(subsampledimage3);</content><link rel='replies' type='application/atom+xml' href='http://koraykara.blogspot.com/feeds/8706231360877132861/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://koraykara.blogspot.com/2016/03/downsampling-in-matlab.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2181096951602312571/posts/default/8706231360877132861'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2181096951602312571/posts/default/8706231360877132861'/><link rel='alternate' type='text/html' href='http://koraykara.blogspot.com/2016/03/downsampling-in-matlab.html' title='Downsampling in Matlab'/><author><name>Koray Kara</name><uri>http://www.blogger.com/profile/15582313592920197518</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhu7QNhB7_TsTP_zOUzwqDeL0_EaVvc0ssb_ANcfgztWFQiheNxHkU32Jts8qopCc9VoiwKMOzswIUNX3hHK43ytsgRAoCkFoJkmiCGVRtQjV4YjipHqncvveJt7QyEoQ/s220/DSC04910.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2181096951602312571.post-3025929758100018085</id><published>2016-03-30T17:13:00.001+03:00</published><updated>2019-09-13T19:35:16.094+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Upsampling in Matlab"/><title type='text'>Upsampling in Matlab</title><content type='html'>&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Here , we are going to use predesign matlab code for bilinear interpolation that i have been found from web. After that , we will call this matlab code in our upsampling program.Create that following code as bilinearInterpolation.m in your workplace that you will write upsampling program. They should be in the same directory.&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
function[out]=bilinearInterpolation(im,out_dims)&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
%// Get some necessary variables first&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
in_rows=size(im,1);&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
in_cols=size(im,2);&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
out_rows=out_dims(1);&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
out_cols=out_dims(2);&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
%// Lets S_R = R/R&#39;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
S_R = in_rows / out_rows;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
%// Lets S_C = C/C&#39;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
S_C = in_cols / out_cols;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
%// Define grid of co-ordinates in our image&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
%// Generate (x,y) pairs for each point in our image&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
[cf,rf]=meshgrid(1:out_cols,1:out_rows);&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
rf=rf*S_R;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
cf=cf*S_C;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
r=floor(rf);&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
c=floor(cf);&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
%// Any values out of range , cap&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
r(r&amp;lt;1)=1;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
c(c&amp;lt;1)=1;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
r(r&amp;gt;in_rows-1)=in_rows-1;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
c(c&amp;gt;in_cols-1)=in_cols-1;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
delta_R= rf-r;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
delta_C=cf-c;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
% Final line algorithm&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
%get column major indices for each point we wish to access&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
in1_ind= sub2ind([in_rows,in_cols],r,c);&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
in2_ind= sub2ind([in_rows,in_cols],r+1,c);&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
in3_ind= sub2ind([in_rows,in_cols],r,c+1);&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
in4_ind= sub2ind([in_rows,in_cols],r+1,c+1);&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
% now interpolate&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
% go through each channel for the case of colour&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
% create output image that is the same class as input&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
out=zeros(out_rows,out_cols,size(im,3));&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
out=cast(out,class(im));&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
for idx = 1:size(im,3)&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
chan=double(im(:,:,idx)); % get i th channel&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
% interpolate the channel&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
tmp=chan(in1_ind).*(1-delta_R).*(1-delta_C)+...&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
chan(in2_ind).*(delta_R).*(1-delta_C)+...&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
chan(in3_ind).*(1-delta_R).*(delta_C)+...&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
chan(in4_ind).*(delta_R).*(delta_C);&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
out(:,:,idx) = cast(tmp,class(im));&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
end&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
and finally following code is the upsampling matlab code , there is a scaled result of the image that i have chosen for my study called space elevator.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
clear&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
close all&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
im=imread(&#39;SpaceElevator.jpg&#39;);&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
Rim = im(:,:,1);&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
Gim = im(:,:,2);&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
Bim = im(:,:,3);&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
% Applying upsampling in levels 2,4 to our test image&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
% Determine the dimensions of the source image&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
[j k]=size(Rim);&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
% Determine how much larger we want the new image(should be&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
% an integer)&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
scale=2;&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
Rimup=bilinearInterpolation(Rim,[j*scale k*scale]);&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
Gimup=bilinearInterpolation(Gim,[j*scale k*scale]);&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
Bimup=bilinearInterpolation(Bim,[j*scale k*scale]);&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
imup1=cat(3,Rimup,Gimup,Bimup);&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
scale=4;&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
Rimup=bilinearInterpolation(Rim,[j*scale k*scale]);&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
Gimup=bilinearInterpolation(Gim,[j*scale k*scale]);&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
Bimup=bilinearInterpolation(Bim,[j*scale k*scale]);&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
imup2=cat(3,Rimup,Gimup,Bimup);&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
figure(45);&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
subplot(3,1,1);imagesc(im);&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
subplot(3,1,2);imagesc(imup1);&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
subplot(3,1,3);imagesc(imup2);&amp;nbsp;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxGqIkwF0eGt30ufp7wvuecJaWJ2AqlUeAEFsQzdx_SNcysyE39Dur2av8XpCuc_yed_MxY35_LT6DbaukzMkCqynL6uiQ99MKyxMBRhOFDHyLbxGH-3bXWBVmTpHA0BDcqqEKzgtlvbWn/s1600/koray_ee562_hw1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxGqIkwF0eGt30ufp7wvuecJaWJ2AqlUeAEFsQzdx_SNcysyE39Dur2av8XpCuc_yed_MxY35_LT6DbaukzMkCqynL6uiQ99MKyxMBRhOFDHyLbxGH-3bXWBVmTpHA0BDcqqEKzgtlvbWn/s1600/koray_ee562_hw1.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://koraykara.blogspot.com/feeds/3025929758100018085/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://koraykara.blogspot.com/2016/03/upsampling-in-matlab.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2181096951602312571/posts/default/3025929758100018085'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2181096951602312571/posts/default/3025929758100018085'/><link rel='alternate' type='text/html' href='http://koraykara.blogspot.com/2016/03/upsampling-in-matlab.html' title='Upsampling in Matlab'/><author><name>Koray Kara</name><uri>http://www.blogger.com/profile/15582313592920197518</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhu7QNhB7_TsTP_zOUzwqDeL0_EaVvc0ssb_ANcfgztWFQiheNxHkU32Jts8qopCc9VoiwKMOzswIUNX3hHK43ytsgRAoCkFoJkmiCGVRtQjV4YjipHqncvveJt7QyEoQ/s220/DSC04910.JPG'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxGqIkwF0eGt30ufp7wvuecJaWJ2AqlUeAEFsQzdx_SNcysyE39Dur2av8XpCuc_yed_MxY35_LT6DbaukzMkCqynL6uiQ99MKyxMBRhOFDHyLbxGH-3bXWBVmTpHA0BDcqqEKzgtlvbWn/s72-c/koray_ee562_hw1.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2181096951602312571.post-6231611890504051895</id><published>2016-03-29T09:09:00.000+03:00</published><updated>2019-09-13T19:35:32.312+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Lowpass and Bandpass filtering in spatial domain in Matlab"/><title type='text'>Lowpass and Bandpass filtering in spatial domain in Matlab</title><content type='html'>clear&lt;br /&gt;
close all&lt;br /&gt;
im1=imread(&#39;SpaceElevator.jpg&#39;);&lt;br /&gt;
figure(29);imshow(im1);&lt;br /&gt;
mask=[1 1 1; 1 1 1; 1 1 1]/9; % LOWPASS FILTER / MASKEMIZ&lt;br /&gt;
% Renk bilgisini kaybetmemek icin kırmızı,yeşil,mavi&lt;br /&gt;
&lt;br /&gt;
% şeklinde üç adet dizi elde ediyoruz.&lt;br /&gt;
Rim = im1(:,:,1);&lt;br /&gt;
Gim = im1(:,:,2);&lt;br /&gt;
Bim = im1(:,:,3);&lt;br /&gt;
&lt;br /&gt;
figure(32);imshow(Rim);&lt;br /&gt;
figure(33);imshow(Gim);&lt;br /&gt;
figure(34);imshow(Bim);&lt;br /&gt;
&lt;br /&gt;
% her bir renk dizisini ayrı ayrı filtreliyoruz.&lt;br /&gt;
im4=uint8(conv2(mask,Rim,&#39;full&#39;));&lt;br /&gt;
im5=uint8(conv2(mask,Gim,&#39;full&#39;));&lt;br /&gt;
im6=uint8(conv2(mask,Bim,&#39;full&#39;));&lt;br /&gt;
&lt;br /&gt;
figure(35);imshow(im4);&lt;br /&gt;
figure(36);imshow(im5);&lt;br /&gt;
figure(37);imshow(im6);&lt;br /&gt;
&lt;br /&gt;
% cat fonksiyonu ile dosyayı geri elde ediyoruz.&lt;br /&gt;
&lt;br /&gt;
image_RGB3=cat(3,im4,im5,im6);&lt;br /&gt;
figure(39);imshow(image_RGB3);&lt;br /&gt;
&lt;br /&gt;
% BAND PASS SECTION&lt;br /&gt;
% Band geçiren filtre için 2 lowpass filtrenin farkını aldım.&lt;br /&gt;
&lt;br /&gt;
mask2=[1 1 1;1 1 1;1 1 1]/25;&lt;br /&gt;
mask3=mask‐mask2;&lt;br /&gt;
&lt;br /&gt;
% her bir renk dizisini ayrı ayrı filtreliyoruz.&lt;br /&gt;
im7=uint8(conv2(mask3,Rim,&#39;full&#39;));&lt;br /&gt;
im8=uint8(conv2(mask3,Gim,&#39;full&#39;));&lt;br /&gt;
im9=uint8(conv2(mask3,Bim,&#39;full&#39;));&lt;br /&gt;
&lt;br /&gt;
figure(40);imshow(im7);&lt;br /&gt;
figure(41);imshow(im8);&lt;br /&gt;
figure(42);imshow(im9);&lt;br /&gt;
&lt;br /&gt;
image_RGB4=cat(2,im7,im8,im9);&lt;br /&gt;
figure(43);imshow(image_RGB4);&lt;br /&gt;
&lt;br /&gt;
image_RGB5=cat(3,im7,im8,im9);&lt;br /&gt;
figure(44);imshow(image_RGB5);</content><link rel='replies' type='application/atom+xml' href='http://koraykara.blogspot.com/feeds/6231611890504051895/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://koraykara.blogspot.com/2016/03/lowpass-filtering-in-spatial-domain-in.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2181096951602312571/posts/default/6231611890504051895'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2181096951602312571/posts/default/6231611890504051895'/><link rel='alternate' type='text/html' href='http://koraykara.blogspot.com/2016/03/lowpass-filtering-in-spatial-domain-in.html' title='Lowpass and Bandpass filtering in spatial domain in Matlab'/><author><name>Koray Kara</name><uri>http://www.blogger.com/profile/15582313592920197518</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhu7QNhB7_TsTP_zOUzwqDeL0_EaVvc0ssb_ANcfgztWFQiheNxHkU32Jts8qopCc9VoiwKMOzswIUNX3hHK43ytsgRAoCkFoJkmiCGVRtQjV4YjipHqncvveJt7QyEoQ/s220/DSC04910.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2181096951602312571.post-6008722296567048126</id><published>2016-03-29T09:02:00.002+03:00</published><updated>2019-09-13T19:35:56.701+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Histogram Equalization in Matlab"/><title type='text'>Histogram Equalization in Matlab</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b style=&quot;background-color: white; color: #252525; font-family: sans-serif; font-size: 14px; line-height: 22.4px;&quot;&gt;Histogram equalization&lt;/b&gt;&lt;span style=&quot;background-color: white; color: #252525; font-family: sans-serif; font-size: 14px; line-height: 22.4px;&quot;&gt;&amp;nbsp;is a method in&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;https://en.wikipedia.org/wiki/Image_processing&quot; style=&quot;background: none rgb(255, 255, 255); color: #0b0080; font-family: sans-serif; font-size: 14px; line-height: 22.4px; text-decoration: none;&quot; title=&quot;Image processing&quot;&gt;image processing&lt;/a&gt;&lt;span style=&quot;background-color: white; color: #252525; font-family: sans-serif; font-size: 14px; line-height: 22.4px;&quot;&gt;&amp;nbsp;of&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;https://en.wikipedia.org/wiki/Contrast_(vision)&quot; style=&quot;background: none rgb(255, 255, 255); color: #0b0080; font-family: sans-serif; font-size: 14px; line-height: 22.4px; text-decoration: none;&quot; title=&quot;Contrast (vision)&quot;&gt;contrast&lt;/a&gt;&lt;span style=&quot;background-color: white; color: #252525; font-family: sans-serif; font-size: 14px; line-height: 22.4px;&quot;&gt;&amp;nbsp;adjustment using the&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;https://en.wikipedia.org/wiki/Image&quot; style=&quot;background: none rgb(255, 255, 255); color: #0b0080; font-family: sans-serif; font-size: 14px; line-height: 22.4px; text-decoration: none;&quot; title=&quot;Image&quot;&gt;image&lt;/a&gt;&lt;span style=&quot;background-color: white; color: #252525; font-family: sans-serif; font-size: 14px; line-height: 22.4px;&quot;&gt;&#39;s&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;https://en.wikipedia.org/wiki/Image_histogram&quot; style=&quot;background: none rgb(255, 255, 255); color: #0b0080; font-family: sans-serif; font-size: 14px; line-height: 22.4px; text-decoration: none;&quot; title=&quot;Image histogram&quot;&gt;histogram&lt;/a&gt;&lt;span style=&quot;background-color: white; color: #252525; font-family: sans-serif; font-size: 14px; line-height: 22.4px;&quot;&gt;.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #252525; font-family: sans-serif; font-size: 14px; line-height: 22.4px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; color: #252525; font-family: sans-serif; font-size: 14px; line-height: 22.4px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYqDUQTx84isacXt6YC8eU_xfEUjLFIaOL6ZslWOk3I39n-IkbCDYPBQGrfhanIMZefwiuM6E_D5v1m1MTbZzBi8tp0ScVOSjVkMVZCgpw6aKhyphenhyphenx73UzzjtI-xaEx6xZdTDMedQxA29DpQ/s1600/2016-03-28_104257.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYqDUQTx84isacXt6YC8eU_xfEUjLFIaOL6ZslWOk3I39n-IkbCDYPBQGrfhanIMZefwiuM6E_D5v1m1MTbZzBi8tp0ScVOSjVkMVZCgpw6aKhyphenhyphenx73UzzjtI-xaEx6xZdTDMedQxA29DpQ/s400/2016-03-28_104257.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWv0_Hjr6K4Gqu8DJNo2fpprc6nKTL1ND2rOHz-OleIDZCJLRF62HxUwpGVggXHb6Il01XjN1oAuCyCTpblhK5tmoMD-aHKLyvzxScBT9pFz22NDDL_kZlPLekjVJH_56EhRjF9zSE4HLu/s1600/histogram.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWv0_Hjr6K4Gqu8DJNo2fpprc6nKTL1ND2rOHz-OleIDZCJLRF62HxUwpGVggXHb6Il01XjN1oAuCyCTpblhK5tmoMD-aHKLyvzxScBT9pFz22NDDL_kZlPLekjVJH_56EhRjF9zSE4HLu/s1600/histogram.jpg&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQdw9FX6wGbbaI4_GwLk3GozvEtRYy9CpPSi4tqV_iqOqx56HFQbOXAc84aOcnkYcsk8jtBgdZqhsmiCNuQn2xbKh-9bNSxeMBkOZByae4KP6_Tn7t8nk02ZhmM2jHzsqOQjoX9NPFMTzE/s1600/crowd_hist_compare.jpg&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;199&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQdw9FX6wGbbaI4_GwLk3GozvEtRYy9CpPSi4tqV_iqOqx56HFQbOXAc84aOcnkYcsk8jtBgdZqhsmiCNuQn2xbKh-9bNSxeMBkOZByae4KP6_Tn7t8nk02ZhmM2jHzsqOQjoX9NPFMTzE/s320/crowd_hist_compare.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
% histogram equalization section&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
J1=histeq(I3);&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
J2=histeq(I4);&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
J3=histeq(I5);&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
J4=histeq(I6);&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
% darkest image result&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
figure(25)&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
subplot(2,2,1); imshow(I3);&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
subplot(2,2,2); imhist(I3);&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
subplot(2,2,3); imshow(J1);&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
subplot(2,2,4); imhist(J1);&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
% dark image result&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
figure(26)&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
subplot(2,2,1); imshow(I4);&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
subplot(2,2,2); imhist(I4);&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
subplot(2,2,3); imshow(J2);&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
subplot(2,2,4); imhist(J2);&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
%light image result&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
figure(27)&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
subplot(2,2,1); imshow(I5);&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
subplot(2,2,2); imhist(I5);&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
subplot(2,2,3); imshow(J3);&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
subplot(2,2,4); imhist(J3);&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #252525; font-family: sans-serif; font-size: 14px; line-height: 22.4px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;color: #252525; font-family: sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 22.4px;&quot;&gt;%lightest image result&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;color: #252525; font-family: sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 22.4px;&quot;&gt;figure(28)&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;color: #252525; font-family: sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 22.4px;&quot;&gt;subplot(2,2,1); imshow(I6);&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;color: #252525; font-family: sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 22.4px;&quot;&gt;subplot(2,2,2); imhist(I6);&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;color: #252525; font-family: sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 22.4px;&quot;&gt;subplot(2,2,3); imshow(J4);&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-size: 14px; line-height: 22.4px;&quot;&gt;&lt;span style=&quot;background-color: white; color: #252525; font-family: sans-serif;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;color: #252525; font-family: sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 22.4px;&quot;&gt;subplot(2,2,4); imhist(J4);&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://koraykara.blogspot.com/feeds/6008722296567048126/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://koraykara.blogspot.com/2016/03/histogram-equalization-in-matlab.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2181096951602312571/posts/default/6008722296567048126'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2181096951602312571/posts/default/6008722296567048126'/><link rel='alternate' type='text/html' href='http://koraykara.blogspot.com/2016/03/histogram-equalization-in-matlab.html' title='Histogram Equalization in Matlab'/><author><name>Koray Kara</name><uri>http://www.blogger.com/profile/15582313592920197518</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhu7QNhB7_TsTP_zOUzwqDeL0_EaVvc0ssb_ANcfgztWFQiheNxHkU32Jts8qopCc9VoiwKMOzswIUNX3hHK43ytsgRAoCkFoJkmiCGVRtQjV4YjipHqncvveJt7QyEoQ/s220/DSC04910.JPG'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYqDUQTx84isacXt6YC8eU_xfEUjLFIaOL6ZslWOk3I39n-IkbCDYPBQGrfhanIMZefwiuM6E_D5v1m1MTbZzBi8tp0ScVOSjVkMVZCgpw6aKhyphenhyphenx73UzzjtI-xaEx6xZdTDMedQxA29DpQ/s72-c/2016-03-28_104257.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2181096951602312571.post-4138347085227744979</id><published>2016-03-28T10:32:00.001+03:00</published><updated>2019-09-13T19:36:15.171+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Bit Plane Slicing in Matlab"/><title type='text'>Bit Plane Slicing in Matlab</title><content type='html'>&lt;div style=&quot;background-color: white; color: #252525; font-family: sans-serif; font-size: 14px; line-height: 22.4px; margin-bottom: 0.5em; margin-top: 0.5em;&quot;&gt;
A&amp;nbsp;&lt;b&gt;bit plane&lt;/b&gt;&amp;nbsp;of a&amp;nbsp;&lt;a href=&quot;https://en.wikipedia.org/wiki/Digital_data&quot; style=&quot;background: none; color: #0b0080; text-decoration: none;&quot; title=&quot;Digital data&quot;&gt;digital&lt;/a&gt;&amp;nbsp;&lt;a class=&quot;mw-redirect&quot; href=&quot;https://en.wikipedia.org/wiki/Discrete_signal&quot; style=&quot;background: none; color: #0b0080; text-decoration: none;&quot; title=&quot;Discrete signal&quot;&gt;discrete signal&lt;/a&gt;&amp;nbsp;(such as image or sound) is a set of&amp;nbsp;&lt;a href=&quot;https://en.wikipedia.org/wiki/Bit&quot; style=&quot;background: none; color: #0b0080; text-decoration: none;&quot; title=&quot;Bit&quot;&gt;bits&lt;/a&gt;&amp;nbsp;corresponding to a given bit position in each of the&amp;nbsp;&lt;a href=&quot;https://en.wikipedia.org/wiki/Binary_number&quot; style=&quot;background: none; color: #0b0080; text-decoration: none;&quot; title=&quot;Binary number&quot;&gt;binary numbers&lt;/a&gt;&amp;nbsp;representing the signal.&lt;sup class=&quot;reference&quot; id=&quot;cite_ref-1&quot; style=&quot;font-size: 11.2px; line-height: 1; unicode-bidi: isolate;&quot;&gt;&lt;a href=&quot;https://en.wikipedia.org/wiki/Bit_plane#cite_note-1&quot; style=&quot;background: none; color: #0b0080; text-decoration: none; white-space: nowrap;&quot;&gt;[1]&lt;/a&gt;&lt;/sup&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #252525; font-family: sans-serif; font-size: 14px; line-height: 22.4px; margin-bottom: 0.5em; margin-top: 0.5em;&quot;&gt;
For example, for&amp;nbsp;&lt;a href=&quot;https://en.wikipedia.org/wiki/16-bit&quot; style=&quot;background: none; color: #0b0080; text-decoration: none;&quot; title=&quot;16-bit&quot;&gt;16-bit&lt;/a&gt;&amp;nbsp;data representation there are 16 bit planes: the first bit plane contains the set of the most significant bit, and the 16th contains the least significant bit.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #252525; font-family: sans-serif; font-size: 14px; line-height: 22.4px; margin-bottom: 0.5em; margin-top: 0.5em;&quot;&gt;
It is possible to see that the first bit plane gives the roughest but the most critical approximation of values of a medium, and the higher the number of the bit plane, the less is its contribution to the final stage. Thus, adding a bit plane gives a better approximation.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #252525; font-family: sans-serif; font-size: 14px; line-height: 22.4px; margin-bottom: 0.5em; margin-top: 0.5em;&quot;&gt;
If a bit on the nth bit plane on an m-bit dataset is set to 1, it contributes a value of 2&lt;sup style=&quot;font-size: 11.2px; line-height: 1;&quot;&gt;(m-n)&lt;/sup&gt;, otherwise it contributes nothing. Therefore, bit planes can contribute half of the value of the previous bit plane. For example, in the 8-bit&amp;nbsp;&lt;span style=&quot;line-height: 22.4px;&quot;&gt;10110101 (181 in decimal) the bit planes work as follows:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #252525; font-family: sans-serif; font-size: 14px; line-height: 22.4px; margin-bottom: 0.5em; margin-top: 0.5em;&quot;&gt;
&lt;span style=&quot;line-height: 22.4px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #252525; font-family: sans-serif; font-size: 14px; line-height: 22.4px; margin-bottom: 0.5em; margin-top: 0.5em;&quot;&gt;
&lt;span style=&quot;line-height: 22.4px;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjIN4nq1hI_AgjviCp9atfqbI61W-xFMnyhP_51Ad7MwUQ7m3-3brBEPPZG7UwQaUUXLicX8x0mpTCl5LMd9LXnf5KtKdsymcjNhrAdk5wVu9Uu0PIT5fb-vQ9NAH_HL4S6RVOQ5-Xr25KC/s1600/2016-03-28_101342.png&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;235&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjIN4nq1hI_AgjviCp9atfqbI61W-xFMnyhP_51Ad7MwUQ7m3-3brBEPPZG7UwQaUUXLicX8x0mpTCl5LMd9LXnf5KtKdsymcjNhrAdk5wVu9Uu0PIT5fb-vQ9NAH_HL4S6RVOQ5-Xr25KC/s320/2016-03-28_101342.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #252525; font-family: sans-serif; font-size: 14px; line-height: 22.4px; margin-bottom: 0.5em; margin-top: 0.5em;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #252525; font-family: sans-serif; font-size: 14px; line-height: 22.4px; margin-bottom: 0.5em; margin-top: 0.5em;&quot;&gt;
Bitplane is sometimes used as synonymous to&amp;nbsp;&lt;a href=&quot;https://en.wikipedia.org/wiki/Bitmap&quot; style=&quot;background: none; color: #0b0080; text-decoration: none;&quot; title=&quot;Bitmap&quot;&gt;Bitmap&lt;/a&gt;; however, technically the former refers to the location of the data in memory and the latter to the data itself.&lt;sup class=&quot;reference&quot; id=&quot;cite_ref-2&quot; style=&quot;font-size: 11.2px; line-height: 1; unicode-bidi: isolate;&quot;&gt;&lt;a href=&quot;https://en.wikipedia.org/wiki/Bit_plane#cite_note-2&quot; style=&quot;background: none; color: #0b0080; text-decoration: none; white-space: nowrap;&quot;&gt;[2]&lt;/a&gt;&lt;/sup&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #252525; font-family: sans-serif; font-size: 14px; line-height: 22.4px; margin-bottom: 0.5em; margin-top: 0.5em;&quot;&gt;
One aspect of using bit-planes is determining whether a bit-plane is random noise or contains significant information.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #252525; font-family: sans-serif; font-size: 14px; line-height: 22.4px; margin-bottom: 0.5em; margin-top: 0.5em;&quot;&gt;
One method for calculating this is compare each pixel (X,Y) to three adjacent pixels (X-1,Y), (X,Y-1) and (X-1,Y-1). If the pixel is the same as at least two of the three adjacent pixels, it is not noise. A noisy bit-plane will have 49% to 51% pixels that are noise.&lt;sup class=&quot;reference&quot; id=&quot;cite_ref-3&quot; style=&quot;font-size: 11.2px; line-height: 1; unicode-bidi: isolate;&quot;&gt;&lt;a href=&quot;https://en.wikipedia.org/wiki/Bit_plane#cite_note-3&quot; style=&quot;background: none; color: #0b0080; text-decoration: none; white-space: nowrap;&quot;&gt;[3]&lt;/a&gt;&lt;/sup&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #252525; font-family: sans-serif; font-size: 14px; line-height: 22.4px; margin-bottom: 0.5em; margin-top: 0.5em;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h2 style=&quot;background: none rgb(255, 255, 255); border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; font-family: &#39;Linux Libertine&#39;, Georgia, Times, serif; font-weight: normal; line-height: 1.3; margin: 1em 0px 0.25em; overflow: hidden; padding: 0px;&quot;&gt;
&lt;span class=&quot;mw-headline&quot; id=&quot;Applications&quot;&gt;Applications&lt;/span&gt;&lt;span class=&quot;mw-editsection&quot; style=&quot;display: inline-block; font-family: sans-serif; font-size: x-small; line-height: 1em; margin-left: 1em; vertical-align: baseline; white-space: nowrap;&quot;&gt;&lt;span class=&quot;mw-editsection-bracket&quot; style=&quot;color: #555555; margin-right: 0.25em;&quot;&gt;[&lt;/span&gt;&lt;a href=&quot;https://en.wikipedia.org/w/index.php?title=Bit_plane&amp;amp;action=edit&amp;amp;section=1&quot; style=&quot;background: none; color: #0b0080; text-decoration: none;&quot; title=&quot;Edit section: Applications&quot;&gt;edit&lt;/a&gt;&lt;span class=&quot;mw-editsection-bracket&quot; style=&quot;color: #555555; margin-left: 0.25em;&quot;&gt;]&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;div style=&quot;background-color: white; color: #252525; font-family: sans-serif; font-size: 14px; line-height: 22.4px; margin-bottom: 0.5em; margin-top: 0.5em;&quot;&gt;
As an example, in&amp;nbsp;&lt;a href=&quot;https://en.wikipedia.org/wiki/Pulse-code_modulation&quot; style=&quot;background: none; color: #0b0080; text-decoration: none;&quot; title=&quot;Pulse-code modulation&quot;&gt;PCM&lt;/a&gt;&amp;nbsp;sound&amp;nbsp;&lt;a href=&quot;https://en.wikipedia.org/wiki/Code&quot; style=&quot;background: none; color: #0b0080; text-decoration: none;&quot; title=&quot;Code&quot;&gt;encoding&lt;/a&gt;&amp;nbsp;the first bit in the sample denotes the sign of the function, or in other words defines the half of the whole&amp;nbsp;&lt;a href=&quot;https://en.wikipedia.org/wiki/Amplitude&quot; style=&quot;background: none; color: #0b0080; text-decoration: none;&quot; title=&quot;Amplitude&quot;&gt;amplitude&lt;/a&gt;&amp;nbsp;values range, and the last bit defines the precise value. Replacement of more significant bits result in more distortion than replacement of less significant bits. In lossy&amp;nbsp;&lt;a href=&quot;https://en.wikipedia.org/wiki/Data_compression&quot; style=&quot;background: none; color: #0b0080; text-decoration: none;&quot; title=&quot;Data compression&quot;&gt;media compression&lt;/a&gt;&amp;nbsp;that uses bit-planes it gives more freedom to encode less significant bit-planes and it is more critical to preserve the more significant ones.&lt;sup class=&quot;reference&quot; id=&quot;cite_ref-4&quot; style=&quot;font-size: 11.2px; line-height: 1; unicode-bidi: isolate;&quot;&gt;&lt;a href=&quot;https://en.wikipedia.org/wiki/Bit_plane#cite_note-4&quot; style=&quot;background: none; color: #0b0080; text-decoration: none; white-space: nowrap;&quot;&gt;[4]&lt;/a&gt;&lt;/sup&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #252525; font-family: sans-serif; font-size: 14px; line-height: 22.4px; margin-bottom: 0.5em; margin-top: 0.5em;&quot;&gt;
As illustrated in the image above, the early bitplanes, particularly the first, may have constant runs of bits, and thus can be efficiently encoded by&amp;nbsp;&lt;a href=&quot;https://en.wikipedia.org/wiki/Run-length_encoding&quot; style=&quot;background: none; color: #0b0080; text-decoration: none;&quot; title=&quot;Run-length encoding&quot;&gt;run-length encoding&lt;/a&gt;. This is done (in the transform domain) in the&amp;nbsp;&lt;a href=&quot;https://en.wikipedia.org/wiki/Progressive_Graphics_File&quot; style=&quot;background: none; color: #0b0080; text-decoration: none;&quot; title=&quot;Progressive Graphics File&quot;&gt;Progressive Graphics File&lt;/a&gt;&amp;nbsp;image format, for instance.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #252525; font-family: sans-serif; font-size: 14px; line-height: 22.4px; margin-bottom: 0.5em; margin-top: 0.5em;&quot;&gt;
Some computers displayed graphics in bitplane format most notably the&amp;nbsp;&lt;a href=&quot;https://en.wikipedia.org/wiki/Amiga&quot; style=&quot;background: none; color: #0b0080; text-decoration: none;&quot; title=&quot;Amiga&quot;&gt;Amiga&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href=&quot;https://en.wikipedia.org/wiki/Atari_ST&quot; style=&quot;background: none; color: #0b0080; text-decoration: none;&quot; title=&quot;Atari ST&quot;&gt;Atari ST&lt;/a&gt;, contrasting with the more common packed format.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #252525; font-family: sans-serif; font-size: 14px; line-height: 22.4px; margin-bottom: 0.5em; margin-top: 0.5em;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h2 style=&quot;background: none rgb(255, 255, 255); border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; font-family: &#39;Linux Libertine&#39;, Georgia, Times, serif; font-weight: normal; line-height: 1.3; margin: 1em 0px 0.25em; overflow: hidden; padding: 0px;&quot;&gt;
&lt;span class=&quot;mw-headline&quot; id=&quot;Programs&quot;&gt;Programs&lt;/span&gt;&lt;span class=&quot;mw-editsection&quot; style=&quot;display: inline-block; font-family: sans-serif; font-size: x-small; line-height: 1em; margin-left: 1em; vertical-align: baseline; white-space: nowrap;&quot;&gt;&lt;span class=&quot;mw-editsection-bracket&quot; style=&quot;color: #555555; margin-right: 0.25em;&quot;&gt;[&lt;/span&gt;&lt;a href=&quot;https://en.wikipedia.org/w/index.php?title=Bit_plane&amp;amp;action=edit&amp;amp;section=2&quot; style=&quot;background: none; color: #0b0080; text-decoration: none;&quot; title=&quot;Edit section: Programs&quot;&gt;edit&lt;/a&gt;&lt;span class=&quot;mw-editsection-bracket&quot; style=&quot;color: #555555; margin-left: 0.25em;&quot;&gt;]&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;div style=&quot;background-color: white; color: #252525; font-family: sans-serif; font-size: 14px; line-height: 22.4px; margin-bottom: 0.5em; margin-top: 0.5em;&quot;&gt;
Many image processing packages can split an image into bit-planes. Open source tools such as Pamarith from&amp;nbsp;&lt;a href=&quot;https://en.wikipedia.org/wiki/Netpbm&quot; style=&quot;background: none; color: #0b0080; text-decoration: none;&quot; title=&quot;Netpbm&quot;&gt;Netpbm&lt;/a&gt;&amp;nbsp;and Convert from&amp;nbsp;&lt;a href=&quot;https://en.wikipedia.org/wiki/ImageMagick&quot; style=&quot;background: none; color: #0b0080; text-decoration: none;&quot; title=&quot;ImageMagick&quot;&gt;ImageMagick&lt;/a&gt;&amp;nbsp;can be used to generate bit-planes.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #252525; font-family: sans-serif; font-size: 14px; line-height: 22.4px; margin-bottom: 0.5em; margin-top: 0.5em;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjfAMx8ubRXMHCR4kbYb-S0v23AWAsGpOABMkhYGvvSxPjulbHgT7VIJsUk7c3cUhRqwfkvbBltntlbUvG7LhLJlBnwu0-Kyn_qEgKhW2vlyEtsM_NhCjl4CLyQFVXVEl9-yrpvh9AbdZ2/s1600/400px-Lichtenstein_bitplanes.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjfAMx8ubRXMHCR4kbYb-S0v23AWAsGpOABMkhYGvvSxPjulbHgT7VIJsUk7c3cUhRqwfkvbBltntlbUvG7LhLJlBnwu0-Kyn_qEgKhW2vlyEtsM_NhCjl4CLyQFVXVEl9-yrpvh9AbdZ2/s1600/400px-Lichtenstein_bitplanes.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #252525; font-family: sans-serif; font-size: 14px; line-height: 22.4px; margin-bottom: 0.5em; margin-top: 0.5em;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #252525; font-family: sans-serif; font-size: 14px; line-height: 22.4px; margin-bottom: 0.5em; margin-top: 0.5em;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEioK-h5Xqe5nQPcSEMgPsJQr2OPK28rgVgQeIecnk0lZ-XtBfvzkbD66jzu6iacSqlz6dbbbwtimBNou9kjTvTXzr8kCA-S74vay8pTvrbvVlJ0S7iNwpepzXQCFvmyOISrirCtjJdRbfob/s1600/indir.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;148&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEioK-h5Xqe5nQPcSEMgPsJQr2OPK28rgVgQeIecnk0lZ-XtBfvzkbD66jzu6iacSqlz6dbbbwtimBNou9kjTvTXzr8kCA-S74vay8pTvrbvVlJ0S7iNwpepzXQCFvmyOISrirCtjJdRbfob/s400/indir.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
im=imread(&#39;SpaceElevator.jpg&#39;); &amp;nbsp; &amp;nbsp; &amp;nbsp;% imaj dosyasını okuma&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
figure(7);imshow(im); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;% imaj dosyasının gösterimi&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
I1 = rgb2gray(im); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;% resmi grayscale versiyona cevirme&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
figure(8);imshow(I1);&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
B1=bitget(I1,1);&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
B1=B1*1;figure(9), imshow(logical(B1));title(&#39;Bit plane 1&#39;);&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
B2=bitget(I1,2);&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
B2=B2*2;figure(10), imshow(logical(B2));title(&#39;Bit plane 2&#39;);&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
B3=bitget(I1,3);&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
B3=B3*4;figure(11), imshow(logical(B3));title(&#39;Bit plane 3&#39;);&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
B4=bitget(I1,4);&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
B4=B4*8;figure(12), imshow(logical(B4));title(&#39;Bit plane 4&#39;);&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
B5=bitget(I1,5);&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
B5=B5*16;figure(13), imshow(logical(B5));title(&#39;Bit plane 5&#39;);&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
B6=bitget(I1,6);&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
B6=B6*32;figure(14), imshow(logical(B6));title(&#39;Bit plane 6&#39;);&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
B7=bitget(I1,7);&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
B7=B7*64; figure(15), imshow(logical(B7));title(&#39;Bit plane 7&#39;);&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
B8=bitget(I1,8);&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
B8=B8*128; figure(16), imshow(logical(B8));title(&#39;Bit plane 8&#39;);&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
We can hide some knowledge into the slices and than when we reconstruct the image&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
After reconstruction there won&#39;t be any effect of this knowledge. It is unvisible. In our&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
example we are going to add our name into the least significant bit slice in binary form.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
In order to do it firstly we should change our name into binary format. Search it online,&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
I found a website that converts any text you write into binary format. After that we will&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
just import our binary name bit by bit where ever we want.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
% My name in binary format&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
%|K|O|R|A|Y| |K|A|R|A|&amp;lt;new line&amp;gt;&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
%|75|79|82|65|89|32|75|65|82|65|13&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
%|4B|4F|52|41|59|20|4B|41|52|41|0D&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
%|01001011|01001111|01010010|01000001|01011001|00100000|01001011&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
%|01000001|01010010|01000001|00001101&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
% Adding the name to the lowest bit plane in binary form&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
% May be there is another easy way to do it but for now it works.&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
A1(1)=0;A1(2)=1;A1(3)=0;A1(4)=0;A1(5)=1;A1(6)=0;A1(7)=1;A1(8)=1;&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
A1(9)=0;A1(10)=1;A1(11)=0;A1(12)=0;A1(13)=1;A1(14)=1;A1(15)=1;A1(16)=1;&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
A1(17)=0;A1(18)=1;A1(19)=0;A1(20)=1;A1(21)=0;A1(22)=0;A1(23)=1;A1(24)=0;&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
A1(25)=0;A1(26)=1;A1(27)=0;A1(28)=0;A1(29)=0;A1(30)=0;A1(31)=0;A1(32)=1;&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
A1(33)=0;A1(34)=1;A1(35)=0;A1(36)=1;A1(37)=1;A1(38)=0;A1(39)=0;A1(40)=1;&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
A1(41)=0;A1(42)=0;A1(43)=1;A1(44)=0;A1(45)=0;A1(46)=0;A1(47)=0;A1(48)=0;&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
A1(49)=0;A1(50)=1;A1(51)=0;A1(52)=0;A1(53)=1;A1(54)=0;A1(55)=1;A1(56)=1;&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
A1(57)=0;A1(58)=1;A1(59)=0;A1(60)=0;A1(61)=0;A1(62)=0;A1(63)=0;A1(64)=1;&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
A1(65)=0;A1(66)=1;A1(67)=0;A1(68)=1;A1(69)=0;A1(70)=0;A1(71)=1;A1(72)=0;&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
A1(73)=0;A1(74)=1;A1(75)=0;A1(76)=0;A1(77)=0;A1(78)=0;A1(79)=0;A1(80)=1;&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
A1(81)=0;A1(82)=0;A1(83)=0;A1(84)=0;A1(85)=1;A1(86)=1;A1(87)=0;A1(88)=1;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
% Reconstruction of the image again step by step&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
A1=B1;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
A2=B1+B2;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
A3=B1+B2+B3;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
A4=B1+B2+B3+B4;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
A5=B1+B2+B3+B4+B5;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
A6=B1+B2+B3+B4+B5+B6;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
A7=B1+B2+B3+B4+B5+B6+B7;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
A8=B1+B2+B3+B4+B5+B6+B7+B8;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
figure(17), imshow((A1));title(&#39;STEP1&#39;);&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
figure(18), imshow((A2));title(&#39;STEP2&#39;);&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
figure(19), imshow((A3));title(&#39;STEP3&#39;);&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
figure(20), imshow((A4));title(&#39;STEP4&#39;);&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
figure(21), imshow((A5));title(&#39;STEP5&#39;);&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
figure(22), imshow((A6));title(&#39;STEP6&#39;);&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
figure(23), imshow((A7));title(&#39;STEP7&#39;);&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
figure(24), imshow((A8));title(&#39;STEP8&#39;);&amp;nbsp;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #252525; font-family: sans-serif; font-size: 14px; line-height: 22.4px; margin-bottom: 0.5em; margin-top: 0.5em;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://koraykara.blogspot.com/feeds/4138347085227744979/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://koraykara.blogspot.com/2016/03/bit-plane-slicing-in-matlab.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2181096951602312571/posts/default/4138347085227744979'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2181096951602312571/posts/default/4138347085227744979'/><link rel='alternate' type='text/html' href='http://koraykara.blogspot.com/2016/03/bit-plane-slicing-in-matlab.html' title='Bit Plane Slicing in Matlab'/><author><name>Koray Kara</name><uri>http://www.blogger.com/profile/15582313592920197518</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhu7QNhB7_TsTP_zOUzwqDeL0_EaVvc0ssb_ANcfgztWFQiheNxHkU32Jts8qopCc9VoiwKMOzswIUNX3hHK43ytsgRAoCkFoJkmiCGVRtQjV4YjipHqncvveJt7QyEoQ/s220/DSC04910.JPG'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjIN4nq1hI_AgjviCp9atfqbI61W-xFMnyhP_51Ad7MwUQ7m3-3brBEPPZG7UwQaUUXLicX8x0mpTCl5LMd9LXnf5KtKdsymcjNhrAdk5wVu9Uu0PIT5fb-vQ9NAH_HL4S6RVOQ5-Xr25KC/s72-c/2016-03-28_101342.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2181096951602312571.post-9019801470277758444</id><published>2016-03-28T10:04:00.002+03:00</published><updated>2019-09-13T21:17:01.624+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Power Law Transformation  in Matlab"/><title type='text'>Power Law Transformation  in Matlab</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEicbXUqFdy5Cp4qTL8GeK7KalYOa_0RrRnzZ2TQAB0mVGZMpH2KzS-Eg3GvJVtgX-zang4iAxW-o0hJJAMkwnX5afveHZfOF-L-pUne52nYR-85YFh9Z9KShflHvW-5GNwnfRjzAASQ_HX_/s1600/intensity-transformation-and-spatial-filtering-i-intensity-transformation-and-image-noise-10-638.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEicbXUqFdy5Cp4qTL8GeK7KalYOa_0RrRnzZ2TQAB0mVGZMpH2KzS-Eg3GvJVtgX-zang4iAxW-o0hJJAMkwnX5afveHZfOF-L-pUne52nYR-85YFh9Z9KShflHvW-5GNwnfRjzAASQ_HX_/s1600/intensity-transformation-and-spatial-filtering-i-intensity-transformation-and-image-noise-10-638.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgR5m-7Hx2OX2YGs9AoeoBgibAIjGnRMkZ7-iiHE_q4SaReAN4xgLQukRqvXNIU6IiF8cjWoBtZk8yispB3oUXy65qPskbmKcWa1fDMFA6gsVv9iXlbLMvxGwx3CrfXpvZCVOK5rEBRkwg4/s1600/03-intensity-transformations-27-638.jpg&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgR5m-7Hx2OX2YGs9AoeoBgibAIjGnRMkZ7-iiHE_q4SaReAN4xgLQukRqvXNIU6IiF8cjWoBtZk8yispB3oUXy65qPskbmKcWa1fDMFA6gsVv9iXlbLMvxGwx3CrfXpvZCVOK5rEBRkwg4/s1600/03-intensity-transformations-27-638.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikNQyYzJuR9-9jKw6XD5C7nNhjb0DTQEjVZg3RE66ZYOQnxI0h7oTNmXisOBm7o_0HuwzaniGxAfZWbdxlGG_Gxcgs1xdrvtCU2uyXVvPqLGGFRJZZzen4ZTJaEOYRw5Q6cvP_MTveArIa/s1600/image-enhancement-techniques-35-638.jpg&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikNQyYzJuR9-9jKw6XD5C7nNhjb0DTQEjVZg3RE66ZYOQnxI0h7oTNmXisOBm7o_0HuwzaniGxAfZWbdxlGG_Gxcgs1xdrvtCU2uyXVvPqLGGFRJZZzen4ZTJaEOYRw5Q6cvP_MTveArIa/s1600/image-enhancement-techniques-35-638.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
% These pics are just examples , you should choose a picture and put it to the same&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
% folder that your matlab (.m) file also exists. After that you should only call it in the&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
% imread function as shown in the code :&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
im=imread(&#39;SpaceElevator.jpg&#39;);&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
% RGB to gray&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
I=rgb2gray(im);&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
% In double format&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
I=im2double(I);&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
% computing size m,n&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
[m n] = size(I);&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
% Computing s = c * (r ^ gamma) where r and gamma are positive constants&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
c = 2;&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
g =[0.5 0.9 3 6];% Gamma Correction Array&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
for p = 1 : m&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&amp;nbsp; &amp;nbsp; for q = 1 : n&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; I3(p, q) = c * I(p, q).^ g(1);&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; I4(p, q) = c * I(p, q).^ g(2);&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; I5(p, q) = c * I(p, q).^ g(3);&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; I6(p, q) = c * I(p, q).^ g(4);&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&amp;nbsp; &amp;nbsp; end&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
end&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
figure(3), imshow(I3);title(&#39;Power‐law transformation‐darkest&#39;);xlabel(&#39;Gamma=&#39;),xlabel(0.5);&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
figure(4), imshow(I4);title(&#39;Power‐law transformation‐dark&#39;);xlabel(&#39;Gamma=&#39;),xlabel(0.9);&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
figure(5), imshow(I5);title(&#39;Power‐law transformation‐light&#39;);xlabel(&#39;Gamma=&#39;),xlabel(3);&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
figure(6), imshow(I6);title(&#39;Power‐law transformation‐lightest&#39;);xlabel(&#39;Gamma=&#39;),xlabel(6);&lt;/div&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://koraykara.blogspot.com/feeds/9019801470277758444/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://koraykara.blogspot.com/2016/03/power-law-transformation-in-matlab.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2181096951602312571/posts/default/9019801470277758444'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2181096951602312571/posts/default/9019801470277758444'/><link rel='alternate' type='text/html' href='http://koraykara.blogspot.com/2016/03/power-law-transformation-in-matlab.html' title='Power Law Transformation  in Matlab'/><author><name>Koray Kara</name><uri>http://www.blogger.com/profile/15582313592920197518</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhu7QNhB7_TsTP_zOUzwqDeL0_EaVvc0ssb_ANcfgztWFQiheNxHkU32Jts8qopCc9VoiwKMOzswIUNX3hHK43ytsgRAoCkFoJkmiCGVRtQjV4YjipHqncvveJt7QyEoQ/s220/DSC04910.JPG'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEicbXUqFdy5Cp4qTL8GeK7KalYOa_0RrRnzZ2TQAB0mVGZMpH2KzS-Eg3GvJVtgX-zang4iAxW-o0hJJAMkwnX5afveHZfOF-L-pUne52nYR-85YFh9Z9KShflHvW-5GNwnfRjzAASQ_HX_/s72-c/intensity-transformation-and-spatial-filtering-i-intensity-transformation-and-image-noise-10-638.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2181096951602312571.post-8835819619951961851</id><published>2016-03-28T09:51:00.003+03:00</published><updated>2016-03-28T09:52:21.685+03:00</updated><title type='text'>Changing the image into grayscale version in Matlab</title><content type='html'>I1 = rgb2gray(im); % resmi grayscale versiyona cevirme&lt;br /&gt;
figure(2);imshow(I1);&lt;br /&gt;
&lt;br /&gt;
% imshow is the function to monitor an image&lt;br /&gt;
% rgb2gray is the matlab function in order to make the conversion into grayscale.&lt;br /&gt;
% By the way you can write &quot;help imshow&quot; or &quot;doc imshow&quot;on the command line to reach the&lt;br /&gt;
% reference pages of the functions and you will find there detailed explanations.</content><link rel='replies' type='application/atom+xml' href='http://koraykara.blogspot.com/feeds/8835819619951961851/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://koraykara.blogspot.com/2016/03/changing-image-into-grayscale-version.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2181096951602312571/posts/default/8835819619951961851'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2181096951602312571/posts/default/8835819619951961851'/><link rel='alternate' type='text/html' href='http://koraykara.blogspot.com/2016/03/changing-image-into-grayscale-version.html' title='Changing the image into grayscale version in Matlab'/><author><name>Koray Kara</name><uri>http://www.blogger.com/profile/15582313592920197518</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhu7QNhB7_TsTP_zOUzwqDeL0_EaVvc0ssb_ANcfgztWFQiheNxHkU32Jts8qopCc9VoiwKMOzswIUNX3hHK43ytsgRAoCkFoJkmiCGVRtQjV4YjipHqncvveJt7QyEoQ/s220/DSC04910.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2181096951602312571.post-1066084358684808399</id><published>2016-03-28T09:48:00.000+03:00</published><updated>2016-03-28T09:48:00.048+03:00</updated><title type='text'>Reading an image in Matlab</title><content type='html'>clear&lt;br /&gt;
close all&lt;br /&gt;
im=imread(&#39;SpaceElevator.jpg&#39;); % imaj dosyasını okuma&lt;br /&gt;
figure(1);imshow(im); % imaj dosyasının gösterimi</content><link rel='replies' type='application/atom+xml' href='http://koraykara.blogspot.com/feeds/1066084358684808399/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://koraykara.blogspot.com/2016/03/reading-image-in-matlab.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2181096951602312571/posts/default/1066084358684808399'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2181096951602312571/posts/default/1066084358684808399'/><link rel='alternate' type='text/html' href='http://koraykara.blogspot.com/2016/03/reading-image-in-matlab.html' title='Reading an image in Matlab'/><author><name>Koray Kara</name><uri>http://www.blogger.com/profile/15582313592920197518</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhu7QNhB7_TsTP_zOUzwqDeL0_EaVvc0ssb_ANcfgztWFQiheNxHkU32Jts8qopCc9VoiwKMOzswIUNX3hHK43ytsgRAoCkFoJkmiCGVRtQjV4YjipHqncvveJt7QyEoQ/s220/DSC04910.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2181096951602312571.post-1415199214147538508</id><published>2016-03-28T09:22:00.000+03:00</published><updated>2016-03-28T09:22:20.640+03:00</updated><title type='text'>Exporting variables from Keil to Matlab</title><content type='html'>&lt;div style=&quot;text-align: center;&quot;&gt;
FUNC void save_array() {&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
int array_length;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
int idx;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
array_length = 100;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&amp;nbsp; exec(&quot;log &amp;gt; Values.dat&quot;);&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&amp;nbsp; for (idx = 0; idx &amp;lt; array_length; idx++) {&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&amp;nbsp; &amp;nbsp; printf (&quot;%6.4f\n&quot;,array_name[idx]);&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&amp;nbsp; }&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&amp;nbsp; exec(&quot;log off&quot;);&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
}&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://koraykara.blogspot.com/feeds/1415199214147538508/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://koraykara.blogspot.com/2016/03/exporting-vaqriables-from-keil-to-matlab.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2181096951602312571/posts/default/1415199214147538508'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2181096951602312571/posts/default/1415199214147538508'/><link rel='alternate' type='text/html' href='http://koraykara.blogspot.com/2016/03/exporting-vaqriables-from-keil-to-matlab.html' title='Exporting variables from Keil to Matlab'/><author><name>Koray Kara</name><uri>http://www.blogger.com/profile/15582313592920197518</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhu7QNhB7_TsTP_zOUzwqDeL0_EaVvc0ssb_ANcfgztWFQiheNxHkU32Jts8qopCc9VoiwKMOzswIUNX3hHK43ytsgRAoCkFoJkmiCGVRtQjV4YjipHqncvveJt7QyEoQ/s220/DSC04910.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2181096951602312571.post-2585230667626298333</id><published>2016-03-28T09:19:00.003+03:00</published><updated>2016-03-28T09:19:44.996+03:00</updated><title type='text'>The First C Program for the STM32F4 microcontroller</title><content type='html'>&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
int a[5]={1,2,3,4,5};&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
int b[5]={1,2,3,4,5};&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
void main(void) {&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
int c[5];&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
int cnt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
for(cnt=0;cnt&amp;lt;5;cnt++)&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
c[cnt]=a[cnt]+b[cnt];&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
while(1);&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
}&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://koraykara.blogspot.com/feeds/2585230667626298333/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://koraykara.blogspot.com/2016/03/the-first-c-program-for-stm32f4.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2181096951602312571/posts/default/2585230667626298333'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2181096951602312571/posts/default/2585230667626298333'/><link rel='alternate' type='text/html' href='http://koraykara.blogspot.com/2016/03/the-first-c-program-for-stm32f4.html' title='The First C Program for the STM32F4 microcontroller'/><author><name>Koray Kara</name><uri>http://www.blogger.com/profile/15582313592920197518</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhu7QNhB7_TsTP_zOUzwqDeL0_EaVvc0ssb_ANcfgztWFQiheNxHkU32Jts8qopCc9VoiwKMOzswIUNX3hHK43ytsgRAoCkFoJkmiCGVRtQjV4YjipHqncvveJt7QyEoQ/s220/DSC04910.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2181096951602312571.post-5490714051307421347</id><published>2014-07-03T15:58:00.002+03:00</published><updated>2019-09-13T21:19:12.409+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ayarlanabilir Balast"/><category scheme="http://www.blogger.com/atom/ns#" term="balast"/><category scheme="http://www.blogger.com/atom/ns#" term="Balast Ne İşe Yarar ?"/><category scheme="http://www.blogger.com/atom/ns#" term="Balast Nedir ?"/><category scheme="http://www.blogger.com/atom/ns#" term="Balast Çeşitleri ?"/><category scheme="http://www.blogger.com/atom/ns#" term="Elektronik Balast"/><title type='text'>BALAST</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;background-color: white; clear: both; color: #4f4f4f; font-family: &#39;Segoe UI&#39;, Arial; font-size: 14px; line-height: 22.390625px;&quot;&gt;
&lt;b&gt;Balast Nedir ?&amp;nbsp;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;background-color: white; clear: both; color: #4f4f4f; font-family: &#39;Segoe UI&#39;, Arial; font-size: 14px; line-height: 22.390625px;&quot;&gt;
Civa Buharlı Ampullerde ve Sodyum Buharlı Ampullerde &amp;nbsp;akımın kısıtlı bir seviyede akmasını sağlayan devre elemanlarıdır.&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;background-color: white; clear: both; color: #4f4f4f; font-family: &#39;Segoe UI&#39;, Arial; font-size: 14px; line-height: 22.390625px;&quot;&gt;
&lt;b&gt;Balast Ne İşe Yarar ?&lt;/b&gt;&lt;/div&gt;
Yüksek watt değerli ampulleri çalıştırmak için gerekli devre parçasıdır. Civayı yada Sodyumu ısıtan Flamanlar kısa devreye neden olur .&amp;nbsp;&lt;b&gt;Balast&amp;nbsp;&lt;/b&gt;&amp;nbsp;bu kısa devreleri absorbe eder . &amp;nbsp;Ayrıca&amp;nbsp;Civa ve Sodyum buharlı ampullerin çalışırken çektikleri akım sürekli artar , &amp;nbsp;&lt;b&gt;Balast&amp;nbsp;&lt;/b&gt;bu sistemi dengeler. &amp;nbsp;Sistemin yüksek akım değerlerine ulaşıp , ampulü patlamasına engel olur.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Balast Çeşitleri ?&lt;/b&gt;&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;Elektronik Balast :&lt;/b&gt;&amp;nbsp;Seri ışık verebilir. Ayarlanabilir balasta oranla çok daha az enerji tüketir . Isınma problemi yaşanmaz. Sürekli kullanımlar için idealdir.&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;Ayarlanabilir Balast :&lt;/b&gt;&amp;nbsp;Işık verebilmesi için zamana ihtiyaç duyar. Elektronik blasta oranla çok daha fazla enerji tüketir. Isınma problemi vardır . Sık yanıp söndürme kullanımları için idealdir.&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;
Balastlar İçin Enerji Sınıflandırması&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot;; font-size: xx-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoNormalTable&quot; style=&quot;color: black; font-family: Calibri; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr style=&quot;vertical-align: top;&quot;&gt;&lt;td style=&quot;border: 0px; padding: 0in; vertical-align: top; width: 160.25pt;&quot; valign=&quot;top&quot; width=&quot;214&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 12pt; line-height: 12.55pt; margin: 0cm 0cm 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;tahoma&amp;quot;;&quot;&gt;A1&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border: 0px; padding: 0in; vertical-align: top; width: 220pt;&quot; valign=&quot;top&quot; width=&quot;293&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 12pt; line-height: 12.55pt; margin: 0cm 0cm 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: #4c4d4d; font-family: &amp;quot;tahoma&amp;quot;;&quot;&gt;Dimmerlenebilir elektronik balast&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top;&quot;&gt;&lt;td style=&quot;border: 0px; padding: 0in; vertical-align: top; width: 160.25pt;&quot; valign=&quot;top&quot; width=&quot;214&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 12pt; line-height: 12.55pt; margin: 0cm 0cm 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;tahoma&amp;quot;;&quot;&gt;A2&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border: 0px; padding: 0in; vertical-align: top; width: 220pt;&quot; valign=&quot;top&quot; width=&quot;293&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 12pt; line-height: 12.55pt; margin: 0cm 0cm 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: #4c4d4d; font-family: &amp;quot;tahoma&amp;quot;;&quot;&gt;Düşük kayıplı elektronik balast&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top;&quot;&gt;&lt;td style=&quot;border: 0px; padding: 0in; vertical-align: top; width: 160.25pt;&quot; valign=&quot;top&quot; width=&quot;214&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 12pt; line-height: 12.55pt; margin: 0cm 0cm 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;tahoma&amp;quot;;&quot;&gt;A3&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border: 0px; padding: 0in; vertical-align: top; width: 220pt;&quot; valign=&quot;top&quot; width=&quot;293&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 12pt; line-height: 12.55pt; margin: 0cm 0cm 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: #4c4d4d; font-family: &amp;quot;tahoma&amp;quot;;&quot;&gt;Standart elektronik balast&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top;&quot;&gt;&lt;td style=&quot;border: 0px; padding: 0in; vertical-align: top; width: 160.25pt;&quot; valign=&quot;top&quot; width=&quot;214&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 12pt; line-height: 12.55pt; margin: 0cm 0cm 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;tahoma&amp;quot;;&quot;&gt;B1&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border: 0px; padding: 0in; vertical-align: top; width: 220pt;&quot; valign=&quot;top&quot; width=&quot;293&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 12pt; line-height: 12.55pt; margin: 0cm 0cm 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: #4c4d4d; font-family: &amp;quot;tahoma&amp;quot;;&quot;&gt;Ekstra düşük kayıplı manyetik balast&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top;&quot;&gt;&lt;td style=&quot;border: 0px; padding: 0in; vertical-align: top; width: 160.25pt;&quot; valign=&quot;top&quot; width=&quot;214&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 12pt; line-height: 12.55pt; margin: 0cm 0cm 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: #4c4d4d; font-family: &amp;quot;tahoma&amp;quot;;&quot;&gt;B2&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border: 0px; padding: 0in; vertical-align: top; width: 220pt;&quot; valign=&quot;top&quot; width=&quot;293&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 12pt; line-height: 12.55pt; margin: 0cm 0cm 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: #4c4d4d; font-family: &amp;quot;tahoma&amp;quot;;&quot;&gt;Düşük kayıplı manyetik balast&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top;&quot;&gt;&lt;td style=&quot;border: 0px; padding: 0in; vertical-align: top; width: 160.25pt;&quot; valign=&quot;top&quot; width=&quot;214&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 12pt; line-height: 12.55pt; margin: 0cm 0cm 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: #4c4d4d; font-family: &amp;quot;tahoma&amp;quot;;&quot;&gt;C&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border: 0px; padding: 0in; vertical-align: top; width: 220pt;&quot; valign=&quot;top&quot; width=&quot;293&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 12pt; line-height: 12.55pt; margin: 0cm 0cm 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: #4c4d4d; font-family: &amp;quot;tahoma&amp;quot;;&quot;&gt;Normal kayıplı manyetik balast&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top;&quot;&gt;&lt;td style=&quot;border: 0px; padding: 0in; vertical-align: top; width: 160.25pt;&quot; valign=&quot;top&quot; width=&quot;214&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 12pt; line-height: 12.55pt; margin: 0cm 0cm 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: #4c4d4d; font-family: &amp;quot;tahoma&amp;quot;;&quot;&gt;D&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border: 0px; padding: 0in; vertical-align: top; width: 220pt;&quot; valign=&quot;top&quot; width=&quot;293&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 12pt; line-height: 12.55pt; margin: 0cm 0cm 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: #4c4d4d; font-family: &amp;quot;tahoma&amp;quot;;&quot;&gt;Yüksek kayıplı manyetik balast&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Not:&lt;/span&gt;&lt;/b&gt;&amp;nbsp;Vızıldamaya benzeyen yüksek sesler yada radyo parazitleri balastın çalışmasında bir sorun olduğunun göstergesidir.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
alıntı : &amp;nbsp;&lt;a href=&quot;http://www.nedir-neiseyarar.com/2012/02/balast-nedir.html#.U7VN8tJdVbw&quot;&gt;http://www.nedir-neiseyarar.com/2012/02/balast-nedir.html#.U7VN8tJdVbw&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;background-color: white; clear: both; color: #4f4f4f; font-family: &#39;Segoe UI&#39;, Arial; font-size: 14px; line-height: 22.390625px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://koraykara.blogspot.com/feeds/5490714051307421347/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://koraykara.blogspot.com/2014/07/balast.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2181096951602312571/posts/default/5490714051307421347'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2181096951602312571/posts/default/5490714051307421347'/><link rel='alternate' type='text/html' href='http://koraykara.blogspot.com/2014/07/balast.html' title='BALAST'/><author><name>Koray Kara</name><uri>http://www.blogger.com/profile/15582313592920197518</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhu7QNhB7_TsTP_zOUzwqDeL0_EaVvc0ssb_ANcfgztWFQiheNxHkU32Jts8qopCc9VoiwKMOzswIUNX3hHK43ytsgRAoCkFoJkmiCGVRtQjV4YjipHqncvveJt7QyEoQ/s220/DSC04910.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2181096951602312571.post-7610044642991879497</id><published>2014-07-03T12:48:00.001+03:00</published><updated>2019-09-13T19:39:14.389+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="amper"/><category scheme="http://www.blogger.com/atom/ns#" term="Amper-Saat"/><category scheme="http://www.blogger.com/atom/ns#" term="Faraday sabiti"/><category scheme="http://www.blogger.com/atom/ns#" term="saat"/><title type='text'>Amper-Saat</title><content type='html'>&lt;div style=&quot;background-color: white; color: #252525; font-family: sans-serif; font-size: 14px; line-height: 22px; margin-bottom: 0.5em; margin-top: 0.5em;&quot;&gt;
Bir&amp;nbsp;&lt;b&gt;amper-saat&lt;/b&gt;&amp;nbsp;veya&amp;nbsp;&lt;b&gt;amp-saat&lt;/b&gt;&amp;nbsp;(sembolü&amp;nbsp;&lt;b&gt;Ah&lt;/b&gt;&amp;nbsp;,&amp;nbsp;&lt;b&gt;A·h&lt;/b&gt;,&amp;nbsp;&lt;b&gt;A&amp;nbsp;h&lt;/b&gt;),&amp;nbsp;&lt;a href=&quot;http://tr.wikipedia.org/wiki/Elektriksel_y%C3%BCk&quot; style=&quot;background-image: none; background-position: initial initial; background-repeat: initial initial; color: #0b0080; text-decoration: none;&quot; title=&quot;Elektriksel yük&quot;&gt;elektriksel yükün&lt;/a&gt;&amp;nbsp;bir birimidir ve&amp;nbsp;&lt;b&gt;miliamper-saat&lt;/b&gt;&amp;nbsp;(&lt;b&gt;mAh&lt;/b&gt;) ve&amp;nbsp;&lt;b&gt;miliamper saniye&lt;/b&gt;&amp;nbsp;(&lt;i&gt;mAs&lt;/i&gt;) gibi alt birimleriyle kullanılır. Bir&lt;a href=&quot;http://tr.wikipedia.org/wiki/Amper&quot; style=&quot;background-image: none; background-position: initial initial; background-repeat: initial initial; color: #0b0080; text-decoration: none;&quot; title=&quot;Amper&quot;&gt;amper&lt;/a&gt;-saat 3.600&amp;nbsp;&lt;a href=&quot;http://tr.wikipedia.org/wiki/Coulomb_(birim)&quot; style=&quot;background-image: none; background-position: initial initial; background-repeat: initial initial; color: #0b0080; text-decoration: none;&quot; title=&quot;Coulomb (birim)&quot;&gt;coulomb&lt;/a&gt;&amp;nbsp;(amper-saniye)ye eşittir ve bir amperlik sabit&amp;nbsp;&lt;a href=&quot;http://tr.wikipedia.org/wiki/Elektrik_ak%C4%B1m%C4%B1&quot; style=&quot;background-image: none; background-position: initial initial; background-repeat: initial initial; color: #0b0080; text-decoration: none;&quot; title=&quot;Elektrik akımı&quot;&gt;akımla&lt;/a&gt;&amp;nbsp;bir saat boyunca taşınan elektriksel yüktür. Amper-saat,&amp;nbsp;&lt;a class=&quot;new&quot; href=&quot;http://tr.wikipedia.org/w/index.php?title=Elektrokaplama&amp;amp;action=edit&amp;amp;redlink=1&quot; style=&quot;background-image: none; background-position: initial initial; background-repeat: initial initial; color: #a55858; text-decoration: none;&quot; title=&quot;Elektrokaplama (sayfa mevcut değil)&quot;&gt;elektrokaplama&lt;/a&gt;&amp;nbsp;ve&amp;nbsp;&lt;a href=&quot;http://tr.wikipedia.org/wiki/Pil&quot; style=&quot;background-image: none; background-position: initial initial; background-repeat: initial initial; color: #0b0080; text-decoration: none;&quot; title=&quot;Pil&quot;&gt;pil&lt;/a&gt;&amp;nbsp;gibi&amp;nbsp;&lt;a href=&quot;http://tr.wikipedia.org/wiki/Elektrokimya&quot; style=&quot;background-image: none; background-position: initial initial; background-repeat: initial initial; color: #0b0080; text-decoration: none;&quot; title=&quot;Elektrokimya&quot;&gt;elektrokimyasal&lt;/a&gt;sistem&amp;nbsp;&lt;a href=&quot;http://tr.wikipedia.org/wiki/%C3%96l%C3%A7me&quot; style=&quot;background-image: none; background-position: initial initial; background-repeat: initial initial; color: #0b0080; text-decoration: none;&quot; title=&quot;Ölçme&quot;&gt;ölçümlerinde&lt;/a&gt;&amp;nbsp;sıklıkla kullanılır. Yaygın kullanılan&amp;nbsp;&lt;i&gt;miliamper-saat&lt;/i&gt;&amp;nbsp;(mAh veya mA·h), amper-saatin binde biridir (örn; 3,6 coulomb).&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #252525; font-family: sans-serif; font-size: 14px; line-height: 22px; margin-bottom: 0.5em; margin-top: 0.5em;&quot;&gt;
Bir&amp;nbsp;&lt;i&gt;miliamper saniye&lt;/i&gt;&amp;nbsp;(mAs veya mA·s),&amp;nbsp;&lt;a href=&quot;http://tr.wikipedia.org/wiki/X-ray&quot; style=&quot;background-image: none; background-position: initial initial; background-repeat: initial initial; color: #0b0080; text-decoration: none;&quot; title=&quot;X-ray&quot;&gt;X-ray&lt;/a&gt;&amp;nbsp;tanısal görüntüleme ve&amp;nbsp;&lt;a href=&quot;http://tr.wikipedia.org/wiki/Radyoterapi&quot; style=&quot;background-image: none; background-position: initial initial; background-repeat: initial initial; color: #0b0080; text-decoration: none;&quot; title=&quot;Radyoterapi&quot;&gt;radyoterapide&lt;/a&gt;&amp;nbsp;ölçüm birimi olarak kullanılır. Bu nicelik, toplam X-ray üretilen enerjinin, belli gerilimdeki çalışan X-ray tüp akımına bölümüdür. Aynı toplam doz, farklı zaman süresinde X-ray tüp akımına bağlı olarak iletilebilir.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #252525; font-family: sans-serif; font-size: 14px; line-height: 22px; margin-bottom: 0.5em; margin-top: 0.5em;&quot;&gt;
&lt;a href=&quot;http://tr.wikipedia.org/wiki/Faraday_sabiti&quot; style=&quot;background-image: none; background-position: initial initial; background-repeat: initial initial; color: #0b0080; text-decoration: none;&quot; title=&quot;Faraday sabiti&quot;&gt;Faraday sabiti&lt;/a&gt;, bir&amp;nbsp;&lt;a href=&quot;http://tr.wikipedia.org/wiki/Mol_(birim)&quot; style=&quot;background-image: none; background-position: initial initial; background-repeat: initial initial; color: #0b0080; text-decoration: none;&quot; title=&quot;Mol (birim)&quot;&gt;mol&lt;/a&gt;&amp;nbsp;&lt;a href=&quot;http://tr.wikipedia.org/wiki/Elektron&quot; style=&quot;background-image: none; background-position: initial initial; background-repeat: initial initial; color: #0b0080; text-decoration: none;&quot; title=&quot;Elektron&quot;&gt;elektronun&lt;/a&gt;&amp;nbsp;yüküdür ve yaklaşık olarak 26,8 amper-saattir. Elektrokimyasal hesaplamalarda kullanılır.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #252525; font-family: sans-serif; font-size: 14px; line-height: 22px; margin-bottom: 0.5em; margin-top: 0.5em;&quot;&gt;
Amper-saat&amp;nbsp;&lt;a href=&quot;http://tr.wikipedia.org/wiki/Enerji&quot; style=&quot;background-image: none; background-position: initial initial; background-repeat: initial initial; color: #0b0080; text-decoration: none;&quot; title=&quot;Enerji&quot;&gt;enerji&lt;/a&gt;&amp;nbsp;birimi değildir. Örneğin pil sisteminde, iletilen enerjinin tam hesabı, boşalma esnasında iletilen güçle tümleşmesi gerekir (Ani gerilim ve ani akım üretimi ile). Boşalma esnasında genellikle pilin gerilimi değişir. Uygun gücü bulmak için ortalama bir değer kullanılabilir.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #252525; font-family: sans-serif; font-size: 14px; line-height: 22px; margin-bottom: 0.5em; margin-top: 0.5em;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #252525; font-family: sans-serif; font-size: 14px; line-height: 22px; margin-bottom: 0.5em; margin-top: 0.5em;&quot;&gt;
Kaynak : wikipedia&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://koraykara.blogspot.com/feeds/7610044642991879497/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://koraykara.blogspot.com/2014/07/amper-saat.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2181096951602312571/posts/default/7610044642991879497'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2181096951602312571/posts/default/7610044642991879497'/><link rel='alternate' type='text/html' href='http://koraykara.blogspot.com/2014/07/amper-saat.html' title='Amper-Saat'/><author><name>Koray Kara</name><uri>http://www.blogger.com/profile/15582313592920197518</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhu7QNhB7_TsTP_zOUzwqDeL0_EaVvc0ssb_ANcfgztWFQiheNxHkU32Jts8qopCc9VoiwKMOzswIUNX3hHK43ytsgRAoCkFoJkmiCGVRtQjV4YjipHqncvveJt7QyEoQ/s220/DSC04910.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2181096951602312571.post-1446277635874946063</id><published>2014-07-03T11:35:00.001+03:00</published><updated>2019-09-13T19:36:56.384+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="TUNGSTEN"/><category scheme="http://www.blogger.com/atom/ns#" term="VOLFRAM"/><category scheme="http://www.blogger.com/atom/ns#" term="VOLFRAM - TUNGSTEN"/><title type='text'>VOLFRAM - TUNGSTEN</title><content type='html'>&lt;div style=&quot;background-color: white; color: #252525; font-family: sans-serif; font-size: 14px; line-height: 22px; margin-bottom: 0.5em; margin-top: 0.5em;&quot;&gt;
&lt;b&gt;Volfram&lt;/b&gt;&amp;nbsp;veya diğer adıyla&amp;nbsp;&lt;b&gt;Tungsten&lt;/b&gt;,&amp;nbsp;&lt;a href=&quot;http://tr.wikipedia.org/wiki/Atom_numaras%C4%B1&quot; style=&quot;background-image: none; background-position: initial initial; background-repeat: initial initial; color: #0b0080; text-decoration: none;&quot; title=&quot;Atom numarası&quot;&gt;atom numarası&lt;/a&gt;&amp;nbsp;74,&amp;nbsp;&lt;a class=&quot;mw-redirect&quot; href=&quot;http://tr.wikipedia.org/wiki/Atom_a%C4%9F%C4%B1rl%C4%B1%C4%9F%C4%B1&quot; style=&quot;background-image: none; background-position: initial initial; background-repeat: initial initial; color: #0b0080; text-decoration: none;&quot; title=&quot;Atom ağırlığı&quot;&gt;atom ağırlığı&lt;/a&gt;&amp;nbsp;183,85 olan ve kimyasal simgesi&amp;nbsp;&lt;b&gt;W&lt;/b&gt;&amp;nbsp;ile gösterilen (&lt;a href=&quot;http://tr.wikipedia.org/wiki/Latince&quot; style=&quot;background-image: none; background-position: initial initial; background-repeat: initial initial; color: #0b0080; text-decoration: none;&quot; title=&quot;Latince&quot;&gt;L.&lt;/a&gt;&amp;nbsp;&lt;i&gt;wolframium&lt;/i&gt;), yoğunluğu 19,3 g/cm³ olan, 3482&amp;nbsp;°C&#39;de eriyebilen kimyasal bir element. Çok sert, ağır, çelik gri ya da beyaz renkte&amp;nbsp;&lt;a href=&quot;http://tr.wikipedia.org/wiki/Ge%C3%A7i%C5%9F_metalleri&quot; style=&quot;background-image: none; color: #0b0080;&quot; title=&quot;Geçiş metalleri&quot;&gt;geçiş metallerinden&lt;/a&gt;&amp;nbsp;biri olan tungsten,&lt;a class=&quot;new&quot; href=&quot;http://tr.wikipedia.org/w/index.php?title=Wolframite&amp;amp;action=edit&amp;amp;redlink=1&quot; style=&quot;background-image: none; background-position: initial initial; background-repeat: initial initial; color: #a55858; text-decoration: none;&quot; title=&quot;Wolframite (sayfa mevcut değil)&quot;&gt;wolframite&lt;/a&gt;&amp;nbsp;ve&amp;nbsp;&lt;a class=&quot;new&quot; href=&quot;http://tr.wikipedia.org/w/index.php?title=Scheelite&amp;amp;action=edit&amp;amp;redlink=1&quot; style=&quot;background-image: none; background-position: initial initial; background-repeat: initial initial; color: #a55858; text-decoration: none;&quot; title=&quot;Scheelite (sayfa mevcut değil)&quot;&gt;scheelite&lt;/a&gt;&amp;nbsp;içeren madenlerde bulunur. Tungsten, sağlam fiziksel yapısı ve alaşım olmayan maddeler arasında yüksek erime sıcaklığı olan önemli bir maddedir. Saf haliyle bazı elektronik uygulamalarda kullanılır, ancak çoğunlukla&amp;nbsp;&lt;a href=&quot;http://tr.wikipedia.org/wiki/Bile%C5%9Fik&quot; style=&quot;background-image: none; background-position: initial initial; background-repeat: initial initial; color: #0b0080; text-decoration: none;&quot; title=&quot;Bileşik&quot;&gt;bileşik&lt;/a&gt;&amp;nbsp;ya da&amp;nbsp;&lt;a href=&quot;http://tr.wikipedia.org/wiki/Ala%C5%9F%C4%B1m&quot; style=&quot;background-image: none; background-position: initial initial; background-repeat: initial initial; color: #0b0080; text-decoration: none;&quot; title=&quot;Alaşım&quot;&gt;alaşım&lt;/a&gt;&amp;nbsp;olarak, ampullerin lamba tellerinde,&amp;nbsp;&lt;a class=&quot;mw-redirect&quot; href=&quot;http://tr.wikipedia.org/wiki/X_%C4%B1%C5%9F%C4%B1n%C4%B1&quot; style=&quot;background-image: none; background-position: initial initial; background-repeat: initial initial; color: #0b0080; text-decoration: none;&quot; title=&quot;X ışını&quot;&gt;X ışını&lt;/a&gt;&amp;nbsp;cihazlarında ve uzay teknolojisi yüksek performans alaşımlarında kullanılır.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #252525; font-family: sans-serif; font-size: 14px; line-height: 22px; margin-bottom: 0.5em; margin-top: 0.5em;&quot;&gt;
Adı İsveççe, Danca ve Norveççedeki anlamı ağır taş olan &#39;tung sten&#39; kelime grubundan gelse de bu üç ülkede bu element için &#39;Wolfram&#39; kullanılır. Volfram elektronik uygulamalarda kullanılır. Türkiye&#39;de Bursa-Uludağ&#39;da çıkarılır.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #252525; font-family: sans-serif; font-size: 14px; line-height: 22px; margin-bottom: 0.5em; margin-top: 0.5em;&quot;&gt;
Ayrıca tungsten maddesi vanadium dioksit ile birleşerek evimizde bulunan güneşin sıcaklığını hissetmemizi azaltan cam içindeki ince filmdir.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #252525; font-family: sans-serif; font-size: 14px; line-height: 22px; margin-bottom: 0.5em; margin-top: 0.5em;&quot;&gt;
Kaynak : wikipedia&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://koraykara.blogspot.com/feeds/1446277635874946063/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://koraykara.blogspot.com/2014/07/volfram-tungsten.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2181096951602312571/posts/default/1446277635874946063'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2181096951602312571/posts/default/1446277635874946063'/><link rel='alternate' type='text/html' href='http://koraykara.blogspot.com/2014/07/volfram-tungsten.html' title='VOLFRAM - TUNGSTEN'/><author><name>Koray Kara</name><uri>http://www.blogger.com/profile/15582313592920197518</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhu7QNhB7_TsTP_zOUzwqDeL0_EaVvc0ssb_ANcfgztWFQiheNxHkU32Jts8qopCc9VoiwKMOzswIUNX3hHK43ytsgRAoCkFoJkmiCGVRtQjV4YjipHqncvveJt7QyEoQ/s220/DSC04910.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2181096951602312571.post-6898820865925576234</id><published>2014-07-03T11:31:00.000+03:00</published><updated>2014-07-03T11:31:38.393+03:00</updated><title type='text'>SMPS</title><content type='html'>&lt;div style=&quot;background-color: white; color: #252525; font-family: sans-serif; font-size: 14px; line-height: 22px; margin-bottom: 0.5em; margin-top: 0.5em;&quot;&gt;
&lt;b&gt;Switch Mode Power Supply&lt;/b&gt;&amp;nbsp;SMPS Anahtarlamalı güç kaynakları 1960’lı yıllarda doğrusal (linear)güç kaynaklarının çalışma veriminin düşük olması ile kullanılmaya başlanmıştır. Temel olarak alçaltıcı (buck) çevirici,yükseltici (boost) çevirici ve alçaltıcı-yükseltici çevirici olmak üzere 3 tip bulunmaktadır.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #252525; font-family: sans-serif; font-size: 14px; line-height: 22px; margin-bottom: 0.5em; margin-top: 0.5em;&quot;&gt;
Günümüzde bu yapılardan Flyback, ileri/yön, yarım köprü ve tam köprü devreler üretilerek farklı kullanım alanları olusturulmustur. En çok kullanılan anahtarlamalı güç kaynağı Flyback tipi S-M-P-S (Switch Mode Power Supply) olarak bilinir&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #252525; font-family: sans-serif; font-size: 14px; line-height: 22px; margin-bottom: 0.5em; margin-top: 0.5em;&quot;&gt;
Anahtarlamalı güç kaynağı eski sac transformatörlerin yerine günümüzde bir alanda kullanılan elektronik güç kaynakları trafolu güç kaynaklarına göre çalışma frekansları daha yüksektir, boyutları ve ağırlıkları küçüktür.Güç dönüşümü gerektiren birçok alanda kullanılırlar: televizyon,monitör,bilgisayar,ses sistemleri,aydınlatma vb.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #252525; font-family: sans-serif; font-size: 14px; line-height: 22px; margin-bottom: 0.5em; margin-top: 0.5em;&quot;&gt;
Tipik ATX Bilgisayar güç kaynağı&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #252525; font-family: sans-serif; font-size: 14px; line-height: 22px; margin-bottom: 0.5em; margin-top: 0.5em;&quot;&gt;
&lt;a class=&quot;external free&quot; href=&quot;http://img200.imageshack.us/img200/4790/atxpowersupplysmpst.png&quot; rel=&quot;nofollow&quot; style=&quot;background-image: linear-gradient(transparent, transparent), url(data:image/svg+xml; background-position: 100% 50%, 100% 50%; background-repeat: no-repeat no-repeat; color: #663366; padding-right: 13px; text-decoration: none;&quot;&gt;http://img200.imageshack.us/img200/4790/atxpowersupplysmpst.png&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #252525; font-family: sans-serif; font-size: 14px; line-height: 22px; margin-bottom: 0.5em; margin-top: 0.5em;&quot;&gt;
A - Köprü bağlantılı diyot AC alternatif şebeke voltajını DC doğru akıma çevirir B - DC Doğru akımı filtre etmek için kullanılan kondansatörler C - Çıkış voltajını üreten yüksek frekanslı transformatör D - Çıkış voltajını düzenleyen filtre bobini E - Çıkış DC Doğru akımı filtre etmek için kullanılan kondansatörler&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #252525; font-family: sans-serif; font-size: 14px; line-height: 22px; margin-bottom: 0.5em; margin-top: 0.5em;&quot;&gt;
Çeşitli SMPS uygulamaları ve bilgilerin bulunduğu bir blog&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #252525; font-family: sans-serif; font-size: 14px; line-height: 22px; margin-bottom: 0.5em; margin-top: 0.5em;&quot;&gt;
&lt;a class=&quot;external free&quot; href=&quot;http://320volt.com/tag/smps/&quot; rel=&quot;nofollow&quot; style=&quot;background-image: linear-gradient(transparent, transparent), url(data:image/svg+xml; background-position: 100% 50%, 100% 50%; background-repeat: no-repeat no-repeat; color: #663366; padding-right: 13px; text-decoration: none;&quot;&gt;http://320volt.com/tag/smps/&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #252525; font-family: sans-serif; font-size: 14px; line-height: 22px; margin-bottom: 0.5em; margin-top: 0.5em;&quot;&gt;
KAYNAK : wikipedia&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://koraykara.blogspot.com/feeds/6898820865925576234/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://koraykara.blogspot.com/2014/07/smps.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2181096951602312571/posts/default/6898820865925576234'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2181096951602312571/posts/default/6898820865925576234'/><link rel='alternate' type='text/html' href='http://koraykara.blogspot.com/2014/07/smps.html' title='SMPS'/><author><name>Koray Kara</name><uri>http://www.blogger.com/profile/15582313592920197518</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhu7QNhB7_TsTP_zOUzwqDeL0_EaVvc0ssb_ANcfgztWFQiheNxHkU32Jts8qopCc9VoiwKMOzswIUNX3hHK43ytsgRAoCkFoJkmiCGVRtQjV4YjipHqncvveJt7QyEoQ/s220/DSC04910.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2181096951602312571.post-2819858271931026329</id><published>2014-05-06T01:01:00.000+03:00</published><updated>2019-09-13T19:38:08.753+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux : Çekirdek indirme ve /usr/src dizinine açılması"/><category scheme="http://www.blogger.com/atom/ns#" term="Çekirdek indirme ve /usr/src dizinine açılması"/><title type='text'>Linux : Çekirdek indirme ve /usr/src dizinine açılması</title><content type='html'>Aşağıdaki komutlar ile çekirdek indirilir ve /usr/src altına açılır. Bu dizin yerine başka bir dizin de seçilebilir.&lt;br /&gt;
&lt;br /&gt;
$ wget ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.30.tar.gz&lt;br /&gt;
$ cd /usr/src&lt;br /&gt;
$ tar zxvf linux-2.6.30.tar.gz</content><link rel='replies' type='application/atom+xml' href='http://koraykara.blogspot.com/feeds/2819858271931026329/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://koraykara.blogspot.com/2014/05/linux-cekirdek-indirme-ve-usrsrc.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2181096951602312571/posts/default/2819858271931026329'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2181096951602312571/posts/default/2819858271931026329'/><link rel='alternate' type='text/html' href='http://koraykara.blogspot.com/2014/05/linux-cekirdek-indirme-ve-usrsrc.html' title='Linux : Çekirdek indirme ve /usr/src dizinine açılması'/><author><name>Koray Kara</name><uri>http://www.blogger.com/profile/15582313592920197518</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhu7QNhB7_TsTP_zOUzwqDeL0_EaVvc0ssb_ANcfgztWFQiheNxHkU32Jts8qopCc9VoiwKMOzswIUNX3hHK43ytsgRAoCkFoJkmiCGVRtQjV4YjipHqncvveJt7QyEoQ/s220/DSC04910.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2181096951602312571.post-3451936027486969033</id><published>2014-04-30T02:57:00.001+03:00</published><updated>2019-09-13T19:39:39.896+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Lİnux : shm (shared memory) kapasitesini güncelleme"/><title type='text'>Lİnux : shm (shared memory) kapasitesini güncelleme</title><content type='html'>/dev/shm&#39;nin kapasitesini 100MB yap.&lt;br /&gt;
&lt;br /&gt;
$ mount -o remount -o size=100M /dev/shm</content><link rel='replies' type='application/atom+xml' href='http://koraykara.blogspot.com/feeds/3451936027486969033/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://koraykara.blogspot.com/2014/04/shm-shared-memory-kapasitesini.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2181096951602312571/posts/default/3451936027486969033'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2181096951602312571/posts/default/3451936027486969033'/><link rel='alternate' type='text/html' href='http://koraykara.blogspot.com/2014/04/shm-shared-memory-kapasitesini.html' title='Lİnux : shm (shared memory) kapasitesini güncelleme'/><author><name>Koray Kara</name><uri>http://www.blogger.com/profile/15582313592920197518</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhu7QNhB7_TsTP_zOUzwqDeL0_EaVvc0ssb_ANcfgztWFQiheNxHkU32Jts8qopCc9VoiwKMOzswIUNX3hHK43ytsgRAoCkFoJkmiCGVRtQjV4YjipHqncvveJt7QyEoQ/s220/DSC04910.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2181096951602312571.post-3061638711213865860</id><published>2014-04-30T02:54:00.002+03:00</published><updated>2014-04-30T02:54:54.646+03:00</updated><title type='text'>Lİnux : tmpfs kuruluşu</title><content type='html'>Sanal bellekte 100MB&#39;lık , tmpfs dosya sistemi kur ve /mnt/disk3 dizinine bağla :&lt;br /&gt;
&lt;br /&gt;
$ mkdir /mnt/disk3&lt;br /&gt;
$ mount -t tmpfs -o size=100M tmpfs /mnt/disk3</content><link rel='replies' type='application/atom+xml' href='http://koraykara.blogspot.com/feeds/3061638711213865860/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://koraykara.blogspot.com/2014/04/linux-tmpfs-kurulusu.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2181096951602312571/posts/default/3061638711213865860'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2181096951602312571/posts/default/3061638711213865860'/><link rel='alternate' type='text/html' href='http://koraykara.blogspot.com/2014/04/linux-tmpfs-kurulusu.html' title='Lİnux : tmpfs kuruluşu'/><author><name>Koray Kara</name><uri>http://www.blogger.com/profile/15582313592920197518</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhu7QNhB7_TsTP_zOUzwqDeL0_EaVvc0ssb_ANcfgztWFQiheNxHkU32Jts8qopCc9VoiwKMOzswIUNX3hHK43ytsgRAoCkFoJkmiCGVRtQjV4YjipHqncvveJt7QyEoQ/s220/DSC04910.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2181096951602312571.post-2390094509826827846</id><published>2014-04-30T02:52:00.000+03:00</published><updated>2014-04-30T02:52:00.784+03:00</updated><title type='text'>Lİnux : ramfs kuruluşu</title><content type='html'>Sanal bellekte 100MB lık , ramfs dosya sistemi kur ve /mnt/disk2 dizinine bağla.&lt;br /&gt;
&lt;br /&gt;
$ mkdir /mnt/disk2&lt;br /&gt;
$ mount -t ramfs -o size=100M ramfs /mnt/disk2</content><link rel='replies' type='application/atom+xml' href='http://koraykara.blogspot.com/feeds/2390094509826827846/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://koraykara.blogspot.com/2014/04/linux-ramfs-kurulusu.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2181096951602312571/posts/default/2390094509826827846'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2181096951602312571/posts/default/2390094509826827846'/><link rel='alternate' type='text/html' href='http://koraykara.blogspot.com/2014/04/linux-ramfs-kurulusu.html' title='Lİnux : ramfs kuruluşu'/><author><name>Koray Kara</name><uri>http://www.blogger.com/profile/15582313592920197518</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhu7QNhB7_TsTP_zOUzwqDeL0_EaVvc0ssb_ANcfgztWFQiheNxHkU32Jts8qopCc9VoiwKMOzswIUNX3hHK43ytsgRAoCkFoJkmiCGVRtQjV4YjipHqncvveJt7QyEoQ/s220/DSC04910.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2181096951602312571.post-5564018215933326928</id><published>2014-04-30T02:46:00.001+03:00</published><updated>2014-04-30T02:46:47.296+03:00</updated><title type='text'>Linux : Ramdisk üzerinde ext2</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;
Fiziksel bellekte , ramdisk üzerine 100mb lık , ext2 dosya sistemi kur ve&amp;nbsp; /mnt/disk1 dizinine bağla :&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
$ mkfs.ext2 /dev/ram0 100M&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
$ mkdir /mnt/disk1&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
$ mount /dev/ram0 /mnt/disk1&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://koraykara.blogspot.com/feeds/5564018215933326928/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://koraykara.blogspot.com/2014/04/linux-ramdisk-uzerinde-ext2.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2181096951602312571/posts/default/5564018215933326928'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2181096951602312571/posts/default/5564018215933326928'/><link rel='alternate' type='text/html' href='http://koraykara.blogspot.com/2014/04/linux-ramdisk-uzerinde-ext2.html' title='Linux : Ramdisk üzerinde ext2'/><author><name>Koray Kara</name><uri>http://www.blogger.com/profile/15582313592920197518</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhu7QNhB7_TsTP_zOUzwqDeL0_EaVvc0ssb_ANcfgztWFQiheNxHkU32Jts8qopCc9VoiwKMOzswIUNX3hHK43ytsgRAoCkFoJkmiCGVRtQjV4YjipHqncvveJt7QyEoQ/s220/DSC04910.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2181096951602312571.post-3838099676955393533</id><published>2014-04-29T01:41:00.003+03:00</published><updated>2019-09-13T21:10:56.435+03:00</updated><title type='text'>Linux : desteklenen sinyalleri görme</title><content type='html'>komut :&lt;br /&gt;
&lt;br /&gt;
$ kill -l </content><link rel='replies' type='application/atom+xml' href='http://koraykara.blogspot.com/feeds/3838099676955393533/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://koraykara.blogspot.com/2014/04/linux-desteklenen-sinyalleri-gorme.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2181096951602312571/posts/default/3838099676955393533'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2181096951602312571/posts/default/3838099676955393533'/><link rel='alternate' type='text/html' href='http://koraykara.blogspot.com/2014/04/linux-desteklenen-sinyalleri-gorme.html' title='Linux : desteklenen sinyalleri görme'/><author><name>Koray Kara</name><uri>http://www.blogger.com/profile/15582313592920197518</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhu7QNhB7_TsTP_zOUzwqDeL0_EaVvc0ssb_ANcfgztWFQiheNxHkU32Jts8qopCc9VoiwKMOzswIUNX3hHK43ytsgRAoCkFoJkmiCGVRtQjV4YjipHqncvveJt7QyEoQ/s220/DSC04910.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2181096951602312571.post-3666902271824636072</id><published>2014-04-12T11:11:00.002+03:00</published><updated>2019-09-13T21:10:43.741+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux : How do I display installed packages list"/><title type='text'>Linux : How do I display installed packages list?</title><content type='html'>&lt;h3 style=&quot;background-color: white; color: #111111; font-family: Arial, &#39;Helvetica Neue&#39;, Helvetica, sans-serif; font-size: 1.286em; font-weight: normal; line-height: 1.222em; margin: 1.833em 0px 0.611em; padding: 0px;&quot;&gt;
&lt;span style=&quot;font-size: 14px; line-height: 21.993999481201172px;&quot;&gt;If you are using rpm based distro such as Redhat/CentOS/Suse/Fedora Linux, enter:&lt;/span&gt;&lt;/h3&gt;
&lt;div style=&quot;background-color: white; color: #111111; font-family: Arial, &#39;Helvetica Neue&#39;, Helvetica, sans-serif; font-size: 14px; line-height: 21.993999481201172px; margin-bottom: 1.571em; padding: 0px;&quot;&gt;
&lt;code style=&quot;background-attachment: scroll; background-color: #eeeeee; background-image: none; background-position: 0px 0px; background-repeat: repeat repeat; border: 1px solid rgb(221, 221, 221); display: block; font-family: Consolas, &#39;Andale Mono&#39;, Monaco, Courier, &#39;Courier New&#39;, Verdana, sans-serif; font-size: 0.857em; line-height: 1.5em; margin: 0px 0px 1.833em; overflow: auto; padding: 0.667em 0.917em;&quot;&gt;# rpm -qa&lt;br style=&quot;margin: 0px; padding: 0px;&quot; /&gt;# rpm -qa | less&lt;/code&gt;&lt;br /&gt;
If you are using apt based distro such as Debian/Ubuntu Linux, enter:&lt;br /&gt;
&lt;code style=&quot;background-attachment: scroll; background-color: #eeeeee; background-image: none; background-position: 0px 0px; background-repeat: repeat repeat; border: 1px solid rgb(221, 221, 221); display: block; font-family: Consolas, &#39;Andale Mono&#39;, Monaco, Courier, &#39;Courier New&#39;, Verdana, sans-serif; font-size: 0.857em; line-height: 1.5em; margin: 0px 0px 1.833em; overflow: auto; padding: 0.667em 0.917em;&quot;&gt;# dpkg --list&lt;/code&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://koraykara.blogspot.com/feeds/3666902271824636072/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://koraykara.blogspot.com/2014/04/linux-how-do-i-display-installed.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2181096951602312571/posts/default/3666902271824636072'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2181096951602312571/posts/default/3666902271824636072'/><link rel='alternate' type='text/html' href='http://koraykara.blogspot.com/2014/04/linux-how-do-i-display-installed.html' title='Linux : How do I display installed packages list?'/><author><name>Koray Kara</name><uri>http://www.blogger.com/profile/15582313592920197518</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhu7QNhB7_TsTP_zOUzwqDeL0_EaVvc0ssb_ANcfgztWFQiheNxHkU32Jts8qopCc9VoiwKMOzswIUNX3hHK43ytsgRAoCkFoJkmiCGVRtQjV4YjipHqncvveJt7QyEoQ/s220/DSC04910.JPG'/></author><thr:total>0</thr:total></entry></feed>