From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

MAKE AN IMAGE USING A FUNCTION

HI genius....

i want to make an image using the function 1/cos(RotAngle).The image will look like i have attached below.

faithfully.

akhil...

IamAKR
0 Kudos
Message 1 of 6
(2,253 Views)

Hi Ragil,

 

the attached image just shows black/white stripes.

How is this related to "making the image using 1/cos(Angle)"???

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 6
(2,236 Views)

Are you saying you want to rotate the image using a rotation matrix?

0 Kudos
Message 3 of 6
(2,229 Views)

ya....

i want rotate this image using that equation.!!

IamAKR
0 Kudos
Message 4 of 6
(2,216 Views)

Hi Ragil,

 

why don't you say so in the first place…

 

Did you search the forum for "rotate an image"?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 5 of 6
(2,203 Views)

Convert your image to a matrix. Construct a rotation matrix of the same dimensions as your image (assuming your image is square). Insert 1/cos(theta) as your rotation angle. Multiply them together and your done.

0 Kudos
Message 6 of 6
(2,189 Views)