Community Profile

photo

Jeff E


Last seen: 1 day ago Active since 2011

Statistics

All
  • First Review
  • First Submission
  • 6 Month Streak
  • Knowledgeable Level 4
  • First Answer

View badges

Content Feed

View by

Answered
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 ago | 0

Answered
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 ago | 0

| accepted

Answered
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'); ...

8 years ago | 0

| accepted

Answered
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')));

8 years ago | 0

| accepted

Answered
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...

8 years ago | 0

Answered
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

Answered
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

Answered
to flip an image block across main diagonal line y=x
transpose img_block_diag = transpose(img_block);

9 years ago | 2

| accepted

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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...

9 years ago | 0

| accepted

Answered
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 ago | 0

Answered
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 ago | 1

Answered
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 ago | 0

Answered
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 ago | 0

| accepted

Answered
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...

10 years ago | 0

Answered
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...

10 years ago | 5

| accepted

Answered
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 ...

10 years ago | 0

| accepted

Answered
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); ...

10 years ago | 0

Answered
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...

10 years ago | 1

Answered
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...

10 years ago | 0

| accepted

Answered
Non-binary Edge Detection
You'll want to use the IMGRADIENT function.

10 years ago | 0

| accepted

Answered
Understanding montage() command settings
From the imagesc documentation, emphasis mine: The imagesc function scales image data to the full range of the *current* co...

10 years ago | 0

Answered
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...

10 years ago | 0

Answered
image1.jpg, image2.jpg.....etc how?
counter = 1; %initialize filename increment vid = videoinput('winvideo',1); set(vid, 'ReturnedColorSpace', 'RGB'); ...

10 years ago | 0

| accepted

Answered
Making part of a column negative depending on another column
b_new = sign(a) .* b

10 years ago | 0

| accepted

Answered
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...

10 years ago | 0

Answered
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...

10 years ago | 1

| accepted

Load more