Question


Why does imhist() do this?
I thought I had asked this once before, but maybe it was a fever dream. It's hard to tell at this point. IPT imhist() is a c...

2 months ago | 2 answers | 3

2

answers

Answered
how to change the transparency of individual colors in the colormap of an image?
I don't have a new enough version to use bubblechart() or dig into its properties, but the behavior of plot() with RGBA tuples i...

2 months ago | 0

Answered
How to normalize an image position in a subplot?
With the exception of some particular cases (which shouldn't be relevant here), you shouldn't need to do any of that stuff with ...

2 months ago | 0

Answered
A equstion about the function CONTRAST
As far as I can see, the documentation is plainly wrong. The code is brief and obviously cannot tolerate any input with more th...

2 months ago | 1

Answered
Images are rotated counter clockwise without any reason,
Most JPG photos will have orientation metadata which will be completely ignored by imread(). You need to either manually rotate...

2 months ago | 0

| accepted

Answered
Unable to perform assignment because the size of the left side is 128-by-384 and the size of the right side is 128-by-128.
I'm guessing here, since I don't know what your images are, but it appears that they are both RGB images. In either case, you'r...

2 months ago | 1

Answered
Getting an error using writebmp (line 14) Expected X to be one of these types: logical, uint8, single, double
When I run it, it never actually gets that far without error. Index exceeds the number of array elements (65528). Error in Exa...

2 months ago | 0

Answered
Available to write/save/store a half precision as 16 bit TIFF? otherwise 32 bit TIFF?
For half, the short answer is no. The long answer is no, but even if you could, it would probably be a huge hassle for no benef...

2 months ago | 0

| accepted

Answered
How do i create and image from alpha-numeric characters?
Well it's Saturday, so I guess it's dead question time. I don't know how OP proposed to treat the mapping process as a travel...

2 months ago | 0

Answered
Convert 32 bit image to 8 bit image
@James Tursa's answer is correct, but there are tools that can do the job -- just not within IPT. MIMT imcast() is to IPT im2do...

2 months ago | 0

Answered
How to fuse multiple images while retaining the color of the original images and changing some image colors?
IPT imfuse() is not an image compositing tool. It's a simple tool for visually comparing two images. This is why everything is...

2 months ago | 2

| accepted

Answered
How to prevent plots from resizing in making GIFs
Figure out the appropriate range of x and y limits you need, and then explicitly set them using xlim() and ylim().

3 months ago | 0

Answered
How to create histograms for L a b channels separately in CIELAB color space.
Let's actually plot some histograms. I'm using fixed xlimits so that the histograms are presented consistently between images a...

3 months ago | 0

Answered
how can i blur the background?
There are several answers already. Here's the latest one. See the links therein. https://www.mathworks.com/matlabcentral/answ...

3 months ago | 0

Answered
Issue with image background substraction
First off, don't save images by taking screenshots of figures. Use imwrite(). Second, if you're going to use the IPT arithmeti...

3 months ago | 0

| accepted

Answered
Differences in image output between transparent pngs using imread
A PNG can be an indexed image with or without associated transparency data. A PNG can also be a plain grayscale (I) or truecolo...

3 months ago | 0

| accepted

Answered
Converting 32 bit to uint16
MIMT imcast() supports int32 and uint32 images, and will perform the appropriate scaling and casting in one go. % uint32 RGB im...

3 months ago | 0

Answered
How can i Blur the background of an image?
Create a mask which selects the foreground (or background). Compose the output using the mask, the original image, and a blurre...

3 months ago | 0

Answered
hai,i am using R2020a version matlab ,but i think histogram command not working in this, you can find with attached screenshot,can you path me how to solve.Thanks in advance
You named your script "histogram.m". Don't do that. Rename your script to something that doesn't conflict with the names of ex...

3 months ago | 1

Answered
Received Image Output Error
Again, look at the size of the arrays. % Reshape decoded bits to original image size at low SNR szin = size(lenna_gray,1:2); ...

3 months ago | 0

| accepted

Answered
How does matlab add transparent fonts to pictures?
I wouldn't do it that way. You'd necessarily have to binarize the input to labeloverlay() because of the way it's being used, b...

3 months ago | 0

Answered
Image Reshape Error in MATLAB
decoded_low is a logical array representing the decoded bits of a uint8 image. As a consequence, numel(decoded_low) and numel(l...

3 months ago | 1

| accepted

Answered
Index exceeds the number of array elements. Index must not exceed 1.
You have what is probably a missing .* here which is causing this to be interpreted as an indexing expression instead of arithme...

3 months ago | 1

Answered
Can the software read more precise numbers (such as decimal points)?
If you're worried about accuracy, then the answer is to stop, go back to the original data and work with it, not what appears to...

3 months ago | 1

Answered
How to manually remove the unwanted data dots or lines in a graph?
Use bwareafilt() (or maybe bwareaopen()) on the mask before creating the composite image. Composite images like this should be ...

3 months ago | 1

| accepted

Answered
How to plot a triangle with functions in matlab
Using a bunch of input() calls has to be the most tedious and cumbersome way of getting a point list, but I suppose it works. A...

3 months ago | 1

Answered
Image segmentation using thresholding
Since we're playing guessing games, here's my guess. % you might have an actual image, but all we have is a screenshot inpict ...

3 months ago | 0

Answered
How do I crop an image outside of box?
I guess I can try this in the forum editor at least. %% Step 1: Read Images % Read the target image containing a cluttered sce...

3 months ago | 0

| accepted

Answered
how to find area and volume from a .stl file?
Your STL, like many scans, is not a closed surface, and it has defects. According to admesh, it has 180 disconnected edges and ...

3 months ago | 2

Answered
how to compare answers ,which student chose it in answer sheet with answer key
Since there are no requirements at all, I choose to interpret the task in whatever way is dictated by the sum of whimsy and laz...

3 months ago | 0

Load more