Image with Horizontal Longitudinal View

2 visualizaciones (últimos 30 días)
Arsalan Akbar
Arsalan Akbar el 26 de Abr. de 2018
Comentada: Arsalan Akbar el 3 de Mayo de 2018

Hi. I'm new in image processing. I have a multi frame image which consist of 271 frames . and i want to cut each slice to get longitudinal view as shown in attached figure. I have the upper portion of image . and want to get lower view . any one please help me

  4 comentarios
Walter Roberson
Walter Roberson el 26 de Abr. de 2018
Please recheck the bounds and sizes. 0 to 271 is 272 different values. 0 to 360 is 361 different values.
When the slicing is done, is the location to be specified as an index, or is it to be specified by value that might not happen to correspond exactly to an index? If it is by value that might be between the locations of two stored locations, then should the nearest location be taken or should linear interpolation be used to blend the adjacent locations?
Arsalan Akbar
Arsalan Akbar el 26 de Abr. de 2018
yes. Its save in 4D array

Iniciar sesión para comentar.

Respuesta aceptada

Guillaume
Guillaume el 26 de Abr. de 2018
If I understood correctly. The multiframe image is greyscale or indexed, since each image is 2D, and the frame are the pages of a 3D matrix. From that you want a slice of each frame, a single column of each image, concatenated together horizontally as a single image. If so:
sliceimage = permute(yourmultiframeimage(:, slicecolumn, :), [1 3 2]);
  18 comentarios
Arsalan Akbar
Arsalan Akbar el 3 de Mayo de 2018
its a gray scale image and i have change the code to 3d but again the output is wrong . here i have attached the output image
Arsalan Akbar
Arsalan Akbar el 3 de Mayo de 2018
I have a gray scale image .which consist of 271 frames . i created a 3D array and store all the frame in that array . after it i take one frame cut it with some angle and get its longitudinal view . store it and goes to next frame. i dont know this approach is good or not

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Convert Image Type 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