# Binary dilation and erosion in matlab

The following Matlab project contains the source code and Matlab examples used for binary dilation and erosion. A faster implementation of binary dilation and erosion.

# Display pixels and pixel values in matlab

The following Matlab project contains the source code and Matlab examples used for display pixels and pixel values. showPixelValues displays image pixels, a pixel grid, and superimposed pixel values. It uses impixelregion from the Image Processing Toolbox. Unlike an impixelregion figure, though, the figure created by showPixelValues can be captured in a published M-file script.

# Matlab picross in matlab

The following Matlab project contains the source code and Matlab examples used for matlab picross. Picross is a fun game where you fill in tiles based on outer numbers for each of the vertical and horizontal lines of the grid.

# Bresenham circle in matlab

The following Matlab project contains the source code and Matlab examples used for bresenham circle . Code uses Bresenham Algorithm to draw a circle, with a modification parameter to increase/decrease the step for calculation of point.

# Bresenham line generation in matlab

The following Matlab project contains the source code and Matlab examples used for bresenham line generation. This code uses Bresenham line generation algorithm to generate a line, with modified expression for error calculation which does not involves any division or calculation of slope of line.

# Line drawing by bresenham algorithm in matlab

The following Matlab project contains the source code and Matlab examples used for line drawing by bresenham algorithm. This code implements Bresenham Line Algorithm with slight modification of error term in respect of computation efficiency that it does not require any division process.

# Bresenham optimized for matlab

The following Matlab project contains the source code and Matlab examples used for bresenham optimized for matlab. This code does not use any for loops and takes advantage of Matlabs internally optimized routines to produce a fast, optimized version of Bresenham's line drawing algorithm

# 2d distance transform of arbitrary points in matlab

The following Matlab project contains the source code and Matlab examples used for 2d distance transform of arbitrary points. Tristan Ursell Distance Transform for Arbitrary Point Cloud March 2012 [Xvec,Yvec,Dist]=clouddist(Xin,Yin,xlim,ylim,res); The function creates a Euclidean distance transform from an arbitrary set of points, which is the in-plane distance to to closest point.

# Scale all the chosen images into 800 pixels wide in matlab

The following Matlab project contains the source code and Matlab examples used for scale all the chosen images into 800 pixels wide. Directly running the code, the user could specify multiple images and these images will be automatically scaled to 800 pixels wide without changing aspect ratio.

# Circle pixel coordinates using mid point algorithm in matlab

The following Matlab project contains the source code and Matlab examples used for circle pixel coordinates using mid point algorithm. GETMIDPOINTCIRCLE return the x,y pixel coordinates of a circle     [x y] = getmidpointcircle(x0, y0, radius) returns the pixel coordinates   of the circle centered at pixel position [x0 y0] and of the given integer   radius.

# This function is used to expand the perimeter of a binary image by one pixel in matlab

The following Matlab project contains the source code and Matlab examples used for this function is used to expand the perimeter of a binary image by one pixel . This function is used to expand the perimeter of a binary image by one pixel

# Fpga implementation of gray scale based the image dilation morphological operation using hdl coder in matlab

The following Matlab project contains the source code and Matlab examples used for fpga implementation of gray scale based the image dilation morphological operation using hdl coder. Here i have implemented the basic morphological operator called "Dilation" on gray scale image using HDL coder.

# Bresenham's 3d line algorithm in matlab

The following Matlab project contains the source code and Matlab examples used for bresenham's 3d line algorithm. The Bresenham line algorithm is an algorithm that determines which points in a 3-dimensional raster should be plotted in order to form a close approximation to a straight line between two given points in 3D space.

# Generalized hough transform in matlab

The following Matlab project contains the source code and Matlab examples used for generalized hough transform. Generalised Hough Transfrom Find template/shape Itm in greyscale image Is using generalize hough transform Use generalized hough transform to find Template/shape binary image (given in binary image Itm) in grayscale image (Is grayscale image) Is is grayscale picture were the template Itm should be found Itm is bool edge image of the template with edges marked ones Return the x,y location coordinates which gave the best match