BreakPoint

cancel
Showing results for 
Search instead for 
Did you mean: 

Simple LabVIEW Puzzle Challenge

It's not that difficult to figure out what the method is. Quite reasonable. I'm sure there are plenty of ways to do this.

 

Rob

Message 111 of 192
(3,619 Views)

@ShotSimon wrote:

The next Simple Labview Puzzle Challege (infact the first for 2012) involves images, specifically image cryptography.  And no you don't need IMAQ to solve it.  In fact the the base LabVIEW package should be plenty.  You get two images...that's it.  Find the secret message.  I ask if you decode it don't show everyone...just send along a cryptic message that shows me you solved it.  The prize is in the message:)


Why must I be punished so...


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 112 of 192
(3,609 Views)

Are you suggesting that I used Google to find the answer?

 

Also, please make it easier to read next time. It actually took me longer to read that than to come up with the answer. It also took longer to figure out which output to use.


___________________
Try to take over the world!
Message 113 of 192
(3,585 Views)

Might want to see a doctor about that cough.

Message 114 of 192
(3,573 Views)

Here is one solution:

 

Lone Ranger.png

 

If you would like to make your own I used this site:  http://leemon.com/crypto/VisualCrypto.html

And no I did not pick the font, but I did pick a size that would be hard to print out and see on a sun lit window.

-SS

 

 



0 Kudos
Message 115 of 192
(3,564 Views)

Oh come on now. The work can be as easy as this:

 

ImageCrypto.png

 

At least, that's the way I did it. Downloaded the two pictures and then just loaded them and XORed them.

 

But then my first test was to load them into GIMP with the second picture used as a mask for the first (XOR).

 

Do you really need the while loop that only runs once?

 

Rob

Message 116 of 192
(3,555 Views)

Rob's snippet is more like what I did to get the answer.

 

What I found interesting is that using AND also gave readable results.  So did using OR.  That kind of surprised me.  Must be something in the algorthim that dithers the pixels.

Message 117 of 192
(3,543 Views)

Yep I Rube Goldberg'd it.  You will have to make a simple GIMP totorial on MASK's even though this is a LabvIEW forum, Gimp is a great tool.  -SS

 

Lone Ranger2.png



0 Kudos
Message 118 of 192
(3,541 Views)

Ravens Fan,

Well I can share with you that when the website generates the pictures I was not able to save the images since they are really an array of images.  So I screen shot them with paint and saved them as *.png's (the images I shared).  Maybe we are off by one in one algorith vs. the other somehow.

-SS



0 Kudos
Message 119 of 192
(3,538 Views)

Yes, I love using GIMP. And it's my favorite price: free.

 

I use GIMP for building custom graphics for controls and, before we had the new icon editor, I used GIMP with a palette restricted to the colors used in the LabVIEW palettes to build my icons.

 

GIMP's ability to create a graphic directly from the clipboard is very handy too.

 

Rob

Message 120 of 192
(3,536 Views)