Beantwortet
How to generate sinusoidal color fringes in MATLAB??
It's not clear to me how these are sinusoidal or even periodic. You can simply create an image like the one shown, but if yo...

etwa 3 Jahre vor | 1

| akzeptiert

Beantwortet
Matlab editor is not working
This seems to be common enough that other people have been bringing it up since last year. You can see if any of these threads ...

etwa 3 Jahre vor | 0

| akzeptiert

Beantwortet
searching for a line of pixels in an image
There are FEX submissions that are meant for this, but I have my opinions. This is my advice and an example of the basic appr...

etwa 3 Jahre vor | 1

| akzeptiert

Beantwortet
how do i assign a color to the same type of shape
It's no surprise OP got lost. That's an awful lot of duplicated code, unused code, and misleading variable names. I got lost. ...

etwa 3 Jahre vor | 0

Beantwortet
Background color correction of a rgb picture
This looks more like a slightly off-normal camera position and a reflective surface. Either way, you don't operate on the fal...

etwa 3 Jahre vor | 0

Beantwortet
Create a binary edge image of Malards.jpg using only the red channel of the image. Obtain the binary image with all edges that are stronger than 50 using Roberts edge detecti
The output of edge() is already a binary image (class 'logical'). There's no need to use imbinarize() on it.

etwa 3 Jahre vor | 0

Beantwortet
Change Hair Color and apply the one picked by user
I didn't think about using histogram matching for that. MIMT imrecolor() was never made for this sort of thing, but I've been d...

etwa 3 Jahre vor | 0

Beantwortet
how to change rgb to [ Hue1, Hue2, Sat1, Sat2, Val1, Val2 ]
The question is either incomplete or malformed; I can't tell which. You're asking how to change an RGB image to a range of HSV ...

etwa 3 Jahre vor | 0

Beantwortet
I want to code an image stabilizer but when I try to copy an RGB image to a m*n*3 zeros matrix and display it I get a weird result.
Since the expected scale of image data depends on the class of the array, you need to make sure that the array is the appropriat...

etwa 3 Jahre vor | 0

| akzeptiert

Beantwortet
Error IMBLEND: unsupported class for FG?
I guess the @ notification didn't work here. For passers-by, I'm pretty sure this problem had been caused by a missing file. ...

etwa 3 Jahre vor | 0

Beantwortet
Changing Background Color of a JPG to Black (RGB)
I don't know that this actually answers the original need, but it's comfortably too late for any of that to matter. Without kno...

etwa 3 Jahre vor | 0

Beantwortet
Replicate a colormap in MATLAB
I am not even remotely familiar with POV-ray, so I have no expecations or any way to verify this. That said, this is what it lo...

etwa 3 Jahre vor | 1

Beantwortet
How to remove distortions from an image which is imported in MATLAB as a matrix of pixel values (as a file.MAT)?
Alternatively, if you don't have CVT, and you're not processing many images, you could use fitgeotrans() and imwarp(). This i...

etwa 3 Jahre vor | 0

Beantwortet
Using colormap to graph function of three variables
Depending on what things look like, you might be able to get away with a colormapped scatter plot. That said, I think it's diff...

etwa 3 Jahre vor | 0

Beantwortet
Create random parallel black lines in a white box until tis filled
The lines you're drawing are 2px wide, so the inner loop will never be satisfied once the only remaining stripes are 1px wide. ...

etwa 3 Jahre vor | 0

| akzeptiert

Beantwortet
How can I produce such an image?
When given a single-channel intensity image, imagesc() will render it in pseudocolor using the current axes colormap. Unless th...

etwa 3 Jahre vor | 1

Beantwortet
Open figure in editor instead of in new window
If you're asking how to programmatically dock the figure, you can set its 'windowstyle' property. In order to create a new empt...

etwa 3 Jahre vor | 1

Beantwortet
Can i get 12 different colors for 12 different variables in matlab? So far I could only get 6 colors because i don't know the values for the other colors:
I'm not really sure what you're asking for or why. The thing you have is a set of repeated pairs. The thing you're asking for ...

etwa 3 Jahre vor | 1

| akzeptiert

Beantwortet
Determining orientation of grains based on EBSD color map
I only ever did enough crystallography studies that I could answer a few leftfield questions on an interdisciplinary exam. I ha...

etwa 3 Jahre vor | 1

Beantwortet
How to code this pixel art in matlab?
This is a good use for indexed color. % define the colors you want to use % these colors should be unit-scale (scaled WRT [0...

etwa 3 Jahre vor | 0

Beantwortet
I would like to plot several histograms in 3D using Matlab like in the below figure. Does anyone have any suggestions?
I could have sworn I'd posted an answer to a similar problem, but maybe I'm dreaming. Here's one way of doing it with bar3(). ...

etwa 3 Jahre vor | 1

Beantwortet
How to use bar() function in MATLAB to display histogram count as a bar graph?
Is there a particular reason we're avoiding imhist()? inpict = imread('cameraman.tif'); % you could use histcounts() and bar...

etwa 3 Jahre vor | 0

Beantwortet
Is there any plot function that perform a plan view of bar3?
This sounds like a use for imagesc(). While surf()/pcolor() associate the data values with the vertices, image()/imagesc() asso...

etwa 3 Jahre vor | 0

Beantwortet
How to collage images in a folder
That really depends on what "collage" means, but I'm going to guess that this answer is a good place for any passing readers to ...

etwa 3 Jahre vor | 0

Beantwortet
How to combine desired cropped image to another image?
Here's a start. In this example, the white region in the FG image is removed using a very crude one-sided S threshold. This ...

etwa 3 Jahre vor | 0

Beantwortet
Share your favorite snippet or utility
For some reason, I can never remember the name of the lookfor() function, and looking for the lookfor() function is a pain when ...

etwa 3 Jahre vor | 0

Beantwortet
How do I generate a given Matrix in one command?
I can't believe that everyone has missed the obvious solution! rng(46783490); randi([0 1],5,5) so simple!

etwa 3 Jahre vor | 1

Beantwortet
Colormap and color wheel from CIELAB colour space
I've read this a couple times, and the task reads as if it's either silly or nontrivial, but I can't tell which. Creating "a co...

mehr als 3 Jahre vor | 0

Beantwortet
How to do image fusion in matlab?
"Fusion" is one of those generic words like "overlay" that seem to be used with a degree of specificity that is matched by an in...

mehr als 3 Jahre vor | 0

Beantwortet
How do I make an image of numbers using imagesc? Change values in the matrix?
I'm going to change a few things, but I think you can fill in the gaps. As background, any matrix can be considered an image, b...

mehr als 3 Jahre vor | 0

| akzeptiert

Mehr laden