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

etwa 4 Jahre vor | 0

| akzeptiert

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

etwa 4 Jahre vor | 0

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

etwa 4 Jahre vor | 1

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

etwa 4 Jahre vor | 3

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

etwa 4 Jahre vor | 0

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

etwa 4 Jahre vor | 0

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

etwa 4 Jahre vor | 1

| akzeptiert

Beantwortet
'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...

etwa 4 Jahre vor | 1

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

etwa 4 Jahre vor | 1

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

etwa 4 Jahre vor | 0

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

etwa 4 Jahre vor | 0

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

etwa 4 Jahre vor | 1

| akzeptiert

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

etwa 4 Jahre vor | 0

| akzeptiert

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

etwa 4 Jahre vor | 0

Beantwortet
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/...

etwa 4 Jahre vor | 4

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

etwa 4 Jahre vor | 0

| akzeptiert

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

etwa 4 Jahre vor | 0

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

etwa 4 Jahre vor | 4

Beantwortet
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? ...

etwa 4 Jahre vor | 0

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

etwa 4 Jahre vor | 0

| akzeptiert

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

etwa 4 Jahre vor | 1

| akzeptiert

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

etwa 4 Jahre vor | 0

| akzeptiert

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

etwa 4 Jahre vor | 1

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

etwa 4 Jahre vor | 0

| akzeptiert

Beantwortet
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) ...

etwa 4 Jahre vor | 1

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

etwa 4 Jahre vor | 0

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

etwa 4 Jahre vor | 0

Beantwortet
convert grayscale to rgb
Depending on what the goals are, there are various ways to interpret the question. The following link includes demonstrations o...

etwa 4 Jahre vor | 0

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

etwa 4 Jahre vor | 0

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

etwa 4 Jahre vor | 0

Mehr laden