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: 

Mapping with reference pixel

Hi,
    I am attaching an encrypted image.In this image the pixel containing the value 255 is the line reference pixel.That is i need to map the first 255 at 0,0 and the next 255 at 1,1501 and so on.Most importantly if the difference between 2 succucive 255 is not 1500(one line) then i need to fill a value of 200 to complete the line.eg: if i get 255 at 0,0 and the next at 0,1000 then i need to fill the value 200 500 times to complete the value of one line and then map the next 255 at 1,1501.Please Help.
0 Kudos
Message 1 of 4
(2,307 Views)

Please post an image of what you believe the final results should look like.

I'm alomost thinking that a strategic use of "re-shapre array" may help you.

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 2 of 4
(2,288 Views)
Hi,
here is another thread with the same topic, maybe we can concentrate everything in this thread! Smiley Happy
Mike


Message Edited by MikeS81 on 06-19-2008 03:17 PM
0 Kudos
Message 3 of 4
(2,281 Views)

Hi ben and mike,

                            can u please go through this http://forums.ni.com/ni/board/message?board.id=170&thread.id=333120.

 

 

0 Kudos
Message 4 of 4
(2,273 Views)