Image with Horizontal Longitudinal View

조회 수: 2 (최근 30일)
Arsalan Akbar
Arsalan Akbar 2018년 4월 26일
댓글: Arsalan Akbar 2018년 5월 3일

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
Walter Roberson
Walter Roberson 2018년 4월 26일
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 2018년 4월 26일
yes. Its save in 4D array

댓글을 달려면 로그인하십시오.

채택된 답변

Guillaume
Guillaume 2018년 4월 26일
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
Arsalan Akbar
Arsalan Akbar 2018년 5월 3일
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 2018년 5월 3일
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

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Convert Image Type에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by