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

11 years 前 | 0

| 已接受

已回答
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...

11 years 前 | 0

已回答
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 ...

11 years 前 | 0

| 已接受

已回答
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 ...

11 years 前 | 0

| 已接受

已回答
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...

11 years 前 | 0

| 已接受

已回答
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 ...

11 years 前 | 0

已回答
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...

11 years 前 | 0

已回答
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...

11 years 前 | 0

| 已接受

已回答
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...

11 years 前 | 0

| 已接受

已回答
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:/...

11 years 前 | 0

已回答
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...

11 years 前 | 0

已回答
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...

11 years 前 | 0

| 已接受

已回答
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...

11 years 前 | 0

已回答
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...

11 years 前 | 0

| 已接受

已回答
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...

12 years 前 | 1

已回答
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 ...

12 years 前 | 2

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

12 years 前 | 0

| 已接受

已回答
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...

12 years 前 | 0

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

12 years 前 | 0

已回答
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) =...

12 years 前 | 0

已回答
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...

12 years 前 | 0

| 已接受

已回答
Counting by 10
blah = char(65:120) tens = blah(10:10:end)

12 years 前 | 0

已回答
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...

12 years 前 | 0

已回答
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...

12 years 前 | 0