Beantwortet
how to divide image into 25 equal parts
If the image geometry is integer-divisible by the tiling, then you can use mat2cell() or direct indexing. Since this question...

mehr als 4 Jahre vor | 0

Beantwortet
How to divide/split RGB image into two parts and second part GRAY and concatenate them in a single image
Dead post, but answering these things is my hobby now. There are many ways to do the same thing, but let's start simple. W...

mehr als 4 Jahre vor | 1

Beantwortet
I have a Folder with subfolders of images. The subfolders consist of .JPG, .jpg and .jfif, I need them all to be converted to a single format and returned to their folders?
At least with the JFIF files I have, imread() has no problem reading them. imageDatastore() ignores them, but throws no error (...

mehr als 4 Jahre vor | 0

Beantwortet
How to change legend entries' order with addaxis function?
Try something like this example: N = 10; HOR = 1:N; D = rand(3,N); for jj=1:9 subaxis(3,3,jj,'MarginRight',0.3,'Margi...

mehr als 4 Jahre vor | 1

Beantwortet
Unable to get the output image for color transfer.
Again, you still haven't actually said what you are trying to do. I don't have your images either, so I can only guess how the...

mehr als 4 Jahre vor | 0

Beantwortet
Is it possible to subplot graphs with 7 y-axis in a figure and how ?
I've used addaxis() before: https://www.mathworks.com/matlabcentral/fileexchange/9016-addaxis ... but it hasn't been maintaine...

mehr als 4 Jahre vor | 0

| akzeptiert

Beantwortet
How to use imwrite with image object?
Unless you can find somewhere (e.g. in metadata) to cram the x,y extent vectors, then you may have to store them somewhere separ...

mehr als 4 Jahre vor | 0

Beantwortet
How do I find the X and Y coordinates of image (want to plot this figure)
To paraphrase prior answers to similar questions: If you want the original data, you're out of luck. It's gone. Simply put, t...

mehr als 4 Jahre vor | 0

Beantwortet
CRT gamut solid
This wasn't available in 2012, but for anyone looking today, MIMT (on the File Exchange) has a tool that's made for this. The c...

mehr als 4 Jahre vor | 1

Beantwortet
How to create contour plot to show height?
You can always try just using griddata() S = load('scattered.mat'); % load scattered data n = 100; x = linspace(min(S.x),ma...

mehr als 4 Jahre vor | 0

| akzeptiert

Beantwortet
How do I find the first of the shortest words in a sentence?
You're not too far off. Tools like min(), max(), find(), etc support the output of the associated index. s = "The quick brow...

mehr als 4 Jahre vor | 0

| akzeptiert

Beantwortet
Can I convert one image in grayscale to monochrome?
One doesn't normalize data by subtraction. The process as described is common except for that one misunderstanding: A = imread...

mehr als 4 Jahre vor | 0

Beantwortet
Why binary images are not stored as logical when imwrite is used with .jpg file extension
From the documentation: https://www.mathworks.com/help/matlab/ref/imwrite.html#mw_0762e49f-e3b0-4b66-bcfb-0ef235680b4f For gra...

mehr als 4 Jahre vor | 0

Beantwortet
Need to calculate continuous pixels of all the dark regions.
My hardware limits how easily I can manage images that large, but I managed. The whole of the code needs cleanup to make this...

mehr als 4 Jahre vor | 0

Beantwortet
Image Background Overlay Color Changes Why Does It happen?
Dead post, I know. I just love talking to ghosts. Since no source images were ever provided, this was never a directly answera...

mehr als 4 Jahre vor | 0

Beantwortet
How to reduce random pixel colours in shape and try to blend them together or convert them to average of neighbouring pixels?
Depending on what you're trying to do and what you expect, look at: imfilter() and fspecial() for various averaging filters im...

mehr als 4 Jahre vor | 0

Beantwortet
How to change the size of a image, which is saved as a .mat file?
Since a .mat file can contain any number of things, I'm going to have to assume that: you know what's in the file and how to op...

mehr als 4 Jahre vor | 0

Beantwortet
Is it possible to use a function of Matlab toolbox without installing the tolboox itself?
You can just use basic tools to wrap angles. A = -360:40:360 B1 = wrapTo360(A) B2 = mod(A,360); mask = A>0 & B2==0; B2(mask...

mehr als 4 Jahre vor | 1

| akzeptiert

Beantwortet
RGB to LAB converting to a weird colour
Image viewing/reading/writing tools are generally only capable of handling either single-channel grayscale images, single-channe...

mehr als 4 Jahre vor | 0

| akzeptiert

Beantwortet
How to Split image based on a blue line in image - so i want to split image into 2 and the cut should be where a blue line is in the image.
Here's this. I'm going to assume that gaps represent a transition between relevant and irrelevant data. If that's not the case...

mehr als 4 Jahre vor | 0

Beantwortet
How to not display RGB values?
If you're using the "inspect pixel values" button in imtool(), then that's just calling impixelregion(). You should be able t...

mehr als 4 Jahre vor | 0

Beantwortet
is it possible to add/paint multiple colors(more than 100 up to 10000) to an RGBA image in MATLAB?
First off, a reminder that this is all using MIMT tools. One way would be to do a simple hue rotation to create a series of mod...

mehr als 4 Jahre vor | 1

| akzeptiert

Beantwortet
how to solarize and remove background of image
Two things: The thing you're doing here %solar = uint8(255-I3); is not solarization. This is just the additive inverse or co...

mehr als 4 Jahre vor | 0

| akzeptiert

Beantwortet
Bar plot with a hatched fill pattern
You'd want to avoid hatchfill(). That's so old that it predates the current graphics system. Things like contour and bar plots...

mehr als 4 Jahre vor | 6

| akzeptiert

Beantwortet
How to extract the hand out of the background? (homework assignment)
If you're trying to create the composite image: FG = imread('https://www.mathworks.com/matlabcentral/answers/uploaded_files/924...

mehr als 4 Jahre vor | 0

| akzeptiert

Beantwortet
What is missing from MATLAB #2 - the next decade edition
I'm going to be a weirdo and say that I would like it if imshow() supported IA and RGBA inputs. I'm probably the only person wh...

mehr als 4 Jahre vor | 0

Beantwortet
How can I stack images from multiple folders?
As far as I know, nothing in MATLAB or IPT directly supports images with alpha, though you can certainly tote alpha around as a ...

mehr als 4 Jahre vor | 0

| akzeptiert

Beantwortet
Problem of using "imagesc" function
You need to reorient the data. You could use permute(), or you can do it with squeeze(): imagesc(imgaussfilt3(max(squeeze(img(...

mehr als 4 Jahre vor | 0

Beantwortet
How to do background Substraction for any RGB-image image using Matlab ?
You ask for two things: a means to segment a leaf image and a means to segment any image. It should be obvious that the latter...

mehr als 4 Jahre vor | 0

| akzeptiert

Beantwortet
Apply imfilter on specific regions (ROI) of RGB-image
The output image is class 'double', and you're storing uint8-scale data in it. It will be improperly-scaled for its class and w...

mehr als 4 Jahre vor | 0

Mehr laden