# 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.

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.

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.

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.

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.

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.

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

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.

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.

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.

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

The following Matlab project contains the source code and Matlab examples used for picross solver.
A Picross solver, with a display of the current state and guessings.
http://en.wikipedia.org/wiki/Nonogram
See also:
http://www.mathworks.fr/matlabcentral/cody/problems/1700-solve-the-picross-easy

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.

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.

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

The following Visual Basic project contains the source code and Visual Basic examples used for changing a vb picture object pixel by pixel. Changing a VB Picture Object Pixel by Pixel