06-21-2012 05:08 PM
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
06-21-2012 05:54 PM
@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...
06-22-2012 03:13 AM
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.
06-22-2012 06:53 AM
Might want to see a doctor about that cough.
06-22-2012 08:48 AM
Here is one solution:
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
06-22-2012 09:38 AM - edited 06-22-2012 09:40 AM
Oh come on now. The work can be as easy as this:
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
06-22-2012 10:00 AM
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.
06-22-2012 10:03 AM - edited 06-22-2012 10:03 AM
06-22-2012 10:08 AM
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
06-22-2012 10:09 AM - edited 06-22-2012 10:10 AM
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