Image with Horizontal Longitudinal View

2 Ansichten (letzte 30 Tage)
Arsalan Akbar
Arsalan Akbar am 26 Apr. 2018
Kommentiert: Arsalan Akbar am 3 Mai 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 Kommentare
Walter Roberson
Walter Roberson am 26 Apr. 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 am 26 Apr. 2018
yes. Its save in 4D array

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Guillaume
Guillaume am 26 Apr. 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 Kommentare
Arsalan Akbar
Arsalan Akbar am 3 Mai 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 am 3 Mai 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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Convert Image Type finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by