Answered
How to find a polygon in an image
This is largely assembled from existing examples. I'm sure we can find a way to break it, but this image is pretty forgiving. ...

2 years ago | 0

Answered
Imfuse 'blend' issues
Like most cases, I don't see the point of using imfuse() here. If you're treating the images as if they're binarized, make sure...

2 years ago | 0

Answered
Bluewhitered function in tiledlayout environment
Unlike other map generators, bluewhitered() depends on the caxis of the current axes. You need to generate the map after you se...

2 years ago | 1

| accepted

Answered
How can i change ppm image resolution when I using Imread?
Good gravy. I finally figured out what you're doing. You're writing your PPM files using 'maxvalue' set to 1023. This is wh...

2 years ago | 2

| accepted

Answered
error
We know the following: You get a warning that a specific user-created (or downloaded) filename is preventing the use of a built...

2 years ago | 0

Answered
how to get the pixel value of histogram?
You have the bin values. You know which bins you want. Why are you zeroing the histogram counts instead of changing the image?...

2 years ago | 0

Answered
Make an image darker with overlay of another image
If your images are in standard scale (i.e. correctly scaled for their class), then I don't see why you'd be using imagesc() to d...

2 years ago | 0

Answered
Coor image enhancement in spatial domain
"Enhance" is shorthand for "read my mind and do whatever it is that I want but haven't spent enough thought to formally conceive...

2 years ago | 0

Answered
Drag histogram to adjust contrast
You're asking for a graphical image adjustment tool while simultaneously asserting that you can't use the extant ones because yo...

2 years ago | 0

Answered
Poor imshow image quality
The image is being drawn into a TiledLayout with the default wide padding and tile spacing. A ton of space is being wasted. ...

2 years ago | 0

Question


How to report/flag a user or a ThingSpeak channel?
When I find spammers, I often tend to check their profile to see what else needs cleaned up. Occasionally there are accounts li...

2 years ago | 1 answer | 0

1

answer

Answered
finding 4 neighbor of pixel in grayscale image.
Disregarding edges, the 4-neighbors of a pixel IM(y,x) are obviously %IM(y,x+[-1 1]) % horizontally-adjacent pair %IM(y+[-1 1]...

2 years ago | 0

| accepted

Answered
Input is a valid integer
Assuming the input x is a char vector from input() which represents a numeric scalar: isvalidnumber('56') % positive scalar int...

2 years ago | 0

Answered
Unequal, custom, non-evenly spaced colorbar intervals
It can be done, but it's annoying to do. A lot of people take shortcuts and represent nonuniform intervals with uniform colorba...

2 years ago | 0

Answered
How can one use a variable to set color of a line plot , and use colorbar?
Here's a simpler way to do it using patch(). % the data as given load koordmean load anx % the coordinate data x = koor...

2 years ago | 0

| accepted

Answered
how to use drawcircle methods with centroids array from bwconncomp
You're repeatedly overwriting h before you do anything with it. It's not clear what you expect to happen. If you just want the...

2 years ago | 0

| accepted

Answered
how to plot the data over an image of graph to validate the data?
You can plot things over an image, but good luck guessing whether or not your image features actually line up with the coordinat...

2 years ago | 1

| accepted

Answered
why file did not appear
Maybe it has something to do with that big red error because you created an invalid file name.

2 years ago | 1

Answered
how to get Integrated circuit pads in image?
This is not robust or applicable to other images or types of packages % read the image inpict = imread('https://www.mathworks....

2 years ago | 0

Answered
extracting values from an image with color legend
% the image inpict = imread('https://www.mathworks.com/matlabcentral/answers/uploaded_files/1699336/image.png'); % extract...

2 years ago | 0

| accepted

Answered
Weird Imhist beahviour seen
I don't know where everyone is getting uint12-scale images, but I guess it's a thing. I posted an example which demonstrates th...

2 years ago | 2

Answered
Problem with Imhist method
I saw this last night and threw together a demo when I was making the demos for the webdocs. The majority of the work here was ...

2 years ago | 1

| accepted

Answered
Why does imhist() do this?
We'll see what shakes on the bug report. I was already writing around imhist() in the MIMT tool, expecting to come back and m...

2 years ago | 2

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 years 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 years 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 years 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 years 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 years 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 years 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 years ago | 0

Load more