Réponse apportée
How could I display a "circle at the bottom of the figure? And color it along the way? To show Hue angles?
The problem that I'm seeing with the answers so far is that they're not going to be projected correctly into the color space in ...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
How can i convert a picture from normal form in this art form ?
Dead post, I know. As its original name implies, MIMT was built around the destructive conversion of referential image content...

plus de 4 ans il y a | 0

Réponse apportée
How to replace all nan values in an image to 255 different colors
Depends what your needs are. If I assume that your image is an RGB color image to begin with, and that you want colors picked s...

plus de 4 ans il y a | 0

Réponse apportée
Restoration of damaged lines in image processing
For a shape like that, it's pretty easy to get smooth results once you move to polar coordinates. A = imread('https://www.mathw...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
Writing a vector with randi and extract the elements in another variable
This will give you a logical mask describing the location of elements within the closed interval [50 70]. You can call it what ...

plus de 4 ans il y a | 1

| A accepté

Réponse apportée
Is there any way to determine when a function was removed from MATLAB?
The current incarnation of when() with is on the FEX: https://www.mathworks.com/matlabcentral/fileexchange/97272-a-slightly-mor...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
How to programmatically find the number for the latest MATLAB release?
I ended up sticking with mostly the same code. I've since added persistence to avoid the network access penalty. The URL has s...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
Loop to get mean and max of multiple variable arrays
Here's a couple simple examples: % let's assume all the columns are the same size % a numeric array should suffice allcars = ...

plus de 4 ans il y a | 0

Réponse apportée
Remove pixel whose value is below given threshold
Here's another silly answer based on my last two comments. In this case, we're accepting minor local distortion in order to sif...

plus de 4 ans il y a | 0

Réponse apportée
Angle recognition of objects in the image
This might be a start. This uses the Hough transform tools from IPT. A = imread('https://www.mathworks.com/matlabcentral/answe...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
Remove pixel whose value is below given threshold
Alternatively, this is an extension from my comment above. If image content preservation is not important, the images can be re...

plus de 4 ans il y a | 0

Réponse apportée
Remove pixel whose value is below given threshold
If you're trying to automatically crop borders off an image, you might be able to use the comments from ImageAnalyst and myself ...

plus de 4 ans il y a | 0

Réponse apportée
color map with 3 columns of data (x,y,z)
If you're trying to work with scattered data, you can possibly use griddata() and pcolor(). N = 50; % number of data points xy...

plus de 4 ans il y a | 1

| A accepté

Réponse apportée
GUI - Add ticks to slider bars and add hue color space to slider bars
Attached is a script that creates a GUI with three HSV sliders and a basic CBF template. The sliders have tick labels, but no t...

plus de 4 ans il y a | 1

Réponse apportée
I want to measure the diameter of the circle using image.
This should be a start a = imread('https://www.mathworks.com/matlabcentral/answers/uploaded_files/910160/21.jpg'); c = rgb2gr...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
convert RGB to YUV and convert YUV to RGB
I just realized that you're probably talking about YCoCg or YCoCg-R. That should be losslessly invertible (since all factors ar...

plus de 4 ans il y a | 1

Réponse apportée
Counting the number of intersects between a circle and a binary image
If your shapes can be represented as two logical images, then the solution is to simply count the intersecting regions instead o...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
I need to add color shapes to dose distribution images
You can do this a couple different ways. One way would be to use a transparent contour object over an image. Getting alpha sup...

plus de 4 ans il y a | 0

Réponse apportée
How can I delete 10% random Selected Index from array without changing shape in Matlab
Numeric arrays cannot have "holes" in them. If you want to omit data, you either have to replace it with some value that preven...

plus de 4 ans il y a | 0

Réponse apportée
Loop with "for" and "if" and then a scatter with different colors
Consider the example % placeholder data x1 = rand(100,1); x2 = rand(100,1); y1 = randi([0 81],100,1); mask = y1<10; % cre...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
i want to plot a square root function
I'm assuming that this is what you were going for: x = 0:0.01:3; y = 100./sqrt(1-(2./x).^2) plot(x,y) Though note that the o...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
Trying to use patch to fill between two lines but no shading due to empty double row vector?
That's because there is no x-value at that location due to its step size. See the comment on the prior question.

plus de 4 ans il y a | 0

Réponse apportée
My assignment asks to check compatibility of input and return an empty [ ] if not compatible. One of the input argument must be a column vector. can you please kindly explain
Since you haven't said what "compatibility" entails, I'm going to assume that all you need is to test the orientation of one arg...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
Is it possible to change solid fill to lines for patch and set limits to patch?
You should be able to just limit the range used for drawing the patch object % V ideal y = 0:10:35000; x = 0:.01:0.9; y = 14...

plus de 4 ans il y a | 0

Réponse apportée
How to find the coordinate defect location in image any document to refer? Please help I am fyp student in mechanical engineering
I'm going to assume that the attached image is the mask derived from x and y. [mask map] = imread('https://www.mathworks.com...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
I want to attach two images.
If the adjacent dimensions of the arrays match, they can be concatenated. A = imread('cameraman.tif'); % a picture B = imcompl...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
How can I center the ColorBrewer colors around 0?
This doesn't have anything to do with the particular colormap. This has to do with the fact that the colorbar limits are not cen...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
Separation of rice grains . I want to separate out the grains that are darker in the image.
Segmentation might be a bit easier with a bit of a diffuser to deal with the bg. The median filter (or just downscaling the ima...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
How can I find the major/minor axis length of each grain with grain number. I am not able to display the length and area.
You haven't said what you actually want when you mention displaying the properties. I'm going to assume that some sort of text ...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
How can I calculate the average HSV value of each rice grain in the main. And also how to display them with the rice grain no. ?
This is probably the same thing: https://www.mathworks.com/matlabcentral/answers/1646895-how-to-extract-color-parameters-of-eac...

plus de 4 ans il y a | 0

Charger plus