How to extract non linear picture from JPG file
이전 댓글 표시
I'm new to matlab, anyone guide me to extract the nonlinear picture from a JPG file. I have a JPG file, which has 3 nonlinear picture, I want to extract these three piece of nonlinear picture in my JPG file.
thank you in advance waiting for response.
댓글 수: 3
Walter Roberson
2013년 11월 22일
Could you explain further what you mean by "non-linear picture" ?
Ibrahim Thorig
2013년 11월 22일
Image Analyst
2013년 11월 22일
편집: Image Analyst
2013년 11월 22일
Is there a real world need for you to do this, or is it just a homework exercise? How did you ever come to have pictures of some torn up photograph at oddball angles? If you work in forensics and need to reconstruct a photo that the suspect tore up, this can be done very easily with Photoshop and manual interaction. There is no need to write some complicated program when you don't have to.
답변 (1개)
Walter Roberson
2013년 11월 22일
0 개 추천
The JPEG image format cannot store non-rectangular images. MATLAB cannot store non-rectangular arrays.
What you can do in some cases is to read in rectangular images, and found the visual boundary of them, and construct a "mask" to select only the visual object. See for example http://www.mathworks.com/matlabcentral/answers/76961
카테고리
도움말 센터 및 File Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
