Respondida
counting vowels then removing them from a txt file
Sounds like homework. Here's a hint for how you can read in each line, one line at a time. % Open the file for reading in text...

más de 3 años hace | 0

| aceptada

Respondida
How can I delete the part of the image if the black area exists in the image?
Try this: % Demo by Image Analyst clc; % Clear the command window. close all; % Close all figures (except those of imtool...

más de 3 años hace | 0

Respondida
How to filter noise in a 3D structure/data array?
It looks as though you might be able to just get rid of all points where z is higher than 0.95 badRows = z > 0.95; z(badRows) ...

más de 3 años hace | 0

Respondida
Build process is unable to use the Icc compiler
I've never heard of "sont support". It looks like you misspell things a lot. So I'd pay attention to what it says about the fo...

más de 3 años hace | 0

Respondida
How To: create bare-bone tiny window attached to figure, no GUI
Try creating a scroll panel. See attached zoom demo.

más de 3 años hace | 0

Respondida
How can we explain number of image features changing as the locations of image partitions are changed?
Depends on what you're measuring. If your feature is just the mean and standard deviation of the gray levels, you'll get those ...

más de 3 años hace | 0

Respondida
I want to create an if loop inside multiple if loops that are already present
Not sure what you have: a for loop or multiple if/else blocks. An "if" block is not called a loop because it does not loop/iter...

más de 3 años hace | 0

| aceptada

Respondida
Matlab is automatically downloading files from onedrive and I cannot stop it
OneDrive is normally the master location for your files. That means that the file normally lives in the cloud only, not locally...

más de 3 años hace | 1

Respondida
Merge two 3D masks
Try this: tumor_mask(tumor_mask == 1) = 50; tumor_mask(tumor_mask == 2) = 60; tumor_mask(tumor_mask == 4) = 70; combinedLabe...

más de 3 años hace | 0

Respondida
How to count number of blobs
OK, maybe my last answer was too advanced for you. Here is a simpler way. Just threshold, get rid of the background, and get t...

más de 3 años hace | 0

Respondida
How do I remove every row that has a zero in it?
Try this: % Check which rows have a zero in one or more columns: zeroRows = any(TSLA == 0, 2); % Logical index. Equals true i...

más de 3 años hace | 1

Respondida
Error: Function definition are not supported in this context. Functions can only be created as local or nested functions in code files.
You have your m-file something like this function [mvnx] = load_mvnx('New-Session-002'); % code end % of load_mvnx % Now scr...

más de 3 años hace | 0

Respondida
Subscript indices must either be real positive integers or logicals.
See the FAQ: https://matlab.fandom.com/wiki/FAQ#%22Subscript_indices_must_either_be_real_positive_integers_or_logicals.%22

más de 3 años hace | 0

Respondida
how to get RGB data from image object generated by imagesc()?
rgbImage = ind2rgb(X, colorMap);

más de 3 años hace | 0

Respondida
The training images are of size 224×224×3 but the input layer expects images of size 224×224×1.
You should write a little script to convert all of your images to gray scale and save them in a different folder so you don't ov...

más de 3 años hace | 1

Respondida
Non-pixelized image using imagesc (or alternatives)
However you created that image, you simply need to create it with more pixels. You can use imresize and then blur it, but it wo...

más de 3 años hace | 0

Respondida
How to use 1D projections to reconstruct an image?
This is essentially what CT does. You need to do filtered back projection. Study up on CT and find out how to use the inverse ...

más de 3 años hace | 1

Respondida
add error for when input is not integer
uiwait(errordlg('Error! You must enter an integer (a numerical digit)'));

más de 3 años hace | 0

Respondida
Graphing a Histogram for Simulation
How is it a distribution? You're not doing a Monte Carlo - you're not getting random numbers. Not sure what that function is. ...

más de 3 años hace | 0

Respondida
MATLAB help 2D convolution
Try this: function output_image = my_convolution(image1, filter) [Gmag,Gdir] = imgradient(image1, 'sobel') output_image = GMa...

más de 3 años hace | 0

Respondida
How to count number of blobs
I don't know why all novices think that just because you can see edges in the image, that edge detection is automatically the fi...

más de 3 años hace | 0

Respondida
How can I color an image?
I don't think kmeans is a good way to segment a color image. I attach a demo as proof. You'd be better off using discriminant ...

más de 3 años hace | 1

| aceptada

Respondida
classifying images based on their object measurement properties and labeling them as such, how can I do this?
As an example, see my Image Segmentation Tutorial in my File Exchange: Image Analyst's File Exchange It's a generic, general p...

más de 3 años hace | 0

| aceptada

Respondida
Finding a double in the workspace by name and assigning it to a new variable
"They are named: "p100", "p101", "p102", "p103", etc. " Well that's your biggest mistake. Don't do that. Use an array. Why n...

más de 3 años hace | 0

Respondida
The graph basic fitting tool accepts a matrice but not the polyfit function... How to do the same thing in a script ?
Try this: % Optional initialization steps clc; % Clear the command window. close all; % Close all figures (except those o...

más de 3 años hace | 0

| aceptada

Respondida
I have used following code to segment a fundus image but the results are not very clear. The test4.jpeg fill is the original fundus images that I have used .please help
Try https://www.mathworks.com/matlabcentral/fileexchange/49172-trainable-cosfire-filters-for-curvilinear-structure-delineation-...

más de 3 años hace | 0

Respondida
Why is ocr not working in this case
ocr() has lots of options. Try experimenting wtih them.

más de 3 años hace | 0

Respondida
extend prediction bounds curves
I'd just use polyfit() to get the equations that fit your data. Once you have that equation, you can get values anywhere you wa...

más de 3 años hace | 0

Respondida
finding edge/ plot from image/ maze
I'd try using indexedImage = rgb2ind(rgbImage, 8); to get an indexed image. Then find out the index for each color and ignor...

más de 3 años hace | 0

Cargar más