Statistics
RANK
578
of 296,133
REPUTATION
132
CONTRIBUTIONS
0 Questions
54 Answers
ANSWER ACCEPTANCE
0.00%
VOTES RECEIVED
15
RANK
10,962 of 20,343
REPUTATION
47
AVERAGE RATING
3.00
CONTRIBUTIONS
1 File
DOWNLOADS
1
ALL TIME DOWNLOADS
470
RANK
of 155,424
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
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...
5 years ago | 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...
5 years ago | 0
| accepted
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 ago | 0
| accepted
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 ago | 0
| accepted
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 ago | 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...
9 years ago | 0
| accepted
what does allcentroids do?
This is pulling the various measurements (Area, Perimeters, Centroid coordinates) out of the cell array measurements, and puttin...
9 years ago | 0
to flip an image block across main diagonal line y=x
transpose img_block_diag = transpose(img_block);
9 years ago | 2
| accepted
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 ago | 1
| accepted
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 ago | 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...
9 years ago | 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...
9 years ago | 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...
10 years ago | 0
| accepted
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...
11 years ago | 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...
11 years ago | 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...
11 years ago | 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...
11 years ago | 0
| accepted
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 ago | 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...
11 years ago | 5
| accepted
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 ago | 0
| accepted
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 ago | 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...
11 years ago | 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...
11 years ago | 0
| accepted
Non-binary Edge Detection
You'll want to use the IMGRADIENT function.
11 years ago | 0
| accepted
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 ago | 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...
11 years ago | 0
image1.jpg, image2.jpg.....etc how?
counter = 1; %initialize filename increment vid = videoinput('winvideo',1); set(vid, 'ReturnedColorSpace', 'RGB'); ...
11 years ago | 0
| accepted
Making part of a column negative depending on another column
b_new = sign(a) .* b
11 years ago | 0
| accepted
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 ago | 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...
11 years ago | 1
| accepted