Answered
histogram specialization, imhist error
imhist() returns two arguments. If you have one then it's just the counts: hist_xray2=imhist(x_ray); so hist_xray2 is the cou...

2 days ago | 0

| accepted

Answered
Image Normalization before Fine-Tuning a pretrained CNN for image classification
Sure. Use mat2gray() or rescale() or im2double().

2 days ago | 1

Answered
I am getting an error named Not enough input arguments for the function HelperPoolWaitbar below while running a code can anyone explain me how to solve it.
Like it says, you're not passing in the required inputs. How did you call it in your script or command window. If you did some...

2 days ago | 0

Answered
How to find copy paste(tempered) area in document image ?
See section on documents and forgery here: USC Annotated Computer Vision Bibliography

3 days ago | 0

Answered
Average pixel color intensity of ROI
What do you mean by "intensity"? Do you mean the values in the V image? You can use regionprops().

3 days ago | 0

Answered
How to draw a line between two points on a graph?
You can use either plot(), which is very general, or line() which is more specialized for lines.

3 days ago | 0

Answered
How to use specific vector to define axis in imagesc?
You can change the tick marks manually. See xticks() and xticklabels().

3 days ago | 0

| accepted

Answered
Finding correlation between two images
normxcorr2() scans the image with a window and does a normalization at each location. imfilter() does not. It simply moves the...

3 days ago | 0

| accepted

Answered
Removing unwanted data from a Histogram
Here is a full demo. Attach your data or histogram if you need more help. % Demo by Image Analyst. clc; % Clear the comman...

3 days ago | 0

| accepted

Answered
How to force a plot to show trailing NaNs
Try this: % Demo by Image Analyst clc; % Clear the command window. close all; % Close all figures (except those of imtool...

4 days ago | 0

Answered
Doubles Output in Matrix?
Why are you making it a cell array? No need for that. Assuming all the columns are the same height, just stuff it into a colum...

4 days ago | 0

Answered
What should go in a next-generation MATLAB X?
I'd like a way to enter 2-D matrices interactively easier. The current way with inputdlg() or input() is not WYSIWIG and very c...

4 days ago | 1

Answered
MATLAB Hardware Key Licensing
If you don't have network access you can send them information about the computer (like hard disk serial number or computer name...

4 days ago | 0

Answered
How to write a value of type double(vector) into a cell in a struct
Do you mean like this: % Make sample H structure array. for k = 1 : 7 for col = 1 : 3 for row = 1 : 4 ...

4 days ago | 0

| accepted

Answered
I removed a redundant "Documents" folder under the top level "Documents" folder and now I am getting the following error on start up. How can I fix this?
Click on the Home tab on the tool ribbon. Click Set Path. Look for that folder in the list. If you see it, remove it. If tha...

4 days ago | 0

| accepted

Answered
Generate 10 numbers from matrix
To generate the numbers from random locations, without repeating any of the locations you need to use randperm(), not randi() li...

4 days ago | 0

| accepted

Answered
is an image a 2d grid or a cube
It's a question of semantics. A gray scale image is a 2-D image in that it takes 2 values (x,y) or (column, row) to refer to a ...

4 days ago | 0

Answered
how to calculate the three sphere.
You need to stack these images together into a 3-D volumetric image, and then use regionprops3() instead of regionprops().

4 days ago | 0

| accepted

Answered
is it possible to know if an alert dialog box has opened in app designer app?(testing purposes)
You can set some flag, like "inBatchMode" to true or false and then only show the warning popup message if the flag is set to fa...

4 days ago | 0

Answered
Graphing time vs velocity
You say you want 0-100 in steps of 1 for time, but you're specifying 0-1 in 0.1 increments: t=linspace(0, 1, 100); % 0-1 with 1...

5 days ago | 0

Answered
Resampling and quantization of image.
You can use imresize() and specify either a saling equally in both directions, or you can specify the exact number of rows and c...

5 days ago | 0

Answered
how to approach a for loop problem where data needs to be saved automatically after taken?
Here's snippet to save the name of a file to get you started: % Get the name of the file that the user wants to save. % Note, ...

5 days ago | 0

Answered
Recreating the curve from image graph as a matlab plot
"I have extracted the x,y coordinates " So just sort by x and plot % Scale x = rescale(x, time1, time2); y = rescale(y, 14.4...

5 days ago | 0

Answered
Removal of undesired peaks from Image Histogram
[bin_counts, bin_values] = imhist(im_scaled); % Set 254 - 255 bins to the last one before that bin_counts(254 : end) = bin_co...

5 days ago | 0

Answered
Is there a way to set side comments to hold indent amount?
You're using tabs before the %, not spaces, right? Because that will align them but of course if you make changes to the length...

5 days ago | 0

Answered
gray image app design
Try getting rid of the ax=axes line. That probably makes a new axes, which you don't need or want since you created them all al...

5 days ago | 0

Answered
how apply k-means on a n by m matrix based on rows
So you have 30 images, and for each image there are 50 measurements/features/samples or whatever you want to call the data. So ...

5 days ago | 0

Answered
Removing the unwanted portion of image and keeping the center line
What I'd do is to first identify the big stripe and use it as a mask. Then use bwareafilt() on what's left. Untested code: ho...

5 days ago | 0

Answered
How to calculate MSE for Gaussian histogram?
I'd probably do it on the original data, not the histogram meanValue = mean(noise_filt); mse = mean((noise_filt - meanValue) ....

5 days ago | 0

| accepted

Answered
I want to detect the slopes of all the lines in a pattern. Is it possible? I am new to MATLAB. Can anyone help?
That code was meant for finding the angle of just one blob. If you have multiple blobs, use regionprops() and ask for the Orien...

5 days ago | 0

| accepted

Load more