回答済み
Save an intensity image created with imagesc with true resolution
For maps of length 256 or 65536, the workaround using mat2gray()/ind2rgb() might be fine. There are things to consider. The qu...

5ヶ月 前 | 0

回答済み
Getting " Yet Another Color Gamut Visualizer" App Working
That FEX submission uses setstructfields() from the Signal Processing Toolbox. which setstructfields() -all For most practic...

5ヶ月 前 | 0

回答済み
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ヶ月 前 | 0

回答済み
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ヶ月 前 | 0

回答済み
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ヶ月 前 | 0

| 採用済み

回答済み
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ヶ月 前 | 0

回答済み
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ヶ月 前 | 0

回答済み
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ヶ月 前 | 0

回答済み
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ヶ月 前 | 0

回答済み
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ヶ月 前 | 0

| 採用済み

回答済み
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ヶ月 前 | 0

回答済み
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ヶ月 前 | 0

回答済み
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ヶ月 前 | 0

回答済み
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ヶ月 前 | 0

| 採用済み

回答済み
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ヶ月 前 | 0

| 採用済み

回答済み
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ヶ月 前 | 2

回答済み
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ヶ月 前 | 0

回答済み
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ヶ月 前 | 0

| 採用済み

回答済み
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ヶ月 前 | 1

回答済み
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 ...

6ヶ月 前 | 1

回答済み
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');

6ヶ月 前 | 0

回答済み
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...

6ヶ月 前 | 0

回答済み
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...

6ヶ月 前 | 0

回答済み
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 ...

6ヶ月 前 | 0

回答済み
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ヶ月 前 | 0

回答済み
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ヶ月 前 | 0

回答済み
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ヶ月 前 | 0

回答済み
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ヶ月 前 | 0

回答済み
How can I save a 32 bit image (uint32) as a tiff?
Here's a simple demo that should demonstrate writing odd numeric classes to a TIFF. This supports 8,16, and 32 bit signed and u...

6ヶ月 前 | 0

回答済み
Normalizing by means of zero-mean
I'm going to stick this here and close the duplicate threads. What's missing from this form of the question is that the input i...

6ヶ月 前 | 0

さらに読み込む