Answered
GammaCorrection/ White balance
Considering that we're talking about the Photoshop curves tool, imadjust() does simple power-law gamma adjustment without the ne...

2 years ago | 0

Answered
How to white balance the each RGB components of an image?
I'm bored on a sunday night, so I'm just going to throw this here. I don't really ever have need for auto white balancing, but ...

2 years ago | 1

Answered
reverse of bwmorph(BW, 'skel' )
Here's another idea using distance transform and watershed(). This uses the same blob and skeleton as in my prior comment. % a...

2 years ago | 0

Answered
help Adaptive median filter !!
This answer discusses and provides a link to an implementation of a similar adaptive median filter: https://www.mathworks.com/m...

2 years ago | 0

Answered
removing up and down spikes from a surface
It would help to have an example of the data to know what the ranges look like. At first glance, I might try to throw an adap...

2 years ago | 0

Answered
How can I find a path for each letter containing a list of x and y values?
If you're trying to vectorize text, and aren't terribly concerned with the font, you could just start with text that's already i...

2 years ago | 0

Answered
How to Apply Jet Colormap to Montage?
There are two places where color tables are used: indexed color images (direct colormapping) pseudocolor representations of a...

2 years ago | 1

| accepted

Answered
Rotate one image and plot on top of another
Since the images are the same size, this can be done with a simple blend, without the need for any compositing. % reading in ...

2 years ago | 0

| accepted

Answered
Save 2D double arrays as 3-channel png files (RGB)
The file double2rgb() does not do the same quantization as pcolor()/imagesc() will with CDataScaling = 'scaled'. Consider this ...

2 years ago | 1

Answered
how can we represent a pixel to a character in image ?
To convert to unit-scale: im2double() normalizes the image with respect to black and white mat2gray() normalizes the image wit...

2 years ago | 1

Answered
Extract part from an RGB image based on the obtained pixel locations.
"Extract" tends to be a word that gets used in ways that make it difficult to know what anyone means when they use it. Here are...

2 years ago | 1

| accepted

Answered
Is it possible to code png's similar to a grid?
The question is a bit unclear, but maybe this is something in the right direction: % some images [fg,~,fga] = imread('sadberry...

2 years ago | 2

Answered
Extract RGB from an Image and fit to color legend values in MATLAB
There are a number of examples of doing this. Here's another. % another crusty JPG of a questionable plot inpict = imread('ht...

2 years ago | 0

| accepted

Answered
How to remove annotations in an image
Using manual selection is one way. I'm going to try to do this programmatically. % this is an indexed-color image [inpict CT...

2 years ago | 0

Answered
aligni to the center character string in array cells
So it's either a string array or a cellchar. In either case it has some unknown amount of whitespace on at least one side. It'...

2 years ago | 0

Answered
why I use imread fuction this photo not RGB array?
It's an indexed-color image. If you want it to be RGB, you can convert it. % this is an indexed image and its corresponding co...

2 years ago | 0

| accepted

Answered
How can I track these fine particles?
Here's one idea. I'm sure there are better ways. It really depends which specks are necessary. With the limited depth of fiel...

2 years ago | 1

Answered
Removing white space when using axis equal
I'm going to guess that this is relevant: https://www.mathworks.com/help/matlab/creating_plots/save-figure-with-minimal-white-s...

2 years ago | 0

Answered
How to smoothen or interpolate an array of data if I cut out some parts of it?
I don't know why nobody has mentioned fillmissing() or other inpainting tools. load data.mat % pick a region to inspect i...

2 years ago | 0

Answered
Convolution of two curves
If you read the video description, there's a link to the animation script. https://github.com/umarkhan353/SP_MATLAB_IntellCity ...

2 years ago | 0

Answered
How to resize imtool window?
Set the figure properties as you choose. inpict = imread('peppers.png'); hi = imtool(inpict,'initialmagnification',200); se...

2 years ago | 0

Answered
Finding pixel numbers for certain colors
That depends entirely on how you want to make the distinction between "red" or "blue" and colors which are in-between, because t...

2 years ago | 0

| accepted

Answered
Displaying alpha values written into an image file
MATLAB has no image viewer which can conveniently handle isolated display of transparent images. If you try to display the imag...

2 years ago | 0

Answered
Matlab jokes or puns
(cough) yeahah what('is love')

2 years ago | 0

Answered
How to convert stance image from index to grayscale
No, don't use BT709 luma. No, don't discard columns from the colormap. If you're using IPT ind2gray(), just use ind2rgb(). ...

2 years ago | 1

Answered
How to delete inserted shapes via user interface
Why is this a ridiculous idea? The output of insertShape() is a raster image. There aren't shape objects to select. There's n...

2 years ago | 0

Answered
Issue with generating a sine wave via linspace and colon
You're trying to draw a sine wave with a frequency 30x higher than your sampling rate. The output is nothing but aliased nonsen...

2 years ago | 2

| accepted

Answered
Can someone help me with changing colors on insertShape function??
Both CVT insertShape() and insertText() differ from most other IPT/base MATLAB tools, in that the color tuples/tables they accep...

2 years ago | 0

Answered
How to know the pixel size(width, length, height)
If this data came with an associated header file, then things like scaling info should be there. Considering the stack from o...

2 years ago | 0

| accepted

Answered
Problem with 'InsertShape'?
Well, unless I'm missing something regarding intended usage, that's a bug. % a blank image with the same geometry as OP's image...

2 years ago | 0

Load more