Answered
Adjusting Y-Values in Histograms
The reason that the bar heights have discrete values is simply that the height represents an underlying integer count, and you h...

5 months ago | 0

Answered
How to save an image without axis or white space?
First things first, unless you need to include other graphical objects (lines, markers, annotations) in the image, save images u...

5 months ago | 0

Answered
Make a plot with gradient shaded confidence intervals
Look into how to configure patch() objects: https://www.mathworks.com/help/matlab/ref/matlab.graphics.primitive.patch-propertie...

5 months ago | 0

| accepted

Answered
How to read JPEG image in 12 bit or 16 bit format??
I've tested this in older versions, so it should have been fine in 2013. See https://www.mathworks.com/help/matlab/ref/imread....

5 months ago | 0

Answered
Convert an 8 bit image to 12 bit
MIMT imcast() does this sort of rescaling without needing to jump through hoops. % a properly-scaled image of any class inpic...

5 months ago | 0

Answered
How to read '.webp' image file
@Sven's workaround is still about the only thing there is. I just added a simple pair of tools to MIMT to read and write WEBP u...

5 months ago | 0

Submitted


Image Manipulation Toolbox
MATLAB Image Manipulation Toolbox

5 months ago | 206 downloads |

Thumbnail

Submitted


Image blending functions
Image blending and compositing tools from MIMT

5 months ago | 19 downloads |

Thumbnail

Submitted


Colorspace Conversion Tools
Image conversion tools from MIMT

5 months ago | 11 downloads |

Thumbnail

Submitted


Tools to read and write animated gif files
Tools from MIMT to read/write multiframe GIFs

5 months ago | 6 downloads |

Thumbnail

Answered
histogram
I know it's over a decade late, but of the two lines of code given, neither make any sense. Maybe the ridiculousness explains w...

5 months ago | 0

Answered
How to fix a limit between 2 combined colormaps?
Get out of the habit of generating colormaps without specified lengths. If you use implicit lengths, you can easily wind up wit...

5 months ago | 0

| accepted

Answered
How to manually adjust contrast of Image and then Display (percent Contrast)
I'm not really sure from what context the term "percent contrast" was taken here. It seems like it's referring to the arbitrary...

5 months ago | 0

Answered
how to scramble pixels of specific part of image
Consider the example: % an image inpict = imread('peppers.png'); % generate a mask using any appropriate method % see also...

5 months ago | 0

Answered
Index exceeds matrix dimensions. Error in gtc21 (line 21) outputBits = mod(sum(shiftedValues(generatorPolynomials)), 2);
Since you gave us no information, then the error message itself tells you everything that you could be told. In whatever file g...

5 months ago | 0

Answered
how to open image .mhd
I don't know about the format, but here's a start. That should give you a volumetric image. Note that the data range is very n...

5 months ago | 0

| accepted

Answered
Converting a color image into a set of data
I've posted a number of demos on estimating data from a pseducolor image, including thermal images. You need a clean pseudocolo...

5 months ago | 0

| accepted

Answered
uiimage introduces artifacts? How to fix?
Interesting that this had already been reported before I reported it as a bug. The reason for these artifacts is simple. When...

5 months ago | 2

Answered
Making an X ray image out of x, y, z coordinates ERROR
The data probably isn't being picked up by textscan() because of the way the delimiter is being specified. If there aren't othe...

5 months ago | 0

Answered
How to transfer color and texture of an image to another image?
There are no MATLAB tools that will do good blind transfer of color themes, let alone textures. There are examples of technical...

5 months ago | 0

| accepted

Answered
How do I eliminate (minimize) display quantization with imshow?
I don't really know why the renderer would change it that significantly, but maybe it depends on settings or drivers I don't hav...

5 months ago | 1

Answered
please explain the function of each command used in this code. These commands are part of allan variance code.
zeros() numel() sum() sqrt() https://www.mathworks.com/help/matlab/matlab_prog/matlab-operators-and-special-characters.html ...

5 months ago | 1

Answered
Fill confidence band hexadecimal color
Didn't recall that working either. X = [0 0 1 1]; Y = [0 1 1 0]; fill(X,Y,'','facecolor','#7E2F8E');

5 months ago | 0

Answered
How to calculate standard deviation from ROI of image after thresholding?
You have the pixel values, so you can just use those. % a grayscale image inpict = imread('cameraman.tif'); % an antialiase...

5 months ago | 0

Answered
How can i change the font size of XTick and YTick (x axis and y axis) in histogram of a image?
Other than manual editing, none of these answers work as simply as suggested. The reason is that imhist() creates two axes obje...

5 months ago | 0

Answered
A problem in using imhist to display histogram of indexed image
This is a bug that's been part of imhist() for a very long time. When fed an integer-class indexed image, the colorbar will be ...

5 months ago | 0

Answered
Make only the highest values of grayscale image transparent
I'm going to assume that the goal is to combine two images of the same page geometry and then save the result. If the end goal ...

6 months ago | 0

Answered
Matrix of fading colors
Loops aren't needed. % don't embed parameters into the code outsize = [256 256]; % [y x] % i'm assuming we live prior to R2...

6 months ago | 0

Answered
Reading image into 16 bit signed int
There's no elegant and succinct way of doing this with base tools alone, considering that you'll potentially need to support mul...

6 months ago | 0

Answered
how to convert a monochrome image of depth 24 bits into a monochrome image of depth 8 bits ?
Here's a more comprehensive example which should handle both unsigned and signed integers. Attached are two demo images. One i...

6 months ago | 0

Load more