⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme.txt

📁 Edge detection in microscopy images using curvelets
💻 TXT
📖 第 1 页 / 共 2 页
字号:
directions are shown in the "Directions to show" list box, but level 4has 32 directions, then selecting direction 1 in the list box willinclude directions 1 and 2 on level 4.Symmetric directions: Checking this box, forces the selection ofdirections to be symmetric, i.e. when one direction is selected, thedirection opposite to it (shifted by 180 degrees) is also included. Itis often wise to enable this option, because it ensures thatreconstructed images will be real.Domain: This drop-down box determines what will be shown in the imageaxes next to it. The choices are "Original image", "Reconstructedimage", "Error" (reconstructed minus original) and "Coefficients" (thevalue of the curvelet coefficients on the coarsest selected level andfirst selected direction for all space points - this is not equal tothe reconstruction). Original, reconstructed and error images can beviewed either in physical space or in Fourier space. And thecoefficients can be viewed either for the original image or for thereconstructed (and thresholded) image.Values: This determines which values are shown in the image axes nextto it - real part, imaginary part, absolute value or logarithm ofabsolute values.Thresholding: In this box, the thresholding of curvelet coefficientsfor reconstruction can be specified. Selecting "Threshold" in thedrop-down keeps only coefficients with absolute value larger than thevalue specified in the edit box. Selecting "Number" keeps the largestcoefficients, but only the number of coefficients specified in theedit box. The "Percentage" option keeps the largest fraction specifiedin the edit box, i.e. writing 0.1 keeps the 10% largest coefficients.Show in separate window: Clicking these buttons opens a new figurewindow and displays the image currently displayed, but in a new window- useful for comparisons, and for printing and saving images.Export data: Exports current internal program data to a variable"cviewdata" in the matlab workspace.l^2 error and PSNR: Show the error of the reconstruction as l^2-error,||im - rec||_2, and as PSNR (= 20 * log10((max(im) - min(im)) / ||im - rec||_2) 4.1.2.2 The ToolbarThe toolbar contains the usual MATLAB Print, Zoom and Pan tools, butalso the following tools:Link axes (the up-down arrow): Links the zoom and pan operations inthe two axes (useful for comparing original and reconstructed images)Plot directions (the red star-like shape): Turns the bottom axes intoa polar plot, when the user clicks in the top image (displaying theoriginal or reconstructed image). The polar plot shows the magnitudeof curvelet coefficients in different directions for the selecteddetail levels at the position clicked in the image. By the check-boxesthat appear to the left, the user can turn the polar plot into acartesian plot, specify a sliding average over a specified number ofneighboring curvelets before plotting, and choose to sum coefficientson all the selected levels.Norm of directions (the multi-colored disk): Displays the l^2-norm ofthe curvelet coefficients at all levels and directions, computedseparately at each level and direction.4.1.2.3 Menu itemsThe Tools menu contains two menu items: "Make movie" and "Batchanalysis...". The "Make movie" item opens the CMovieMaker window thatenables the user to create movies of a series of images, wherecurvelet and/or wavelet transforms and thresholding can be applied toeach image (with similar options like in the CViewer GUI).The "Batch analysis" item opens the "Batch window", where the user canselect a directory, and all images in this directory are loaded andthe current level, direction and thresholding options selected in theCViewer window are applied to each image. For each image, a mat-fileis created, containing the same data as when clicking "Export data",and the reconstructed image is saved in a subdirectory named Output,and with a filename appening "_analyzed" to the original filename.4.2 The EdgeDetect GUI4.2.1 Basic featuresThe edgedetect GUI implements the algorithm presented in the paper"T. Geback, P. Koumoutsakos; Edge detection in microscopy images usingcurvelets; 2008"for edge detection using the fast discrete curvelet transform.The algorithm extracts a directional field with direction andmagnitude at each point given by the largest curvelet coefficient onthe chosen level. The resolution is given by the finest chosen level of curveletcoefficients. The Canny edge detector is applied to trace along ridgesof the field magnitude to mark the edges.4.2.2 All buttons and boxes in EdgeDetect GUI4.2.2.1 Buttons and drop-downsThe "Directional field extraction" group contains options forselecting which curvelet levels to use, and how to include them.The "Levels" list box lets the user select which detail levels touse. Checking "All curvelets" uses curvelets on the finest levelinstead of wavelets. "Circular average size" specifies the size of theaveraging over directions before extracting curvelet magnitudes (1means going 1 step left and 1 right, meaning a moving average of size3). "Curvelet extent" specifies in the same way how many neighboringpositions should be averaged over (1 here means 1 left, 1 right, 1 up,1 down - total 5). "# directional fields" means how many directionalfields should be extracted and used for the edge detection, the firstone being the largest coefficients, the second field the secondlargest coefficients, if separated from the first by the number ofdirections given in "Direction spacing".Finally, "Filter type" specifies if we use the magnitude of thecurvelet coefficient, or the real part (corresponding to an evenfilter), imaginary part (an odd filter), or sum of the real andimaginary parts.The "Edge detection" group lets the user specify thresholds for the edgedetection. More information about the Canny thresholds may be found bywriting "help edge" in the Matlab window. "Apply tophat transform"applies a tophat-transform (original - opening of image) using a diskof the specified radius as the structural element.The "Sheet threshold" is used for extracting "sheets", which are areaswhere the total curvelet magnitude (summed over all directions) islarge. Finally, "Exclude sheets from edges" prevents the marking ofedges in any areas that are marked as sheets.The "Postprocessing" group provides some opportunities formanipulating the extracted edges. An "Extension length" larger than 0extends the found edges by at most the specified number of steps,moving in the direction of the field. If another edge is encountered,the travelled path between is included as an edge, connecting the twoedges. The global extension threshold gives the fraction of themaximum magnitude that a pixel must exceed to be considered forinclusion, while the local threshold is the fraction of the currentpixel value (that we are moving from)."Thin edges" applies the matlab command "bwmorph('thin')" to theedges. "Dilate and thin" applies the "bwmorph('dilate')" and the"bwmorph('thin')" commands. "Remove spurs" applies "bwmorph('spur')"."Skeletonize" uses bwmorph('thin', Inf) on the edges mapped to theoriginal image before displaying them.Details about the edge detection and post-processing can be found incurvecanny_multi.m.In the "Display" group, the user can choose to display the image orthe curvelet magnitude image as background to the edges, choose todisplay edges and/or sheets and/or the directional field (with smallarrows indicating direction and magnitude). Finally, the user canselect which of the extracted fields to show (if more than one).By clicking "Export data", the user exports the current data(including field, edges, sheets, etc) to the Matlab command window inthe variable edgedata.4.2.2.2 The toolbarThe toolbar contains the standard Matlab tools for zooming andpanning.4.2.2.3 The menuThe "Open file..." item opens a dialog box where the user can selectan image file to open. All image formats supported by Matlab's imreadfunction are supported, plus the .dcm DICOM format.The "Batch analysis..." item opens the batch window, where the usercan select a directory from which all image files are read andanalysed using the current settings in the main window. For eachimage, a Matlab mat-file is written in a subdirectory name Output,containing similar data as exported by the "Export data" button. Theanalyzed image is also written, corresponding to the options fordisplay specified in the main window. Some statistics is alsodisplayed in the Matlab command window for each analyzed file.4.3 Other files and functionsFor information on the other files and functions included inCurveletUtils, see each of the separate files. The utils/ subdirectorycontains some simpler utilities that makes working with the Curveletdata structure a bit simples. The src/ subdirectory contains sourcefor the mex-files used by the GUIs.5 Citation informationIf you use the EdgeDetect GUI or the underlying algorithm for anysientific publication, please cite the following paper:T. Geback, P. Koumoutsakos; "Edge detection in microscopy images usingcurvelets", 2008

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -