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

11年以上 前 | 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年以上 前 | 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年以上 前 | 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年以上 前 | 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年以上 前 | 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年以上 前 | 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年以上 前 | 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年以上 前 | 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年以上 前 | 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年以上 前 | 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年以上 前 | 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年以上 前 | 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...

12年弱 前 | 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...

12年弱 前 | 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年以上 前 | 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年以上 前 | 2

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

12年以上 前 | 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年以上 前 | 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...

13年弱 前 | 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) =...

13年弱 前 | 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...

13年弱 前 | 0

| 採用済み

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

13年弱 前 | 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...

13年弱 前 | 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...

13年弱 前 | 0