필터 지우기
필터 지우기

How do i export to blender?

조회 수: 44 (최근 30일)
Rey Kelvin Peralta
Rey Kelvin Peralta 2015년 8월 23일
댓글: Pierre 2023년 6월 15일
I have this code:
y = rgb2gray(imresize(imread('DSC_0009.jpg'),.2));
z = 255.0 - 1.0 * double(y);
z = z ./5 ;
z2 = imfilter(z, fspecial('average', 15));
z2(z2 > 35) = 35;
z2(z2 < 30) = 0;
surface(z2);
shading interp;
axis ij;
axis tight;
Can i ask help to make the output file of this be converted into a format that blender can read? i am trying to make a 3d model.
please help me.
  댓글 수: 2
Walter Roberson
Walter Roberson 2015년 8월 26일
In a duplicate question you asked about using saveobjmesh.m
Rena Berman
Rena Berman 2017년 1월 24일
(Answers dev) Restored question.

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

답변 (1개)

Walter Roberson
Walter Roberson 2015년 8월 26일
[X,Y] = ndgrid(1:size(y,1), 1:size(y,2));
saveobjmesh(X, Y, z2);
  댓글 수: 1
Pierre
Pierre 2023년 6월 15일
I'm afraid this does not run on recent Matlab versions (tried on 2022b).

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

카테고리

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