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

más de 4 años hace | 0

| aceptada

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

más de 4 años hace | 0

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

más de 4 años hace | 0

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

más de 4 años hace | 0

| aceptada

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

más de 4 años hace | 1

| aceptada

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

más de 4 años hace | 0

| aceptada

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

más de 4 años hace | 0

| aceptada

Respondida
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 = ...

más de 4 años hace | 0

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

más de 4 años hace | 0

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

más de 4 años hace | 0

| aceptada

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

más de 4 años hace | 0

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

más de 4 años hace | 0

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

más de 4 años hace | 1

| aceptada

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

más de 4 años hace | 1

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

más de 4 años hace | 0

| aceptada

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

más de 4 años hace | 1

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

más de 4 años hace | 0

| aceptada

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

más de 4 años hace | 0

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

más de 4 años hace | 0

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

más de 4 años hace | 0

| aceptada

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

más de 4 años hace | 0

| aceptada

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

más de 4 años hace | 0

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

más de 4 años hace | 0

| aceptada

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

más de 4 años hace | 0

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

más de 4 años hace | 0

| aceptada

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

más de 4 años hace | 0

| aceptada

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

más de 4 años hace | 0

| aceptada

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

más de 4 años hace | 0

| aceptada

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

más de 4 años hace | 0

| aceptada

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

más de 4 años hace | 0

Cargar más