Answered
How can I make horizontal bands in a grayscale image?
yy = (ones(400,1)*cos(2*pi*(0:399)/80))';

bijna 11 jaar ago | 0

| accepted

Answered
How to convert an image to the cartesian X,Y coordinates?
Unimaginative solution below, possibly with extra computational overhead than a direct solution using reshape and some simple ca...

bijna 11 jaar ago | 0

Answered
Colocalizing colors in an image
The approach I would take would be to create 2 binary masks that identify each of the signals from their respective fluorescent ...

bijna 11 jaar ago | 0

| accepted

Answered
Filling a group of pixels with a new color?
From the sound of things you actually have a 10x10x3 matrix. The "3" represents the color information stored in the red, green ...

bijna 11 jaar ago | 0

| accepted

Answered
what is property of an image?
By and large, the properties returned are usually numbers that describe each contiguous region in a binary mask. It is also...

bijna 11 jaar ago | 0

| accepted

Answered
Straighten edges of black rectangle in binary image
The following may be helpful in validating any solution you do end up finding. If the rectangles in your images are rotated to ...

ongeveer 11 jaar ago | 0

Answered
Size Distribution code for analysis
If your "black and white" images are binary images, and you have the Image Processing Toolbox, then you can simply feed them int...

ongeveer 11 jaar ago | 0

Answered
Stretch quadrilateral ROI to pre-definded rectangle size
When I started out learning about image transformations (a process still going on, BTW), using the manual control point selectio...

ongeveer 11 jaar ago | 0

| accepted

Answered
ROI selection without overlap
There is no built-in function of ROIPOLY, that I know of, that will do this. So, you'll need to alter your raw image to outline...

ongeveer 11 jaar ago | 0

| accepted

Answered
Show a ROI over the original image
I'm not sure your reference to imagesc, but this file in the File Exchange does a nice job of producing color overlays: <http:/...

ongeveer 11 jaar ago | 0

Answered
Edge detection of a specific object
The Berkely Segmentation Dataset and Benchmark website: <http://www.eecs.berkeley.edu/Research/Projects/CS/vision/bsds/> is a...

ongeveer 11 jaar ago | 0

Answered
How to use regionprops on connected component labels
What's really sloppy and inelegant is CellProfiler limiting the number of cells in a field to uint8. The below is my slight ref...

ongeveer 11 jaar ago | 0

| accepted

Answered
How to prepare data for using in 'svmclassify'?
For detailed help, see the "Input Arguments" section of svmtrain: <http://www.mathworks.com/help/bioinfo/ref/svmtrain.html> B...

ongeveer 11 jaar ago | 0

Answered
Saving my image with the bounding box?
The rectangle function (and others like plot, scatter, etc) is useful inside of Matlab to visualize certain aspects of your data...

ongeveer 11 jaar ago | 0

| accepted

Answered
save histogramms as a viewable image in a specific folder
If you have plotted your histograms and have their handles, then you can use the built-in function SAVEAS to save them in variou...

bijna 12 jaar ago | 1

Answered
Blob Analysis - Subtract Large Blobs from Image (Keeping Small Blobs) to create a mask image
Yes, there is no built-in inverse of bwareaopen. You can achieve this with some simple logic operations: mask_out = mask_in ...

bijna 12 jaar ago | 2

Answered
removing the boundary objects
If you have the Image Processing Toolbox, the function imclearborder is what you want.

ongeveer 12 jaar ago | 0

| accepted

Answered
detect the longest edge and calculate the slope
How about answering it in a slightly different way? Consider using regionprops to fit an ellipse to your box region, and use th...

ongeveer 12 jaar ago | 0

Answered
Differentiating Between Different Coloured Objects
There are quite a few RGB thresholding/segmentation algorithms in the File Exchange. However, just identifying the colors proba...

ongeveer 12 jaar ago | 0

Answered
how to change the pixel value of an image
Assuming a grayscale image: >> img = uint8([10 30 50 ; 3 4 10]) img = 10 30 50 3 4 10 >> img(2,2) =...

ongeveer 12 jaar ago | 0

Answered
image stitching
The approach I take is to pre-allocate the final image, then just "drop in" the image data in the appropriate locations. This w...

ongeveer 12 jaar ago | 0

| accepted

Answered
Counting by 10
blah = char(65:120) tens = blah(10:10:end)

ongeveer 12 jaar ago | 0

Answered
Get pixel values from image patch
Not sure what the "imageregion tool" is... Below is some code that will return a list of RGB values if you give it a 24-bit R...

ongeveer 12 jaar ago | 0

Answered
How to truncate/modify a file name
This will truncate the first six chars. If the file name part you want to truncate changes in size, check out regexp to find, s...

ongeveer 12 jaar ago | 0

Submitted


RGB thresholding of 24-bit color images
Takes a color image, and returns a binary mask of colors between individual RGB cutoffs.

bijna 13 jaar ago | 1 download |

Thumbnail