@lex Posted March 26, 2017 Report Share Posted March 26, 2017 Dear Forum, i get an image from a gige camera (12 bit packed) and Labview create an image buffer with IMAQ create to and I16. so far so good. the next step, i have problems to codeded, i will need an U8 Image type with the only lower byte from the I16 image type. with the IMAQ cast it does work correctly. somthing with the shift operator. Have any other an idea or example who, to get the lower byte from an I16 Image type. need help to understand what do i wrong. best regards Alexander Hallmann lowerbits_02.vi Quote Link to comment
infinitenothing Posted March 27, 2017 Report Share Posted March 27, 2017 I'm not totally clear. You said IMAQ cast is working. Are you trying to reimplement IMAQ cast? Quote Link to comment
smithd Posted March 28, 2017 Report Share Posted March 28, 2017 agreed, unclear. The simplest answer is that if you just want to play with the raw pixel values you can use imaq image to array and array to image. That way you can mess with the integers until you get the result you want and then figure out if there is an imaq function to do it fast. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.