Answered
How can I segment brain gray matter from white matter?
Find published algorithms here: http://www.visionbib.com/bibliography/contentsmedical.html#Medical%20Applications,%20CAT,%20MRI...

3 years ago | 0

Answered
How do I detect the approximate radius of a rough, unclear circular object?
See my Image Segmentation Tutorial in my File Exchange: Image Analyst's File Exchange It's a generic, general purpose demo of ...

3 years ago | 0

Answered
Computing centroid of connected area on a sphere
You may need the Mapping Toolbox if the patch(es) covers a substantial part of the sphere. However if the area is pretty flat, ...

3 years ago | 0

Answered
How to measure spray penetration length and spray area?
There are several ways you can determine the starting and ending rows. I think the fastest is just this [blobRows, blobColumns...

3 years ago | 1

| accepted

Answered
Matlab ignoring or executing lines out of order
Sometimes graphics don't update immediately, expecially if it's in a really computationally intensive loop. Try putting in dra...

3 years ago | 1

| accepted

Answered
What to do once the file from fileexchange is downloaded?
If there is a ton of files containing source code, and you can't find anything that's called something like ReadMe or Setup or m...

3 years ago | 1

| accepted

Answered
I want to embed the video to image then extract the video from that image.I have properly embeded the video to an image.But I am not able to extract.Can provide extractioncode
See attached demo that extracts individual frames from a video and saves them to disk, and then builds a new video from the indi...

3 years ago | 0

| accepted

Answered
Pixel Grouping in Image
As you found out, morphological things will change the shape of the binary blobs. This is a case for dbscan. You can get all t...

3 years ago | 0

Answered
Error when opening two Matlab versions at the same time due to pathdef.m. How to fix it?
Each version of MATLAB should have it's own pathdef and be independent. You can add paths to it with the Set Path button on the...

3 years ago | 2

| accepted

Answered
How do i remove empty cells in a cell array?
Your description is not clear to me. See if this is what you are intending. % Get size of input data [rows, columns] = size(o...

3 years ago | 0

| accepted

Answered
getting a approximation of a linear slope line of a curved set of data points
Try this: clc; % Clear the command window. close all; % Close all figures (except those of imtool.) clear; % Erase all e...

3 years ago | 0

| accepted

Answered
How to calculate Spray Cone Angle
Try this: % Demo to compute the cone angle of a liquid spray from a nozzle. % Initialization steps. clc; close all; workspa...

3 years ago | 1

| accepted

Answered
Error states that Deep Learning Toolbox is required even though license is purchased and toolbox is installed?
Evidently you don't have a license for it even though it may be installed. If you type "ver" in the command window, do you see ...

3 years ago | 0

| accepted

Answered
how to use imresize function.
"I have image unknown.png, I want to covert the size and map same with the image image2988.png (28x28 uint8)" so I take it that ...

3 years ago | 0

Answered
Getting inexistent files using dir function
Try this: folder = 'Volumes\EDUARDO-A\DET Data\HR_V1'; filePattern = fullfile(folder, 'V*.*'); % Only files that start with V ...

3 years ago | 0

Answered
I want to insert rectangle shape to the real time image
You might find using rectangle to draw into the overlay is faster than using insertShape to burn the rectangle into an RGB image...

3 years ago | 1

Answered
Code for file processing
Instead of lines = textscan(inputFile, '%s', 'delimiter', '\n'); you might like to use readlines lines = readlines(inputFile)...

3 years ago | 0

Answered
How to obtain a function through 3d points
Like John and Matt have been saying, you need to parameterize your curve, like have x, y, and z all be a function of the same pa...

3 years ago | 1

Answered
Why my standalone app is not working
When you double click the icon and the application just flashes and goes away, or never appears at all, chances are you installe...

3 years ago | 1

Answered
Why is it detecting 2 centroids in 1 object?
I think you're mistaken, or that you attached the wrong data. Your attached data has only one blob in it. See this well commen...

3 years ago | 0

Answered
Valid Coin Mask True Pixels Error Outside or Beyond the Actual Mask Error
@Ahsan I threw out most of the unnecessary code and simplified it greatly. Here is what I got: clc; % Clear the command win...

3 years ago | 0

Answered
Read in a general binary file (for example, but not exclusively a jpeg file), make a modification and write a new file out verbatim--no altered bytes.
See the FAQ for how to read in a series of files. https://matlab.fandom.com/wiki/FAQ#How_can_I_process_a_sequence_of_files? Af...

3 years ago | 0

Answered
Use files from multiple folders
Since this is one of the most common FAQs, see the FAQ for code snippets: https://matlab.fandom.com/wiki/FAQ#How_can_I_process_...

3 years ago | 1

| accepted

Poll


If you were EXTREMELY wealthy, would you still work?

3 years ago | 15668 votes | 11 comments

Answered
Rotate bounding boxes w.r.t the object orientation to get the length and width of objects in an image
You don't need to rotate the bounding boxes. regionprops will find the red box. Rotating that square red box will not give y...

3 years ago | 0

Answered
Edge and corner detection using Hough Transform
The whole approach is wrong. You should just do shape detection. Just threshold find centroid find boundary coordinates fin...

3 years ago | 2

Answered
Problem with saving cropped DNG image to then run rgb -> xyz conversion
Your I2 is already the RGb image. You don't need raw2rgb.

3 years ago | 1

| accepted

Answered
Thresholding operation on HSV Image
You can use the Color Thresholder app on the Apps tab of the tool ribbon to interactively threshold the color image by moving sl...

3 years ago | 0

Answered
How to remove frame appear as a result of thresholding
Avoid the white frame altogether by using imwrite to save the image, rather than saveas or print or whatever other function you'...

3 years ago | 0

Answered
How to find the true positive and true negative for detected pixels in the image
You can use dice to compare your segmented image to the ground truth segmentation image.

3 years ago | 0

Load more