Senin, 22 Maret 2010

Perbesaran Foto

Foto digital pembesaran untuk beberapa kali PPI 300 aslinya ukuran, sementara masih mempertahankan detail yang tajam, mungkin adalah tujuan akhir dari banyak algoritma interpolasi. Meskipun tujuan umum ini, hasil pembesaran dapat bervariasi secara signifikan mengubah ukuran tergantung pada perangkat lunak, mengasah dan algoritma interpolasi diterapkan.

BACKGROUND LATAR

The problem arises because unlike film, digital cameras store their detail in a discrete unit: the pixel .  Any attempt to magnify an image also enlarges these pixels-- unless some type of image interpolation is performed.  Move your mouse over the image to the right to see how even standard interpolation can improve the blocky, pixelated appearance. Masalah muncul karena tidak seperti film, kamera digital menyimpan rinci dalam unit diskrit: pixel. Setiap usaha untuk memperbesar gambar juga membesar piksel ini - kecuali beberapa jenis interpolasi gambar dilakukan. Gerakkan mouse anda ke atas gambar ke kanan untuk melihat bagaimana standar interpolasi bahkan dapat meningkatkan kuning, pixelated penampilan.
Foto asli
Original Asli
Photo pembesaran

Visible pixels without interpolation Terlihat piksel tanpa interpolasi
Before proceeding with this tutorial, know that there is no magic solution; the best optimization is to start with the highest quality image possible.  Ensuring this means using proper technique, a high resolution camera, a low noise setting and a good RAW file converter. Once all of this has been attempted, optimizing digital photo enlargement can help you make the most of this image. Sebelum melanjutkan dengan tutorial ini, tahu bahwa tidak ada solusi ajaib; optimasi terbaik adalah mulai dengan gambar kualitas tertinggi mungkin. Memastikan ini berarti menggunakan teknik yang tepat, kamera resolusi tinggi, pengaturan kebisingan yang rendah dan yang baik file RAW converter. Setelah semua ini telah dicoba, mengoptimalkan pembesaran foto digital dapat membantu Anda memanfaatkan gambar ini.

OVERVIEW OF NON-ADAPTIVE INTERPOLATION TINJAUAN UMUM NON-Adaptive interpolasi

Recall that all non-adaptive interpolation algorithms always face a trade-off between three artifacts: aliasing, blurring and edge halos.  The following diagram and interactive visual comparison demonstrate where each algorithm lies in this three-way tug of war. Ingatlah bahwa semua non-adaptif algoritma interpolasi selalu menghadapi trade-off antara tiga artefak: aliasing, kabur dan ujung lingkaran cahaya. Berikut diagram dan visual interaktif perbandingan menunjukkan di mana setiap algoritma ini terletak pada tiga-cara tarik tambang. A small sampling of the most common algorithms are included below.  Move your mouse over the options below to see how each interpolator performs for this enlargement: Sebuah contoh kecil dari algoritma yang paling umum yang dimasukkan di bawah ini. Gerakkan mouse anda ke atas pilihan di bawah ini untuk melihat bagaimana setiap interpolator melakukan pembesaran ini:
1. 1. Nearest Neighbor Tetangga terdekat
2. 2. Bilinear Bilinear
3. 3. Bicubic Smoother Bicubic halus
4. 4. Bicubic * Bicubic *
5. 5. Bicubic Sharper Bicubic Sharper
6. 6. Lanczos Lanczos
7. 7. Bilinear w/ blur Bilinear w / kabur Type Selected: Jenis Dipilih: Test Image Test Image
*default interpolation algorithm for Adobe Photoshop CS and CS2 * default algoritma interpolasi untuk Adobe Photoshop CS dan CS2

