Feeds
已回答
How can calculate the average diamter of below image using matlab?
I'd start by looking at the regionprops function. Particularly, the "EquivDiameter", "MaxFeretProperties", and "MinFeretPropert...
How can calculate the average diamter of below image using matlab?
I'd start by looking at the regionprops function. Particularly, the "EquivDiameter", "MaxFeretProperties", and "MinFeretPropert...
4 years 前 | 0
已回答
How to make image background white?
I would start by closing in small gaps to get a solid hand. imgin_close = imclose(imgin, strel('square', 3)); Then I would fin...
How to make image background white?
I would start by closing in small gaps to get a solid hand. imgin_close = imclose(imgin, strel('square', 3)); Then I would fin...
4 years 前 | 0
| 已接受
已回答
How to fill an object with the same color as surrounding pixels?
If you're always dealing with pixels regions that have the same values, then the below should work: Im1=imread('Im1.bmp'); ...
How to fill an object with the same color as surrounding pixels?
If you're always dealing with pixels regions that have the same values, then the below should work: Im1=imread('Im1.bmp'); ...
9 years 前 | 0
| 已接受
已回答
How to avoid dates being writen in scientific notation?
If you really want it as an integer: m = uint64(str2num(datestr([2015,8,10,12,0,0],'yyyymmddhhMM')));
How to avoid dates being writen in scientific notation?
If you really want it as an integer: m = uint64(str2num(datestr([2015,8,10,12,0,0],'yyyymmddhhMM')));
9 years 前 | 0
| 已接受
已回答
Overlaying a semi-transparent color over an image
<http://www.mathworks.com/matlabcentral/answers/104889-how-to-overlay-a-foreground-image-over-a-background-image This post seems...
Overlaying a semi-transparent color over an image
<http://www.mathworks.com/matlabcentral/answers/104889-how-to-overlay-a-foreground-image-over-a-background-image This post seems...
9 years 前 | 0
已回答
Trouble Removing Uneven Background Lighting from Image
Try using imbothat instead of imtophat, with a slightly larger kernel size. I2= imbothat(drop, strel('disk', 30)); worke...
Trouble Removing Uneven Background Lighting from Image
Try using imbothat instead of imtophat, with a slightly larger kernel size. I2= imbothat(drop, strel('disk', 30)); worke...
9 years 前 | 0
| 已接受
已回答
what does allcentroids do?
This is pulling the various measurements (Area, Perimeters, Centroid coordinates) out of the cell array measurements, and puttin...
what does allcentroids do?
This is pulling the various measurements (Area, Perimeters, Centroid coordinates) out of the cell array measurements, and puttin...
9 years 前 | 0
已回答
to flip an image block across main diagonal line y=x
transpose img_block_diag = transpose(img_block);
to flip an image block across main diagonal line y=x
transpose img_block_diag = transpose(img_block);
9 years 前 | 2
| 已接受
已回答
standard deviation and mean of image
I'm assuming you are interested in the mean and S.D. of the *intensity* in the image. In which case, you would just take the me...
standard deviation and mean of image
I'm assuming you are interested in the mean and S.D. of the *intensity* in the image. In which case, you would just take the me...
9 years 前 | 1
| 已接受
已回答
How to study the effectiveness of feature extraction ?
Manually identify the pores in a (small) set of images, and compare the two results. Ideally by looking at the overlapping and ...
How to study the effectiveness of feature extraction ?
Manually identify the pores in a (small) set of images, and compare the two results. Ideally by looking at the overlapping and ...
9 years 前 | 0
已回答
Stenosis Detection of Arteries
Not sure what you mean by discontinuity, but on way to obtain an average width would be the sum of the artery mask divided by th...
Stenosis Detection of Arteries
Not sure what you mean by discontinuity, but on way to obtain an average width would be the sum of the artery mask divided by th...
9 years 前 | 1
已回答
Is there a way to disable plotting in Compiled Matlab code (using MCR)
The function ISDEPLOYED returns true when run in the MCR, false when run in Matlab So, if ~isdeployed plot([1 2] , [2...
Is there a way to disable plotting in Compiled Matlab code (using MCR)
The function ISDEPLOYED returns true when run in the MCR, false when run in Matlab So, if ~isdeployed plot([1 2] , [2...
9 years 前 | 0
已回答
how to perform closing by reconstruction followed by opening by reconstruction
No, you cannot. Notice the multiple imcomplement calls after the imdilate step. These are necessary in the closing by reconstr...
how to perform closing by reconstruction followed by opening by reconstruction
No, you cannot. Notice the multiple imcomplement calls after the imdilate step. These are necessary in the closing by reconstr...
10 years 前 | 0
| 已接受
已回答
Why imerode( ) is not giving intended results ?
Some (all?) morphological functions make assumptions about the value of pixels _beyond_ the border of the image in cases where t...
Why imerode( ) is not giving intended results ?
Some (all?) morphological functions make assumptions about the value of pixels _beyond_ the border of the image in cases where t...
10 years 前 | 0
已回答
Comparing 2 images intensities
The code below will take the hue and saturation values from image1, and the value from image2, and merge them into one new image...
Comparing 2 images intensities
The code below will take the hue and saturation values from image1, and the value from image2, and merge them into one new image...
10 years 前 | 1
已回答
How to place image one after the other?
I would try the montage function. The only tricky part there is that you have to pass it an array of filenames, or single array...
How to place image one after the other?
I would try the montage function. The only tricky part there is that you have to pass it an array of filenames, or single array...
10 years 前 | 0
已回答
how to find robocup`s ball?
You're going about calculating perimeter in a roundabout fashion. Matlab can convert a specific part of a structure, in your ca...
how to find robocup`s ball?
You're going about calculating perimeter in a roundabout fashion. Matlab can convert a specific part of a structure, in your ca...
10 years 前 | 0
| 已接受
已回答
I have question on how to edit pictures. What i am trying to do is read in two images to matlab and i am trying to replace a part a part one the first picture with a part from the second image.
Below is a simple way to just swap a portion of toyota_image, given the coordinates of a boundingbox (ttop = y coordinate of top...
I have question on how to edit pictures. What i am trying to do is read in two images to matlab and i am trying to replace a part a part one the first picture with a part from the second image.
Below is a simple way to just swap a portion of toyota_image, given the coordinates of a boundingbox (ttop = y coordinate of top...
11 years 前 | 0
已回答
How to show Tiff stacks
You can read each tiff image in one at a time using imread (note I'm making some assumptions...like you do indeed have a multipa...
How to show Tiff stacks
You can read each tiff image in one at a time using imread (note I'm making some assumptions...like you do indeed have a multipa...
11 years 前 | 5
| 已接受
已回答
How do i transform/convert a structuring element to an binary image in Matlab?
>> se = strel('square',7); >> nhood = getnhood(se); >> whos('se' ,'nhood') Name Size Bytes Class ...
How do i transform/convert a structuring element to an binary image in Matlab?
>> se = strel('square',7); >> nhood = getnhood(se); >> whos('se' ,'nhood') Name Size Bytes Class ...
11 years 前 | 0
| 已接受
已回答
How to ascertain number of special characters in a string?
blah = ' This line contains * some & special ( chars_!@#'; idx = regexp(blah, '_|!|\*'); special_count = size(idx, 2); ...
How to ascertain number of special characters in a string?
blah = ' This line contains * some & special ( chars_!@#'; idx = regexp(blah, '_|!|\*'); special_count = size(idx, 2); ...
11 years 前 | 0
已回答
How to find distance in binary image?
Below is what I came up with, which is an average distance between objects for an entire image. An example of the distances bei...
How to find distance in binary image?
Below is what I came up with, which is an average distance between objects for an entire image. An example of the distances bei...
11 years 前 | 1
已回答
Filling gaps in binary images
If it really is just one pixel, then try this: BW2 = bwmorph(BW, 'bridge'); If it is more than one pixel, then take a lo...
Filling gaps in binary images
If it really is just one pixel, then try this: BW2 = bwmorph(BW, 'bridge'); If it is more than one pixel, then take a lo...
11 years 前 | 0
| 已接受
已回答
Understanding montage() command settings
From the imagesc documentation, emphasis mine: The imagesc function scales image data to the full range of the *current* co...
Understanding montage() command settings
From the imagesc documentation, emphasis mine: The imagesc function scales image data to the full range of the *current* co...
11 years 前 | 0
已回答
Does anyone Know how to deal with '.BIF' image files?
Unfortunately I do not. I can tell you, however, that these are most likely a proprietary format coming from a scanner made fro...
Does anyone Know how to deal with '.BIF' image files?
Unfortunately I do not. I can tell you, however, that these are most likely a proprietary format coming from a scanner made fro...
11 years 前 | 0
已回答
image1.jpg, image2.jpg.....etc how?
counter = 1; %initialize filename increment vid = videoinput('winvideo',1); set(vid, 'ReturnedColorSpace', 'RGB'); ...
image1.jpg, image2.jpg.....etc how?
counter = 1; %initialize filename increment vid = videoinput('winvideo',1); set(vid, 'ReturnedColorSpace', 'RGB'); ...
11 years 前 | 0
| 已接受
已回答
Making part of a column negative depending on another column
b_new = sign(a) .* b
Making part of a column negative depending on another column
b_new = sign(a) .* b
11 years 前 | 0
| 已接受
已回答
Get confused (twice) with entropy of grayscale image
This boils down to the way IMHIST calculates the bins for an image of type double. For some (all?) functions, Matlab assumes pi...
Get confused (twice) with entropy of grayscale image
This boils down to the way IMHIST calculates the bins for an image of type double. For some (all?) functions, Matlab assumes pi...
11 years 前 | 0
已回答
How to fuse three images?
I'm reading quite a bit into your question, but it sounds like you have three binary images saved as rgb images. A = rgb2...
How to fuse three images?
I'm reading quite a bit into your question, but it sounds like you have three binary images saved as rgb images. A = rgb2...
11 years 前 | 1
| 已接受