The following code can be used to separate red and green pixels from an image. It is based on color distance transform. Some Threshold has to be provided so that its color distance is within some range to determine whether the given pixel is red or green.
HOUGHCIRCLES detects multiple disks (coins) in an image using Hough Transform. The image contains separating, touching, or overlapping disks whose centers may be in or out of the image.
houghcircles(im, minR, maxR);
the pixels in an image are weighted with their intensity. we try to fit a pre-defined number of connected (partially overlapping) ellipses onto this image, using gmdistribution.fit from matlab's statistics toolbox.
i used this to separate...
Connect two pixels in an image with the desired graylevel
result = func_DrawLine(Img, X1, Y1, X2, Y2)
input: Img : the original image.
(X1, Y1), (X2, Y2) : points to connect.
nG : the...
The VPrint module will create an image (using the GD library) that prints text vertically. The text and font size are specified as GET parameters. You can also optionally specify the maximum vertical size, in pixels.
This program segments and extracts objects from an image.
Apply the Droste Effect to an image using a GUI or function call.
The Droste Effect is when an image recursively includes itself. The basic method is to insert a scaled copy of the image, but more interesting results can be achieved via...
Use the mouse button to drag out a rubber band box to select an area from an image. The rubber band box is temporarely drawn over the image, and the box's corner coordinates are returned.
A JAVA package (that can be compiled to a COM DLL) that assists database programmers in generating dynamic SQL, from any platform (using JAVA), eliminating ugly string concatenation code for a more eloquent OO approach.
Apply a watermark to an image using the Python Imaging Library. Supports color, tiling, scaling, and opacity reduction.
THIS PROGRAM HELPS TO CROP A REGION OF INTEREST MANUALLY FROM AN IMAGE AND IT COMPUTES SEVEN TEXTURE PARAMETERS VIZ.,
1. SHORT RUN EMPHASIS (SRE)
2. LONG RUN EMPHASIS(LRE)
3. GRAY LEVEL NON-UNIFORMITY (GLN)
4. RUN PERCENTAGE...
An image in your root directory can be zoomed by calling the above program.
*First try with a small image. Because when the image is smaller, program response quickly.
How to Run the Program
This program will make a thumbnail from an image at the click of a button.
This is easy to use tool that helps users to create a distorted version of an image using the parrallelogram parameter to the DrawImage method. You can easily download and install this tool on your web applications.
This technical tip allows developers to read barcode from external image URL using Saaspose.BarCode REST API in your Java applications. Some important steps for performing this task is to build URI for reading barcode, sending the request to...
simple program that converts an Image to a new image using dice
Reads an image file from the filename specified as the 1st parameter on the command line and displays it on screen. Uses the PIL module so that it can load almost any image file type supported by that module and uses Tkinter to display the image...
User can callibrate an image to get the conversion factor fro transforming pixels values on the image to real world distances. The function takes greyscale image as input. After that it a prompt asks the user to enter the callibration scale in cm....
How To Retrieve and Display Records from an Access Database by Using ASP.NET, ADO.NET, and Visual C# .NET is an article that explains step-by-step process of fetching records from the Access database and bind it to the datagrid control using...
This recipe shows a simple approach to using the Python email package to strip out attachments and file types from an email message that might be considered dangerous. This is particularly relevant in Python 2.4, as the email Parser is now much...