Borrar filtros
Borrar filtros

How to analyze every single pixels intensity in a video clip?

3 visualizaciones (últimos 30 días)
Hirithar
Hirithar el 10 de Mayo de 2024
Comentada: Image Analyst el 19 de Mayo de 2024
I need help get each single pixel's intensity in a video clip (grayscale). For example, in a video clip containing 150x250 pixels and 1000 frames, I need to obtain the intensity one by one, either row-wise or column-wise.
  4 comentarios
Image Analyst
Image Analyst el 12 de Mayo de 2024
If you have, say, a million pixels in your video frame, you can't do a million line plots. But you can plot the average color or brightness of one, or a few, regions over time. This is what my Answer below does. Did you even see it (scroll down) or try it? If not, why not?
Hirithar
Hirithar el 12 de Mayo de 2024
I downloaded it, I'm a medical student. I'm trying to undestand what the code is, for sure I will let you know. Thanks for the support.

Iniciar sesión para comentar.

Respuestas (2)

Image Analyst
Image Analyst el 11 de Mayo de 2024
See my attached demo where I find the mean R, G, and B mean of every frame in a video and plot them. Adapt the region to what you need, like a single row or column instead of the whole frame.

Hirithar
Hirithar el 17 de Mayo de 2024
I came up with this code for pixel analysis. Could you please take a look?
  3 comentarios
Hirithar
Hirithar el 19 de Mayo de 2024
I'm just picking up the intensity value of a pixel by its coordinates (row, column) to plot a 3-second spectrum. In my case, the frame rate is 30 fps, which means I'm plotting the spectrum for 90 frames.
Image Analyst
Image Analyst el 19 de Mayo de 2024
I strongly suggest that you use all three indexes when referencing a 3-D array.

Iniciar sesión para comentar.

Categorías

Más información sobre Display Image en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by