Réponse apportée
Creating a bounding box that is not a perfect rectangle
As Matt says, it depends what you intend to do with the image region. If all you intend to do is some sort of color analysis, t...

environ 3 ans il y a | 1

| A accepté

Réponse apportée
Distance of rgb pixel from each pixel of image
For RGB distance between a single pixel and the image mean: % a small bit of a test image inpict = imread('peppers.png'); inp...

environ 3 ans il y a | 0

Réponse apportée
change the range of your sections in your colormap
When I answered this question, I was a bit hasty, as I thought I had seen a good example but couldn't find it. Well, it's days ...

environ 3 ans il y a | 1

Réponse apportée
How to customize Colorbar on map?
You should be able to set the axes colorscale to log. % some fake data x = linspace(0,1,100); y = x.'; Z = 20*10.^(y-1) .* x...

environ 3 ans il y a | 0

Réponse apportée
inserting image.png in gui with transparent background
Your images have alpha content, but you're not reading any of it or using it. Instead of blindly trying to reconstruct the alph...

environ 3 ans il y a | 0

Réponse apportée
Transparent figure window for real-time projection
Last I heard, the answer was no. https://undocumentedmatlab.com/articles/transparent-matlab-figure-window https://www.mathwork...

environ 3 ans il y a | 0

Réponse apportée
Distance between pixels and axes in a image
Consider the example: % a binarized image inpict = imread('monojagblob.png'); mask = imbinarize(inpict); imshow(mask) % pad...

environ 3 ans il y a | 0

| A accepté

Réponse apportée
i have done segmentation of image using ''createMask'' function which is mentioned below. now how can i get back the original image that is by desegmentation. thank you in advanced . reply as earliest possible
If you can run the above code, then you necessarily already have the thing you want. If the original image is lost and all you ...

environ 3 ans il y a | 0

Réponse apportée
change the range of your sections in your colormap
If nothing else, % some data x = linspace(-pi,pi,100); y = x.'; Z = cos(x).*sin(y); % idk how your H is defined, so i'm ...

environ 3 ans il y a | 0

| A accepté

Réponse apportée
How can I plot 18 lines in different colors on a single plot?
In versions prior to R2019b, you can always set the axes property without the colororder() function. % some fake data x = lins...

environ 3 ans il y a | 0

| A accepté

Réponse apportée
I would like to rename a 100 jpg images name at once
http://matlab.wikia.com/wiki/FAQ#How_can_I_process_a_sequence_of_files.3F https://www.mathworks.com/matlabcentral/answers/13228...

environ 3 ans il y a | 0

Réponse apportée
How to automatically crop region of an object in an image with a bounding box
I don't know what parts of the image may vary between frames. Particularly, whether the object always appears with a similar si...

environ 3 ans il y a | 0

| A accepté

Réponse apportée
How to change background color with imrotate function?
Modifying or Replacing imrotate() I don't think reimplementing or modifying imrotate() is the easier solution, especially for a...

environ 3 ans il y a | 2

Réponse apportée
How to get the RGB values of each point on a surface when illuminated by 'light' objects?
In a sense, this is a non-serious answer, but perhaps consider this as tangential commentary. For what it's worth, this is what...

environ 3 ans il y a | 0

Réponse apportée
Median filter for rgb images
If you want something akin to medfilt2() that works with multichannel images, then you have a few options. % an RGB uint8 ima...

environ 3 ans il y a | 0

Réponse apportée
polarscatter point color stroke that changes according to the value of the point
What is the size of the value at the given points? If you have that, you can use that for mapping the color as described in the...

environ 3 ans il y a | 0

| A accepté

Réponse apportée
How to get the RGB values of each point on a surface when illuminated by 'light' objects?
I don't have exportgraphics(), and I can't seem to ever get predictably-clean (i.e. unpadded) results from saveas or print, so I...

environ 3 ans il y a | 1

| A accepté

Réponse apportée
Adaptive median filter
Synchronicity is strange. After seeing this one question a month ago, I kept seeing similar threads in the following days. The...

environ 3 ans il y a | 1

Réponse apportée
How to rotate the image without using the imrotate option...
If you don't have IPT, MIMT imrotateFB() will work, and the syntax is similar. It will run faster with IPT available, but will ...

environ 3 ans il y a | 0

Réponse apportée
How to obtain specific located objects in binary image ?
There are multiple ways this can be done, but bwselect() is a convenient way, especially when the desired output is the union of...

environ 3 ans il y a | 0

Réponse apportée
Using the find function to check if the numbers in an array are divisible by a given number
Using find() here is doesn't break anything, but it's not necessary except for one side benefit. Consider the examples: % inte...

environ 3 ans il y a | 0

| A accepté

Réponse apportée
Can I change certain colors within an image to another color?
The attached function is simple, but it works. It works by considering a specified RGB tuple and doing a range (box) selection ...

environ 3 ans il y a | 0

Réponse apportée
Change color from a circle form in an image
I'm just going to throw this out there as one idea. You could also pick colors in a region near the known center (if you can re...

environ 3 ans il y a | 0

Réponse apportée
colourizatin of black and white video
Since this is going nowhere fast, I'll just take it one step past nowhere to illustrate the point. Here is an example showing s...

environ 3 ans il y a | 0

Réponse apportée
Compare each element of a vector with a number and if the element of the vector is higher than the number then replace that element with the number
Like so Av=[5;4;6.7;5.5;12;5.4;7] Av = min(Av,6)

environ 3 ans il y a | 0

| A accepté

Réponse apportée
Why is matlab reading some images in rotated by 90 degrees?
If you're loading photographs from a digital camera (which is what that looks like), this is a likely outcome. Imread() does no...

environ 3 ans il y a | 2

Réponse apportée
how can I remove the black mask from the image?
I'm sure there are multiple ways to approach this, but here's one. In this case, the rectangle is clearly darker than the rest ...

environ 3 ans il y a | 0

Réponse apportée
A program algorithm to change the values of brightness and contrast of an image, it must be simple
The normal answer will be to use imadjust(). IPT imadjust is a basic tool for adjusting input/output levels and gamma. (5 para...

environ 3 ans il y a | 0

Réponse apportée
Applying Mask (elliptical shape) on contourf plots.
One way would be to use ROI tools if you have those. % some arbitrary surface data [x y z] = peaks(100); % show the conto...

environ 3 ans il y a | 0

| A accepté

Réponse apportée
Dimensions of arrays being concatenated are not consisten on workspace
Here, you're concatenating the object areas to form a variable-length row vector. area = cat(2,s.Area); Here, you're trying to...

environ 3 ans il y a | 0

Charger plus