Réponse apportée
how does this code make sense?
I'm not really sure if the answer you're getting is the answer you want or if you just want an explanation of why you're getting...

environ 4 ans il y a | 0

| A accepté

Réponse apportée
How to create a double scale of units in figures?
Since R2019b, you should be able to use a method similar to this example to create the secondary x and y axes: https://www.math...

environ 4 ans il y a | 0

Réponse apportée
How to create an RGB image?
If all you're after is a uniform colored field, it can be rather simple. You don't have to get stuck trying to intuit your way ...

environ 4 ans il y a | 1

Réponse apportée
How to create rgb image in matlab?
I figure if hundreds of people come here every month looking for the answer to an incredibly vague question, it's about time som...

environ 4 ans il y a | 3

Réponse apportée
How to make salt pepper noise own code
This is the way that MIMT imnoiseFB() does it when in fallback mode. This will replicate the behavior of IPT imnoise(). Note t...

environ 4 ans il y a | 0

Réponse apportée
Image processing glass quality control, my code isn't working good
I'm going to take a shot in the dark and assume that the image difference is such that the result is getting truncated. Normall...

environ 4 ans il y a | 0

Réponse apportée
How can I separate objects with one pixel connected after bwlabel
Depending on what the rest of the blobs look like, this may be one way. % fix the image and return it to what I assume the orig...

environ 4 ans il y a | 1

| A accepté

Réponse apportée
'jet' countour plot over grayscale image
This is easier than everyone is making it. You can avoid the necessity for two colormaps by simply expanding the single-channel...

environ 4 ans il y a | 1

Réponse apportée
How to use logic operators in Image Processing
This should be a start. % read the image A = imread('cameraman.tif'); % quantize intensity G2 = bitand(A,uint8(128)); G...

environ 4 ans il y a | 1

Réponse apportée
how to make yellowish image
What's being performed here is a 'screen' type blend between the image and a color overlay. I'm sure there's an unspoken proble...

environ 4 ans il y a | 0

Réponse apportée
I convolve two images but doesn't work can you help me.
There is no convolution happening here. You didn't include either image, so I don't know if a mismatch of channels is also caus...

environ 4 ans il y a | 0

Réponse apportée
How can i display I of YIQ from a jpg image?
The assignment text doesn't make any sense. The logical AND of Y and I or Y and Q isn't anything useful -- and it's certainly no...

environ 4 ans il y a | 1

| A accepté

Réponse apportée
How to Overlap two maps extracted from two methods?
Depending on what your background image is and how you are going to locate the images atop each other, this may be a start: loa...

environ 4 ans il y a | 0

| A accepté

Réponse apportée
how can i check that my image is rgb
Everyone neglects images with alpha. I doubt anyone really cares, since nothing in MATLAB/IPT naturally produces RGBA images or...

environ 4 ans il y a | 0

Réponse apportée
Overlay image on top of image
As always, "overlay" can mean a number of things. For the purposes described, I'm assuming that this is a basic image blending/...

environ 4 ans il y a | 4

Réponse apportée
how to create a string variable with specified color?
A string or char doesn't have a color. If you're talking about putting a text object in a figure, you could do that. mywords...

environ 4 ans il y a | 0

| A accepté

Réponse apportée
Matching histogram between an image with reference histogram from excel data
If you have an image and you need it to match a histogram, use histeq(). That's what imhistmatch() does internally. It simply ...

environ 4 ans il y a | 0

Réponse apportée
How to make an image straightener like that of cam scanner app?
Dead post, I know, but you can use image transformation tools like imwarp() to do the perspective correction. A = imread('htt...

environ 4 ans il y a | 4

Réponse apportée
Edge detection using Convolution
What exactly is throwing that error? That's not an error from conv2(). Is this a part of something that's being auto-graded? ...

environ 4 ans il y a | 0

Réponse apportée
How to plot a dot as a sphere like those in OriginLab?
There isn't such an option for plot() or scatter() objects: https://www.mathworks.com/help/matlab/creating_plots/specify-line-a...

environ 4 ans il y a | 0

| A accepté

Réponse apportée
How to repair the vertical lines ?
Not sure what features of the image are important, so I'll just throw this simple approach out there. A = imread('https://www...

environ 4 ans il y a | 1

| A accepté

Réponse apportée
Using 2 nested for loops: Evaluate each pixel's R,G,B value : If the pixel's R value is greater than the user's threshold value for Red, set that value = to threshold instead
In practice you wouldn't use a loop at all. A = imread('peppers.png'); maxthresh = uint8([100 150 200]); % [R G B] B = mi...

environ 4 ans il y a | 0

| A accepté

Réponse apportée
Color map from green to red
This is how one might go about getting the exact colormap shown in the image and make a symmetric version of it. A = imread('gy...

environ 4 ans il y a | 1

Réponse apportée
I have a jpg image of a wetland using RGN filter and would like to determine the % "colour" from this image. Any ideas? I'm very much a novice.... Thanks!
This isn't too far from what Yanqi Liu posted, but I'll throw this out there. A = imread('marsh.jpg'); A = im2double(A); [R G...

environ 4 ans il y a | 0

| A accepté

Réponse apportée
Is it possible to resize image without changing its total number of pixels?
Maybe something like: A = imread('cameraman.tif'); [h w] = size(A); % [256 256] imshow(A,'xdata',[1 w]/2,'ydata',[1 h]/2) ...

environ 4 ans il y a | 1

Réponse apportée
Increase the brightness of an image
While simple addition is probably the best answer, there are also various tools that may be used to accomplish simple adjustment...

environ 4 ans il y a | 0

Réponse apportée
how to convert grayscale image to RGB image
Depending on what the goals are, there are various ways to interpret the question. The following link includes demonstrations o...

environ 4 ans il y a | 0

Réponse apportée
convert grayscale to rgb
Depending on what the goals are, there are various ways to interpret the question. The following link includes demonstrations o...

environ 4 ans il y a | 0

Réponse apportée
How to set the hue and saturation value in hsv color model.
I doubt this question needs to be solved anymore, but it brings up an issue that's easy to miss. In general, when someone ask...

environ 4 ans il y a | 0

Réponse apportée
How do I specify the color data as numeric or logical value?
I'm going to have to assume that freq or 1./freq are complex-valued. The arguments to image()/imagesc() need to be real-valued....

environ 4 ans il y a | 0

Charger plus