The qualitative diagram to the right roughly demonstrates the trade-offs of each type.  Nearest neighbor is the most aliased, and along with bilinear these are the only two that have no halo artifacts-- just a different balance of aliasing and blur.  You will see that edge sharpness gradually increases from 3-5, but at the expense of both increased aliasing and edge halos.  Lanczos is very similar to Photoshop bicubic and bicubic sharper, except perhaps a bit more aliased. All show some degree of aliasing, however one could always eliminate aliasing entirely by blurring the image in Photoshop (#7). Diagram kualitatif secara kasar di sebelah kanan menunjukkan trade-off dari masing-masing jenis. Terdekat tetangga adalah yang paling alias, dan bersama dengan bilinear ini adalah hanya dua yang tidak memiliki artifak halo - hanya berbeda aliasing keseimbangan dan kabur. Anda akan melihat bahwa ketajaman tepi secara berangsur-angsur meningkat dari 3-5, tapi dengan mengorbankan kedua meningkat aliasing dan ujung lingkaran cahaya. Lanczos ini sangat mirip dengan Photoshop bicubic dan bicubic tajam, kecuali mungkin sedikit lebih alias. Semua menunjukkan beberapa derajat aliasing, namun satu selalu bisa menghilangkan aliasing sepenuhnya oleh mengaburkan gambar di Photoshop (# 7).
Lanczos and bicubic are some of the most common, perhaps because they are very mild in their choice of all three artifacts (as evidenced by being towards the middle of the triangle above).  Nearest neighbor and bilinear are not computationally intensive, and can thus be used for things like web zooming or handheld devices. Lanczos dan bicubic adalah beberapa yang paling umum, mungkin karena mereka sangat ringan dalam pilihan mereka dari ketiga artifak (seperti dibuktikan dengan menjadi ke arah tengah segitiga di atas). Terdekat tetangga dan tidak bilinear komputasi secara intensif, dan dengan demikian dapat digunakan untuk hal-hal seperti web pembesaran atau perangkat genggam.

OVERVIEW OF ADAPTIVE METHODS TINJAUAN UMUM Adaptive METODE

Recall that adaptive (edge-detecting) algorithms do not treat all pixels equally, but instead adapt depending on nearby image content.  This flexibility gives much sharper images with fewer artifacts (than would be possible with a non-adaptive method).  Unfortunately, these often require more processing time and are usually more expensive. Ingatlah bahwa adaptif (ujung-deteksi) algoritma tidak memperlakukan semua piksel yang sama, tapi malah beradaptasi, tergantung pada konten gambar di dekatnya. Fleksibilitas ini memberikan gambar yang lebih tajam dengan artifak lebih sedikit (daripada akan menjadi mungkin dengan metode non-adaptif). Sayangnya, ini sering memerlukan lebih banyak waktu pemrosesan dan biasanya lebih mahal.
Even the most basic non-adaptive methods do quite well at preserving smooth tonal gradations, but they all begin to show their limitations when they try to interpolate near a sharp edge. Bahkan yang paling dasar metode non-adaptif yang cukup baik pada gradasi nada yang halus melestarikan, tetapi mereka semua mulai menunjukkan keterbatasan mereka ketika mereka mencoba untuk interpolasi dekat tajam.
1. 1. Nearest Neighbor Tetangga terdekat
2. 2. Bicubic * Bicubic *
3. 3. Genuine Fractals Genuine Fractals
4. 4. PhotoZoom (default) PhotoZoom (default)
5. 5. PhotoZoom (graphic) PhotoZoom (graphic)
6. 6. PhotoZoom (text) PhotoZoom (teks)
7. 7. SmartEdge ** SmartEdge ** Type Selected: Jenis Dipilih:
Test Image Test Image
*default interpolation algorithm for Adobe Photoshop CS and CS2 * default algoritma interpolasi untuk Adobe Photoshop CS dan CS2
**still in research phase, not available to public ** masih dalam tahap penelitian, tidak tersedia untuk publik
Genuine Fractals is perhaps the most common iterative (or fractal) enlargement software.  It tries to encode a photo similar to a vector graphics file-- allowing for near lossless resizing ability (at least in theory).  Interestingly, its original aim was not for enlargement at all, but was instead intended for efficient image compression.  Times have changed since storage space is now more plentiful and fortunately, so has its application. Genuine Fractals mungkin berulang-ulang yang paling umum (atau fractal) perangkat lunak pembesaran. It mencoba untuk mengkodekan sebuah foto yang mirip dengan file grafik vektor - yang memungkinkan untuk mengubah ukuran lossless kemampuan dekat (setidaknya dalam teori). Menariknya, tujuan aslinya tidak untuk pembesaran sama sekali, tetapi bukan dimaksudkan untuk kompresi gambar efisien. Waktu telah berubah sejak ruang penyimpanan sekarang lebih banyak dan untungnya, sehingga memiliki aplikasi.
Shortcut PhotoZoom Pro (formerly S-Spline Pro) is another common enlargement program.  It takes into account many surrounding pixels when interpolating each pixel, and attempts to re-create a smooth edge that passes through all known pixels.  It uses a spline algorithm to re-create these edges, which is similarly used by car manufacturers when they design a new smooth-flowing body for their cars.  PhotoZoom has several settings-- each geared towards a different type of image. Shortcut PhotoZoom Pro (sebelumnya S-spline Pro) adalah program pembesaran umum lain. Ini memperhitungkan banyak piksel sekitarnya ketika interpolating setiap pixel, dan upaya untuk menciptakan kembali tepi yang halus yang melewati semua kenal piksel. Spline ini menggunakan algoritma untuk menciptakan kembali tepian ini, yang juga digunakan oleh produsen mobil ketika mereka merancang mengalir baru-tubuh mulus mobil mereka. PhotoZoom memiliki beberapa pengaturan - masing-masing yang berbeda diarahkan jenis foto.
Note how PhotoZoom produces superior results in the computer graphic above, as it is able to create a sharp and smooth-flowing edge for all the curves in the flag.  Genuine fractals adds small-scale texture which was not present in the original, and its results for this example are arguably not much better than those of bicubic.  It is also worth noting though that Genuine Fractals does the best job at preserving the tip of the flag, whereas PhotoZoom sometimes breaks it up into pieces.  The only interpolator which maintains both smooth sharp edges and the flag's tip is SmartEdge. Perhatikan bagaimana PhotoZoom menghasilkan hasil yang lebih unggul dalam komputer grafik di atas, karena mampu menciptakan tajam dan halus mengalir tepi untuk semua kurva pada bendera. Genuine fractals menambahkan tekstur skala kecil yang tidak ada pada yang asli, dan hasil untuk contoh ini adalah tidak boleh dibilang jauh lebih baik daripada bicubic. Hal ini juga diperhatikan meskipun Genuine Fractals melakukan yang terbaik menjaga pekerjaan di ujung bendera, sedangkan PhotoZoom itu kadang-kadang pecah berkeping-keping. interpolator-satunya yang memelihara kedua halus tajam dan bendera's ujung adalah SmartEdge.

REAL-WORLD EXAMPLES REAL-WORLD CONTOH

The above comparisons demonstrate enlargement of theoretical examples, however real-world images are seldom this simple.  These also have to deal with color patterns, image noise, fine textures and edges that are not as easily identifiable.  The following example includes regions of fine detail, sharp edges and a smooth background: Perbandingan di atas menunjukkan pembesaran contoh teoritis, namun gambar-gambar dunia nyata jarang sederhana ini. Ini juga harus berhadapan dengan pola warna, gambar, suara, tekstur halus dan pinggiran yang tidak mudah diidentifikasi. Contoh berikut daerah-daerah termasuk denda detail tajam tepi dan latar belakang yang halus:
Nearest Neighbor Tetangga terdekat Bicubic Bicubic Bicubic Smoother Bicubic halus PhotoZoom PhotoZoom Genuine Fractals Genuine Fractals SmartEdge SmartEdge
Sharpened: Dipertajam: Bicubic Bicubic Bicubic Smoother Bicubic halus PhotoZoom (Default) PhotoZoom (Default) Genuine Fractals Genuine Fractals SmartEdge SmartEdge
All but nearest neighbor (which simply enlarges the pixels) do a remarkable job considering the relatively small size of the original. Pay particular attention to problem areas; for aliasing these are the top of the nose, tips of ears, whiskers and purple belt buckle.  As expected, all perform nearly identically at rendering the softer background. Semua kecuali tetangga terdekat (yang hanya memperbesar piksel) melakukan pekerjaan yang luar biasa mengingat ukurannya yang relatif kecil yang asli. Berikan perhatian khusus pada area permasalahan, sebab aliasing ini adalah bagian atas hidung, ujung telinga, kumis dan ungu ikat pinggang . Seperti yang diharapkan, semua melakukan render hampir identik di latar belakang yang lebih lembut.
Even though genuine fractals struggled with the computer graphic, it more than holds its own with this real-world photo.  It creates the narrowest whiskers, which are even thinner than in the original image (relative to other features).  It also renders the cat's fur with sharp edges while still avoiding halo artifacts at the cat's exterior.  On the other hand, some may consider its pattern of fur texture undesirable, so there is also a subjective element to the decision.  Overall I would say it produces the best results. Meskipun asli fractals berjuang dengan komputer grafis, itu lebih dari memegang sendiri dengan dunia nyata ini foto. It menciptakan kumis sempit, yang lebih kurus daripada di gambar asli (relatif terhadap fitur-fitur lainnya). Hal ini juga menjadikan kucing bulu dengan tajam sementara halo masih menghindari artefak pada eksterior kucing. Di sisi lain, beberapa dapat mempertimbangkan pola tekstur bulu yang tidak diinginkan, demikian juga ada unsur subjektif keputusan. Secara keseluruhan, aku akan mengatakan hal itu menghasilkan hasil yang terbaik.
PhotoZoom Pro and bicubic are quite similar, except PhotoZoom has fewer visible edge halos and a little less aliasing.  SmartEdge also does exceptionally well, however this is still in the research phase and not available.  It is the only algorithm which does well for both the computer graphic and the real-world photo. PhotoZoom Pro dan bicubic cukup mirip, kecuali sedikit terlihat PhotoZoom memiliki tepi lingkaran cahaya dan sedikit kurang aliasing. SmartEdge juga tidak sangat baik, namun hal ini masih dalam tahap penelitian dan tidak tersedia. Ini adalah satu-satunya algoritma yang tidak baik bagi kedua komputer grafis dan dunia nyata foto.

SHARPENING ENLARGED PHOTOS Sharpening diperbesar FOTO

Attention has been focused on the type of interpolation, however the sharpening technique can have at least as much of an impact. Perhatian telah difokuskan pada jenis interpolasi, namun teknik mengasah dapat memiliki setidaknya sama banyak dampak. Apply your sharpening after enlarging the photo to the final size , not the other way around.  Otherwise previously unperceivable sharpening halos may become clearly visible.  This effect is the same as if one were to apply an unsharp mask with a larger than ideal radius.  Move your mouse over the image to the left (a crop of the enlargement shown before) to see what it would have looked like if sharpening were applied before enlargment. Notice the increase in halo size near the cat's whiskers and exterior. Menerapkan mengasah setelah foto untuk memperbesar ukuran akhir, bukan sebaliknya. Jika tidak, mengasah lingkaran cahaya unperceivable sebelumnya dapat menjadi jelas terlihat. Efek ini sama seperti jika ada orang yang menerapkan topeng unsharp dengan cita-cita yang lebih besar daripada jari-jari. Pindah mouse anda ke atas gambar ke kiri (sebuah tanaman dari pembesaran ditampilkan sebelum) untuk melihat apa yang akan tampak seperti jika mengasah diaplikasikan sebelum pembesaran. Perhatikan peningkatan ukuran halo dekat kumis kucing dan eksterior.
Also be aware that many interpolation algorithms have some sharpening built into them (such as Photoshop's "bicubic sharper").  A little sharpening is often unavoidable because the bayer interpolation itself may also introduce sharpening. Juga menyadari bahwa banyak algoritma interpolasi memiliki beberapa mengasah dibangun ke dalamnya (seperti Photoshop "bicubic tajam"). Sedikit mengasah sering tidak dapat dihindari karena Bayer interpolasi sendiri mungkin juga memperkenalkan penajaman.
If your camera does not support the RAW file format (and therefore have to use JPEG images), be sure to disable or decrease all in-camera sharpening options to a minimum.  Save these JPEG files at the highest quality compression, otherwise previously undetectable JPEG artifacts will be magnified significantly upon enlargement and subsequent sharpening. Jika kamera Anda tidak mendukung format file RAW (dan karena itu harus menggunakan gambar JPEG), pastikan untuk menonaktifkan atau penurunan dalam kamera semua pilihan mengasah minimum. Simpan file JPEG pada kualitas tertinggi kompresi, jika sebelumnya tidak terdeteksi JPEG artefak akan diperbesar secara signifikan pada pembesaran dan mengasah berikutnya.
Since an enlarged photo can become significantly blurred compared to the original, resized images often stand to benefit more from advanced sharpening techniques.  These include deconvolution, fine-tuning the light/dark over/undershoots, multi-radius unsharp mask and PhotoShop CS2's new feature: smart sharpen. Karena foto yang diperbesar secara signifikan dapat menjadi buram dibandingkan dengan yang asli, mengubah dimensi image sering berdiri untuk manfaat lebih dari maju mengasah teknik. Ini termasuk deconvolution, fine-tuning terang / gelap atas / undershoots, multi-radius unsharp PhotoShop CS2 masker dan fitur baru : pintar mempertajam.

SHARPENING & VIEWING DISTANCE Sharpening & VIEWING JARAK

The expected viewing distance of your print may change the requirements for a given depth of field and circle of confusion. Furthermore, an enlarged photo for use as a poster will require a larger sharpening radius than one intended for display on a website.  The following estimator should be used as no more than a rough guide; the ideal radius also depends on other factors such as image content and interpolation quality. Melihat jarak yang diharapkan dari cetak Anda dapat mengubah persyaratan untuk suatu bidang dan kedalaman lingkaran kebingungan. Lebih jauh lagi, foto yang diperbesar untuk digunakan sebagai sebuah poster akan memerlukan mengasah jari-jari yang lebih besar dari satu dimaksudkan untuk ditampilkan di situs Web. Berikut estimator harus digunakan sebagai tidak lebih dari panduan kasar; jari-jari yang ideal juga tergantung pada faktor-faktor lain seperti isi gambar dan kualitas interpolasi.
Sharpening Radius Estimator Radius mengasah Pengukur
Viewing Distance Melihat Jarak
Print Resolution Resolusi Cetak PPI* PPI *

Estimated Sharpening Radius Perkiraan Sharpening Radius
*PPI = pixels per inch; see tutorial on " Digital Camera Pixels " * PPI = pixel per inci, lihat tutorial mengenai "Digital Camera Pixels"
A typical display device has a pixel density of around 70-100 PPI, depending on resolution setting and display dimensions.  A standard value of 72 PPI gives a sharpening radius of 0.3 pixels using the above calculator-- corresponding to the common radius used for displaying images on the web. Alternatively, a print resolution of 300 PPI (standard for photographic prints) gives a sharpening radius of ~1.2 pixels (also typical). Sebuah layar khas perangkat memiliki kerapatan piksel sekitar 70-100 PPI, tergantung pada pengaturan resolusi dan dimensi tampilan. Sebuah nilai standar dari 72 PPI memberikan penajaman radius 0,3 piksel menggunakan kalkulator di atas - yang sesuai dengan jari-jari biasa digunakan untuk menampilkan gambar di web. Atau, resolusi cetak 300 PPI (standar untuk mencetak foto) memberikan ketajaman ~ radius 1,2 piksel (juga khas).

WHEN INTERPOLATION BECOMES IMPORTANT KETIKA interpolasi MENJADI PENTING

The resolution of a large roadside billboard image need not be anywhere near as high as that of a closely viewed fine art print. The following estimator lists the minimum PPI and maximum print dimension which can be used before the eye begins to see individual pixels (without interpolation). Resolusi dari sebuah gambar papan iklan pinggir jalan besar tidak perlu berada di dekat setinggi itu dilihat dari dekat seni cetak. Berikut adalah daftar Pengukur PPI minimum dan maksimum dimensi cetak yang dapat digunakan sebelum mata mulai melihat individu piksel (tanpa interpolasi).
Photo Enlargement Calculator Foto Pembesaran Kalkulator
Viewing Distance Melihat Jarak
Eyesight Penglihatan
Camera Aspect Ratio Kamera Aspect Ratio Width:Height Lebar: Tinggi
Camera Resolution Camera Resolution Megapixels Megapixels

Minimum PPI Minimum PPI
Maximum Print Dimension Dimensi maksimum Cetak
You can certainly make prints much larger-- just beware that this marks the point where you need to start being extra cautious. Any print enlarged beyond the above size will become highly dependent on the quality of interpolation and sharpening. Anda pasti bisa membuat cetakan yang jauh lebih besar - hanya berhati-hati bahwa ini menandai titik di mana Anda perlu untuk mulai bersikap ekstra hati-hati. Setiap mencetak diperbesar melebihi ukuran di atas akan menjadi sangat tergantung pada kualitas dan mempertajam interpolasi.

CONSIDER YOUR SUBJECT MATTER Pertimbangkan ANDA TENTANG MATERI POKOK

Both the size and type of texture within a photo may influence how well that image can be enlarged.  For landscapes, the eye often expects to see detail all the way down near their resolving limit, whereas smooth surfaces and geometric objects may be less demanding.  Some regions may even enlarge better than others; hair in portraits usually needs to be fully resolved, although smooth skin is often much less demanding. Baik ukuran dan jenis tekstur dalam foto dapat mempengaruhi seberapa baik gambar yang dapat diperbesar. Untuk pemandangan, mata sering mengharapkan untuk melihat detail semua jalan di dekat mereka menyelesaikan batas, sedangkan permukaan halus dan objek-objek geometris mungkin kurang menuntut. Beberapa daerah bahkan mungkin memperbesar lebih baik daripada yang lain; rambut di potret biasanya harus sepenuhnya diselesaikan, meskipun kulit halus seringkali jauh lebih sedikit menuntut.

HARDWARE vs. SOFTWARE ENLARGEMENT HARDWARE SOFTWARE vs PEMBESARAN

Many professional printers have the ability to use a small image and perform the photo enlargement themselves (hardware interpolation), as opposed to requiring a photo that has already been enlarged on a computer (software interpolation).  Many of these printers claim better enlargement quality than is possible with the bicubic algorithm, so which is a better option?  Performing the enlargement in software beforehand allows for greater flexibility-- allowing one to cater the interpolation and sharpening to the needs of the image.  On the other hand, enlarging the file yourself means that the file sizes will be MUCH larger, which may be of special importance if you need to upload images to the online print company in a hurry. Banyak printer profesional yang memiliki kemampuan untuk menggunakan gambar kecil dan melakukan pembesaran foto sendiri (hardware interpolasi), sebagai lawan yang membutuhkan sebuah foto yang telah diperbesar pada sebuah komputer (perangkat lunak interpolasi). Banyak dari printer ini mengklaim kualitas pembesaran lebih baik daripada mungkin dengan algoritma bicubic, jadi yang merupakan pilihan yang lebih baik? Pertunjukan pembesaran sebelumnya dalam perangkat lunak memungkinkan fleksibilitas yang lebih besar - memungkinkan seseorang untuk memenuhi interpolasi dan mempertajam dengan kebutuhan gambar. Di sisi lain, memperbesar file sendiri berarti bahwa ukuran file akan BANYAK lebih besar, yang mungkin penting khusus jika Anda perlu untuk meng-upload gambar ke perusahaan mencetak online terburu-buru.
For further background reading, please visit: Membaca latar belakang lebih lanjut, silahkan kunjungi:
Digital Image Interpolation Digital Image Interpolation

Tidak ada komentar: