|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> |
|
|
<html> |
|
|
<head> |
|
|
|
|
|
|
|
|
<meta name="Description" content="KLayout layout viewer and editor project page" /> |
|
|
<meta name="Keywords" content="KLayout OASIS GDS2 viewer editor layout semiconductor mask chip design" /> |
|
|
<meta name="abstract" content="KLayout is a free layout viewer and editor for several formats commonly used in the semiconductor industry to transfer layout data" /> |
|
|
<meta name="URL" content="https://www.klayout.de/" /> |
|
|
<meta name="Author" content="Matthias Koefferlein" /> |
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/> |
|
|
<meta http-equiv="Content-Script-Type" content="text/javascript" /> |
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
|
|
|
|
|
<title>KLayout Layout Viewer And Editor</title> |
|
|
|
|
|
|
|
|
<link rel="alternate" type="application/rss+xml" title="RSS" href="http://www.klayout.de/news.xml"/> |
|
|
<link rel="stylesheet" type="text/css" href="https://www.klayout.de/format.css?v2.0"/> |
|
|
<link rel="shortcut icon" href="https://www.klayout.de/favicon.ico"/> |
|
|
|
|
|
|
|
|
<link rel="stylesheet" type="text/css" href="https://www.klayout.de/fonts.css"/> |
|
|
|
|
|
|
|
|
<script src="https://www.klayout.de/jquery-3.4.1.min.js"></script> |
|
|
|
|
|
|
|
|
<link href="https://www.klayout.de/bootstrap-4.3.1-dist/css/bootstrap.min.css" rel="stylesheet"> |
|
|
<script src="https://www.klayout.de/bootstrap-4.3.1-dist/js/bootstrap.min.js"></script> |
|
|
|
|
|
<link href="/generated-doc.css" rel="stylesheet"> |
|
|
<link href="/search.css" rel="stylesheet"> |
|
|
<script src="/klayout-search.js"></script> |
|
|
|
|
|
</head> |
|
|
|
|
|
<body> |
|
|
|
|
|
<div class="klayout-header"> |
|
|
|
|
|
<div class="container mb-5"> |
|
|
|
|
|
<nav class="navbar navbar-dark navbar-expand-lg"> |
|
|
|
|
|
<a class="navbar-brand" href="https://www.klayout.de"><img src="https://www.klayout.de/klayout.png" srcset="https://www.klayout.de/klayout-x2.png 2x" alt="KLayout"></a> |
|
|
|
|
|
<div class="collapse navbar-collapse" id="navbarToggleExternalContent"> |
|
|
|
|
|
<ul class="navbar-nav ml-auto mr-auto"> |
|
|
|
|
|
<li class="nav-item dropdown active mr-4"> |
|
|
<a class="nav-link dropdown-toggle klayout-menu" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> |
|
|
About |
|
|
</a> |
|
|
<div class="dropdown-menu" aria-labelledby="navbarDropdown"> |
|
|
<a class="dropdown-item" href="https://www.klayout.de/intro.html">KLayout Project</a> |
|
|
<a class="dropdown-item" href="https://www.klayout.de/doc.html">Documentation</a> |
|
|
<a class="dropdown-item" href="https://www.klayout.de/galleries.html">Galleries</a> |
|
|
<a class="dropdown-item" href="https://www.klayout.de/credits.html">Credits</a> |
|
|
<div class="dropdown-divider"></div> |
|
|
<a class="dropdown-item" href="https://www.klayout.de/contact.html">Contact</a> |
|
|
<a class="dropdown-item" href="https://www.klayout.de/impressum.html">Impressum / Imprint</a> |
|
|
<a class="dropdown-item" href="https://www.klayout.de/privacy_policy.html">Datenschutz / Privacy Policy</a> |
|
|
</div> |
|
|
</li> |
|
|
<li class="nav-item active mr-4"> |
|
|
<a class="nav-link klayout-menu" href="https://www.klayout.de/build.html">Get KLayout</a> |
|
|
</li> |
|
|
<li class="nav-item active mr-4"> |
|
|
<a class="nav-link klayout-menu" href="https://sami.klayout.org">Package Index</a> |
|
|
</li> |
|
|
<li class="nav-item active mr-5"> |
|
|
<a class="nav-link klayout-menu" href="https://www.klayout.de/forum">Forum</a> |
|
|
</li> |
|
|
<li class="nav-item active"> |
|
|
<span class="nav-link klayout-menu"> |
|
|
<a href="https://f-si.org"><img src="https://www.klayout.de/f-si_logo_32h_w.png" border="0" title="Free Silicon Foundation" alt="F-Si"/></a> |
|
|
<a class="ml-4" href="https://github.com/KLayout"><img src="https://www.klayout.de/GitHub-Mark-32px-white.png" border="0" title="KLayout on GitHub" alt="GitHub"/></a> |
|
|
</span> |
|
|
</li> |
|
|
|
|
|
</ul> |
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarToggleExternalContent" aria-controls="navbarToggleExternalContent" aria-expanded="false" aria-label="Toggle navigation"> |
|
|
<span class="navbar-toggler-icon"></span> |
|
|
</button> |
|
|
|
|
|
</nav> |
|
|
|
|
|
</div> |
|
|
|
|
|
</div> |
|
|
|
|
|
<div class="container"> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<form class="search"> |
|
|
<div class="input-group"> |
|
|
<input id="search-text" class="form-control" type="text" onkeydown="klayoutSearchTextChanged()"> |
|
|
<div class="input-group-append"> |
|
|
<button class="btn btn-secondary" type="submit" id="search-button" onclick="klayoutSearchClicked(5); event.returnValue = false; return false">Search</button> |
|
|
</div> |
|
|
</div> |
|
|
</form> |
|
|
|
|
|
<div id="search-result"> |
|
|
<div class="search-results-close-box" onclick="klayoutSearchCloseClicked()"></div> |
|
|
<div id="search-results-container"> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
<div class='klayout-generated-doc'><p class="navigator"><b>KLayout Documentation (Qt 5): </b><a href="../index.html">Main Index</a> » <a href="index.html">KLayout User Manual</a> » <a href="basic.html">KLayout Basics</a> » Adding Images</p><h1>Adding Images</h1><a name="k_1"></a><p> |
|
|
For some applications it is necessary to show flat pixel data together with |
|
|
the layout. That can either be a SEM image taken or some output of a |
|
|
simulation tool. KLayout provides a way to add images to the display |
|
|
and show them below the drawn layout. |
|
|
</p><p> |
|
|
Currently, images can be read from any commonly used image format available |
|
|
in Qt (i.e. PNG, JPG, TIF ...). Color and monochrome images are supported. |
|
|
Internally an image is stored as a matrix of float values and it is possible |
|
|
to write custom importers using RBA. |
|
|
</p><p> |
|
|
To add an image, use the "Add Image" function from the "Edit" menu. |
|
|
An image property dialog will appear where the image can be specified. |
|
|
Choose an image using the "Browse" button next to the file name box. |
|
|
</p><p> |
|
|
An image has a variety of properties which mainly affect the way it is |
|
|
displayed: |
|
|
</p><ul><li><b>Pixel size:</b> The size of one pixel in micron units. This affects the total size of the image.</li><li><b>Center:</b> This is the point where the center of the image is placed (in micron units).</li><li><b>Rotation:</b> An arbitrary angle by which the image is rotated.</li><li><b>Shear/Perspective Tilt:</b> shear and perspective tilt angles. Although it is possible to specify these |
|
|
angles explicitly it is far easiert to use the landmark adjustment feature to align an image with a layout.</li><li><b>Mirror flag:</b> If this option is checked, the image is mirrored at the bottom edge before it is rotated.</li><li><b>Pixel value range:</b> The pixel value corresponding to minimum and maximum. For normal 8 bit image formats, |
|
|
these values are 0 and 255. They can be adjusted which allows brighten or darken images. For float images (i.e. |
|
|
simulation data), this value should reflect the bounds of the output values, i.e. 0.0 and 1.0 for normalized data.</li><li><b>Color mapping:</b> For monochrome images, the values are converted to colors with a mapping function. |
|
|
The image properties page contains a tab for specifying an arbitrary mapping of data values to colors. |
|
|
This is achieved by placing color sample points on the data range axis and assigning colors to them. Double click at |
|
|
the axis to set new points, click on them to select them and adjust their color with the color box. Select |
|
|
and press "Del" to delete a sample point.</li><li><b>Brightness, Contrast and Gamma:</b> Three sliders for changing these values are provided on the respective tab.</li><li><b>RGB channel gains:</b> Additionally, each color channel can be weighted with a given factor on the respective tab.</li></ul><p> |
|
|
Once an image is placed, it can be moved and resized using the "Move" function. |
|
|
The images properties can be adjusted using the "Properties" function from the |
|
|
Edit menu or double-clicking at the image. |
|
|
</p><p> |
|
|
With KLayout 0.22, it is possible to define landmarks which can be set at arbitrary positions in the image and |
|
|
aligned with corresponding layout features by dragging them to the desired target location. See <a href="landmarks.html">Using Landmarks To Align Images</a> for |
|
|
details. |
|
|
</p><p> |
|
|
An arbitrary number of images can be placed on the layout view. To store the setup, save the |
|
|
session using the "File/Save Session" function. |
|
|
</p></div> |
|
|
</div> |
|
|
</body> |
|
|
</html> |
|
|
|
|
|
|