home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: LaTeX Document
(document/latex).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| LaTeX Document (document/latex)
| magic
| Supported |
1%
| dexvert
| Corel 10 Texture (image/corel10Texture)
| ext
| Unsupported |
1%
| dexvert
| Croteam texture file (image/croteamTextureFile)
| ext
| Unsupported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| LaTeX document, ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/281 LaTeX (Subdocument)
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 5c 73 65 63 74 69 6f 6e | 7b 42 49 54 20 61 73 20 |\section|{BIT as |
|00000010| 61 6e 20 69 6d 61 67 65 | 20 65 64 69 74 6f 72 7d |an image| editor}|
|00000020| 0a 5c 73 75 62 73 65 63 | 74 69 6f 6e 7b 43 72 6f |.\subsec|tion{Cro|
|00000030| 70 7d 0a 5c 73 75 62 73 | 65 63 74 69 6f 6e 7b 43 |p}.\subs|ection{C|
|00000040| 75 74 20 5c 26 20 50 61 | 73 74 65 7d 0a 5c 73 75 |ut \& Pa|ste}.\su|
|00000050| 62 73 65 63 74 69 6f 6e | 7b 52 6f 74 61 74 69 6f |bsection|{Rotatio|
|00000060| 6e 7d 0a 5c 73 75 62 73 | 65 63 74 69 6f 6e 7b 53 |n}.\subs|ection{S|
|00000070| 63 61 6c 69 6e 67 7d 0a | 5c 73 75 62 73 65 63 74 |caling}.|\subsect|
|00000080| 69 6f 6e 7b 41 64 64 69 | 6e 67 20 74 65 78 74 20 |ion{Addi|ng text |
|00000090| 74 6f 20 69 6d 61 67 65 | 7d 0a 5c 73 75 62 73 65 |to image|}.\subse|
|000000a0| 63 74 69 6f 6e 7b 41 64 | 64 69 6e 67 20 73 69 6d |ction{Ad|ding sim|
|000000b0| 70 6c 65 20 67 65 6f 6d | 65 74 72 69 63 20 66 69 |ple geom|etric fi|
|000000c0| 67 75 72 65 73 20 74 6f | 20 69 6d 61 67 65 7d 0a |gures to| image}.|
|000000d0| 5c 73 75 62 73 65 63 74 | 69 6f 6e 7b 50 69 78 65 |\subsect|ion{Pixe|
|000000e0| 6c 20 74 72 61 6e 73 66 | 6f 72 6d 61 74 69 6f 6e |l transf|ormation|
|000000f0| 20 28 31 2d 74 6f 2d 31 | 29 7d 0a 5c 73 75 62 73 | (1-to-1|)}.\subs|
|00000100| 65 63 74 69 6f 6e 7b 45 | 64 69 74 20 63 75 72 72 |ection{E|dit curr|
|00000110| 65 6e 74 20 63 6f 6c 6f | 72 6d 61 70 7d 0a 5c 73 |ent colo|rmap}.\s|
|00000120| 75 62 73 65 63 74 69 6f | 6e 7b 45 64 67 65 20 45 |ubsectio|n{Edge E|
|00000130| 6e 68 61 6e 63 65 6d 65 | 6e 74 7d 0a 5c 73 75 62 |nhanceme|nt}.\sub|
|00000140| 73 65 63 74 69 6f 6e 7b | 46 46 54 7d 0a 0a 5c 73 |section{|FFT}..\s|
|00000150| 75 62 73 65 63 74 69 6f | 6e 7b 53 6d 6f 6f 74 68 |ubsectio|n{Smooth|
|00000160| 7d 0a 0a 53 6d 6f 6f 74 | 68 69 6e 67 20 69 73 20 |}..Smoot|hing is |
|00000170| 69 6d 70 6c 65 6d 65 6e | 74 65 64 20 61 73 20 73 |implemen|ted as s|
|00000180| 69 6d 70 6c 65 20 63 6f | 6e 76 6f 6c 75 74 69 6f |imple co|nvolutio|
|00000190| 6e 20 69 6e 20 77 68 69 | 63 68 20 74 68 65 20 63 |n in whi|ch the c|
|000001a0| 6f 6e 76 6f 6c 75 74 69 | 6f 6e 0a 6d 61 74 72 69 |onvoluti|on.matri|
|000001b0| 78 20 69 73 20 61 20 6d | 61 74 72 69 78 20 6f 66 |x is a m|atrix of|
|000001c0| 20 63 6f 6e 73 74 61 6e | 74 2c 20 69 2e 65 2e 2c | constan|t, i.e.,|
|000001d0| 20 65 76 65 72 79 20 70 | 69 78 65 6c 20 69 73 20 | every p|ixel is |
|000001e0| 72 65 70 6c 61 63 65 64 | 0a 62 79 20 74 68 65 20 |replaced|.by the |
|000001f0| 61 76 65 72 61 67 65 20 | 6f 66 20 69 74 73 20 6e |average |of its n|
|00000200| 65 61 72 65 73 74 20 6e | 69 6e 65 20 6e 65 69 67 |earest n|ine neig|
|00000210| 68 62 6f 72 73 0a 0a 24 | 24 0a 5c 6c 65 66 74 5b |hbors..$|$.\left[|
|00000220| 20 5c 6d 61 74 72 69 78 | 7b 20 31 20 26 20 31 20 | \matrix|{ 1 & 1 |
|00000230| 26 20 31 20 5c 63 72 0a | 20 20 20 20 20 20 20 20 |& 1 \cr.| |
|00000240| 20 20 20 20 20 20 20 20 | 31 20 26 20 31 20 26 20 | |1 & 1 & |
|00000250| 31 20 5c 63 72 0a 20 20 | 20 20 20 20 20 20 20 20 |1 \cr. | |
|00000260| 20 20 20 20 20 20 31 20 | 26 20 31 20 26 20 31 20 | 1 |& 1 & 1 |
|00000270| 5c 63 72 20 7d 20 5c 72 | 69 67 68 74 5d 0a 5c 63 |\cr } \r|ight].\c|
|00000280| 65 71 6e 6f 0a 24 24 0a | 0a 5c 73 75 62 73 65 63 |eqno.$$.|.\subsec|
|00000290| 74 69 6f 6e 7b 53 68 61 | 72 70 65 6e 69 6e 67 7d |tion{Sha|rpening}|
|000002a0| 0a 53 68 61 72 70 65 6e | 69 6e 67 2c 20 61 73 20 |.Sharpen|ing, as |
|000002b0| 73 6d 6f 6f 74 68 69 6e | 67 2c 20 69 73 20 64 6f |smoothin|g, is do|
|000002c0| 6e 65 20 74 68 72 75 20 | 61 20 63 6f 6e 76 6f 6c |ne thru |a convol|
|000002d0| 75 74 69 6f 6e 20 77 69 | 74 68 0a 74 68 65 20 66 |ution wi|th.the f|
|000002e0| 6f 6c 6c 6f 77 69 6e 67 | 20 6d 61 74 72 69 78 0a |ollowing| matrix.|
|000002f0| 24 24 0a 5c 6c 65 66 74 | 5b 20 5c 6d 61 74 72 69 |$$.\left|[ \matri|
|00000300| 78 20 7b 2d 31 20 26 20 | 2d 32 20 26 20 2d 31 20 |x {-1 & |-2 & -1 |
|00000310| 5c 63 72 20 0a 20 20 20 | 20 20 20 20 20 20 20 20 |\cr . | |
|00000320| 20 20 20 20 20 2d 32 20 | 26 20 31 30 20 26 20 2d | -2 |& 10 & -|
|00000330| 32 20 5c 63 72 0a 20 20 | 20 20 20 20 20 20 20 20 |2 \cr. | |
|00000340| 20 20 20 20 20 20 2d 31 | 20 26 20 2d 32 20 26 20 | -1| & -2 & |
|00000350| 2d 31 20 7d 20 5c 72 69 | 67 68 74 5d 0a 5c 63 65 |-1 } \ri|ght].\ce|
|00000360| 71 6e 6f 0a 24 24 0a 5c | 73 75 62 73 65 63 74 69 |qno.$$.\|subsecti|
|00000370| 6f 6e 7b 43 6f 6e 74 72 | 61 73 74 20 45 6e 68 61 |on{Contr|ast Enha|
|00000380| 6e 63 69 6e 67 7d 0a 42 | 61 64 20 6c 69 67 68 74 |ncing}.B|ad light|
|00000390| 69 6e 67 20 63 6f 6e 64 | 69 74 69 6f 6e 20 6f 72 |ing cond|ition or|
|000003a0| 20 6c 69 67 68 69 6e 67 | 20 63 61 6c 69 62 72 61 | lighing| calibra|
|000003b0| 74 69 6f 6e 20 6f 66 74 | 65 6e 20 72 65 73 75 6c |tion oft|en resul|
|000003c0| 74 73 20 69 6e 0a 69 6d | 61 67 65 73 20 77 69 74 |ts in.im|ages wit|
|000003d0| 68 20 62 61 64 20 63 6f | 6e 74 72 61 73 74 2e 20 |h bad co|ntrast. |
|000003e0| 54 68 65 72 65 20 65 78 | 69 73 74 20 6d 61 6e 79 |There ex|ist many|
|000003f0| 20 74 65 63 68 6e 69 71 | 75 65 73 20 74 68 61 74 | techniq|ues that|
|00000400| 0a 74 72 79 20 74 6f 20 | 63 6f 72 72 65 63 74 20 |.try to |correct |
|00000410| 74 68 65 20 69 6d 61 67 | 65 20 63 6f 6e 74 72 61 |the imag|e contra|
|00000420| 73 74 20 28 63 6f 6e 73 | 74 72 61 73 74 20 65 6e |st (cons|trast en|
|00000430| 68 61 6e 63 69 6e 67 29 | 2e 20 54 68 65 0a 61 6c |hancing)|. The.al|
|00000440| 67 6f 72 69 74 68 6d 20 | 75 73 65 64 20 69 6e 20 |gorithm |used in |
|00000450| 74 68 65 20 5c 42 49 54 | 20 70 72 6f 67 72 61 6d |the \BIT| program|
|00000460| 20 69 73 20 74 68 65 20 | 68 69 73 74 6f 67 72 61 | is the |histogra|
|00000470| 6d 0a 65 71 75 61 6c 69 | 7a 61 74 69 6f 6e 7b 65 |m.equali|zation{e|
|00000480| 6e 68 61 6e 63 65 31 7d | 20 6d 65 74 68 6f 64 2c |nhance1}| method,|
|00000490| 20 77 68 69 63 68 20 61 | 64 6a 75 73 74 73 0a 74 | which a|djusts.t|
|000004a0| 68 65 20 70 69 78 65 6c | 20 69 6e 74 65 6e 73 69 |he pixel| intensi|
|000004b0| 74 79 20 6c 65 76 65 6c | 73 20 73 6f 20 74 68 61 |ty level|s so tha|
|000004c0| 74 20 74 68 65 20 72 65 | 73 75 6c 74 69 6e 67 20 |t the re|sulting |
|000004d0| 69 6d 61 67 65 20 69 73 | 20 75 6e 69 66 6f 72 6d |image is| uniform|
|000004e0| 2c 0a 74 68 75 73 20 6d | 61 78 69 6d 69 7a 69 6e |,.thus m|aximizin|
|000004f0| 67 20 74 68 65 20 7a 65 | 72 6f 74 68 2d 6f 72 64 |g the ze|roth-ord|
|00000500| 65 72 20 65 6e 74 72 6f | 70 79 20 6f 66 20 74 68 |er entro|py of th|
|00000510| 65 20 69 6d 61 67 65 2e | 20 49 74 20 69 73 20 0a |e image.| It is .|
|00000520| 61 6c 73 6f 20 65 61 73 | 79 20 74 6f 20 69 6d 70 |also eas|y to imp|
|00000530| 6c 65 6d 65 6e 74 2e 20 | 41 6c 6c 20 69 74 20 74 |lement. |All it t|
|00000540| 61 6b 65 73 20 69 73 20 | 74 68 65 20 66 6f 6c 6c |akes is |the foll|
|00000550| 6f 77 69 6e 67 20 74 72 | 61 6e 73 66 6f 72 6d 61 |owing tr|ansforma|
|00000560| 74 69 6f 6e 0a 24 24 0a | 46 28 49 29 20 3d 20 7b |tion.$$.|F(I) = {|
|00000570| 31 20 5c 6f 76 65 72 20 | 4a 5f 7b 5c 72 6d 20 6d |1 \over |J_{\rm m|
|00000580| 61 78 7d 20 2d 20 4a 5f | 7b 6d 69 6e 7d 7d 20 5c |ax} - J_|{min}} \|
|00000590| 73 75 6d 5f 6b 5e 49 20 | 7b 6e 5f 6b 20 5c 6f 76 |sum_k^I |{n_k \ov|
|000005a0| 65 72 20 4e 7d 0a 5c 63 | 65 71 6e 6f 0a 24 24 0a |er N}.\c|eqno.$$.|
|000005b0| 77 68 65 72 65 20 24 46 | 24 20 69 73 20 74 68 65 |where $F|$ is the|
|000005c0| 20 6d 61 70 70 69 6e 67 | 20 66 75 6e 63 74 69 6f | mapping| functio|
|000005d0| 6e 20 74 68 61 74 20 74 | 72 61 6e 73 66 6f 72 6d |n that t|ransform|
|000005e0| 73 20 74 68 65 0a 69 6e | 70 75 74 20 70 69 78 65 |s the.in|put pixe|
|000005f0| 6c 20 69 6e 74 65 6e 73 | 69 74 79 20 24 49 24 20 |l intens|ity $I$ |
|00000600| 74 6f 20 74 68 65 20 6f | 75 74 70 75 74 20 70 69 |to the o|utput pi|
|00000610| 78 65 6c 20 69 6e 74 65 | 6e 73 69 74 79 20 24 4a |xel inte|nsity $J|
|00000620| 24 3b 0a 24 4e 24 20 69 | 73 20 74 68 65 20 74 6f |$;.$N$ i|s the to|
|00000630| 74 61 6c 20 6e 75 6d 62 | 65 72 20 6f 66 20 70 69 |tal numb|er of pi|
|00000640| 78 65 6c 73 20 61 6e 64 | 20 24 6e 5f 6b 24 20 69 |xels and| $n_k$ i|
|00000650| 73 20 74 68 65 0a 6e 75 | 6d 62 65 72 20 6f 66 20 |s the.nu|mber of |
|00000660| 70 69 78 65 6c 73 20 68 | 61 76 69 6e 67 20 74 68 |pixels h|aving th|
|00000670| 65 20 69 6e 74 65 6e 73 | 69 74 79 20 24 6b 24 2e |e intens|ity $k$.|
|00000680| 0a 0a 54 68 65 20 6f 72 | 69 67 69 6e 61 6c 20 61 |..The or|iginal a|
|00000690| 6c 67 6f 72 69 74 68 6d | 20 69 73 20 70 72 6f 70 |lgorithm| is prop|
|000006a0| 6f 73 65 64 20 66 6f 72 | 20 67 72 61 79 73 63 61 |osed for| graysca|
|000006b0| 6c 65 20 69 6d 61 67 65 | 73 0a 61 6e 64 20 69 74 |le image|s.and it|
|000006c0| 20 69 73 20 65 78 74 65 | 6e 64 65 64 20 74 6f 20 | is exte|nded to |
|000006d0| 74 68 65 20 63 6f 6c 6f | 72 20 69 6d 61 67 65 73 |the colo|r images|
|000006e0| 20 69 6e 20 74 68 65 20 | 5c 42 49 54 20 70 72 6f | in the |\BIT pro|
|000006f0| 67 72 61 6d 2e 20 49 6e | 73 74 65 61 64 0a 6f 66 |gram. In|stead.of|
|00000700| 20 70 65 72 66 6f 72 6d | 69 6e 67 20 74 68 65 20 | perform|ing the |
|00000710| 74 72 61 6e 73 66 6f 72 | 6d 61 74 69 6f 6e 20 64 |transfor|mation d|
|00000720| 65 66 69 6e 65 64 20 62 | 79 20 5c 6c 61 73 74 65 |efined b|y \laste|
|00000730| 71 5c 20 74 6f 0a 65 71 | 75 61 6c 69 7a 65 20 74 |q\ to.eq|ualize t|
|00000740| 68 65 20 52 47 42 20 68 | 69 73 74 6f 67 72 61 6d |he RGB h|istogram|
|00000750| 20 73 65 70 65 72 61 74 | 65 6c 79 2c 20 74 68 65 | seperat|ely, the|
|00000760| 20 5c 42 49 54 20 70 72 | 6f 67 72 61 6d 20 75 73 | \BIT pr|ogram us|
|00000770| 65 73 0a 61 20 63 6f 6d | 6d 61 6e 20 74 72 61 6e |es.a com|man tran|
|00000780| 73 66 6f 72 6d 69 6e 67 | 20 66 75 6e 63 74 69 6f |sforming| functio|
|00000790| 6e 20 61 6e 64 20 61 70 | 70 6c 69 65 73 20 69 74 |n and ap|plies it|
|000007a0| 20 74 6f 20 74 68 65 20 | 52 47 42 20 63 6f 6c 6f | to the |RGB colo|
|000007b0| 72 73 2e 0a 54 68 65 20 | 63 6f 6d 6d 6f 6e 20 74 |rs..The |common t|
|000007c0| 72 61 6e 66 6f 72 6d 61 | 74 69 6f 6e 20 69 73 20 |ranforma|tion is |
|000007d0| 74 68 65 20 6f 6e 65 20 | 64 65 66 69 6e 65 64 20 |the one |defined |
|000007e0| 62 79 20 67 72 61 79 20 | 69 6e 74 65 6e 73 69 74 |by gray |intensit|
|000007f0| 79 0a 6f 66 20 74 68 65 | 20 69 6d 61 67 65 2e 20 |y.of the| image. |
|00000800| 54 68 69 73 20 74 72 61 | 6e 73 66 6f 72 6d 61 74 |This tra|nsformat|
|00000810| 69 6e 20 68 61 73 20 74 | 68 65 20 76 69 72 74 75 |in has t|he virtu|
|00000820| 65 20 6f 66 20 6b 65 65 | 70 69 6e 67 0a 74 68 65 |e of kee|ping.the|
|00000830| 20 6f 76 65 72 61 6c 6c | 20 52 47 42 20 72 61 74 | overall| RGB rat|
|00000840| 69 6f 20 74 68 65 20 69 | 6d 61 67 65 2e 20 49 6e |io the i|mage. In|
|00000850| 20 61 6c 6d 6f 73 74 20 | 61 6c 6c 20 63 61 73 65 | almost |all case|
|00000860| 73 20 74 65 73 74 65 64 | 2c 20 0a 74 68 65 20 65 |s tested|, .the e|
|00000870| 6e 68 61 6e 63 65 64 20 | 69 6d 61 67 65 20 69 73 |nhanced |image is|
|00000880| 20 73 6f 6d 65 77 68 61 | 74 20 62 65 74 74 65 72 | somewha|t better|
|00000890| 20 61 6e 64 20 61 6c 73 | 6f 20 61 20 6c 69 74 74 | and als|o a litt|
|000008a0| 6c 65 20 62 72 69 67 68 | 74 65 72 2e 0a 0a 5c 73 |le brigh|ter...\s|
|000008b0| 75 62 73 65 63 74 69 6f | 6e 7b 51 75 61 6e 74 69 |ubsectio|n{Quanti|
|000008c0| 7a 61 74 69 6f 6e 20 7d | 0a 54 77 6f 20 6d 65 74 |zation }|.Two met|
|000008d0| 68 6f 73 20 6f 66 20 63 | 6f 6c 6f 72 20 71 75 61 |hos of c|olor qua|
|000008e0| 6e 74 69 7a 61 74 69 6f | 6e 20 61 72 65 20 69 6d |ntizatio|n are im|
|000008f0| 70 6c 65 6d 65 6e 74 65 | 64 2e 20 54 68 65 20 66 |plemente|d. The f|
|00000900| 61 73 74 0a 6f 6e 65 20 | 74 68 65 20 6f 63 74 72 |ast.one |the octr|
|00000910| 65 65 20 61 6c 67 6f 72 | 69 74 68 6d 2c 20 77 68 |ee algor|ithm, wh|
|00000920| 63 69 68 0a 69 6e 63 69 | 64 65 6e 74 6c 79 20 61 |cih.inci|dently a|
|00000930| 6c 73 6f 20 75 73 65 73 | 20 6c 65 73 73 20 6d 65 |lso uses| less me|
|00000940| 6d 6f 65 72 79 2e 20 54 | 68 65 20 6f 74 68 65 72 |moery. T|he other|
|00000950| 20 6d 65 74 68 6f 64 0a | 69 73 20 74 68 65 20 6d | method.|is the m|
|00000960| 65 64 69 61 6e 20 63 75 | 74 20 61 6c 67 6f 72 69 |edian cu|t algori|
|00000970| 74 68 6d 5c 63 69 74 65 | 7b 71 75 61 6e 74 2d 6d |thm\cite|{quant-m|
|00000980| 65 64 69 61 6e 63 75 74 | 7d 2e 0a 42 6f 74 68 20 |ediancut|}..Both |
|00000990| 6f 66 20 74 68 65 20 71 | 75 61 6e 74 75 7a 61 74 |of the q|uantuzat|
|000009a0| 69 6f 6e 20 6d 65 74 68 | 6f 64 20 69 73 20 66 6f |ion meth|od is fo|
|000009b0| 6c 6c 6f 77 64 20 62 79 | 20 61 0a 46 6c 6f 79 64 |llowd by| a.Floyd|
|000009c0| 2d 53 74 65 69 6e 62 65 | 72 67 20 64 69 74 68 65 |-Steinbe|rg dithe|
|000009d0| 72 69 6e 67 20 73 74 65 | 70 5c 63 69 74 65 7b 64 |ring ste|p\cite{d|
|000009e0| 69 74 68 65 72 2d 73 75 | 6d 6d 61 72 79 7d 2e 0a |ither-su|mmary}..|
+--------+-------------------------+-------------------------+--------+--------+