LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

array manupulation

Solved!
Go to solution
From what I can tell, your 8 bit image is already decrypted because each line starts with 255.
 
I thought you were looking for an algoithm that decrypts an encrypted image. You should atttach an encrypted image so we can play.
Message 31 of 42
(1,813 Views)
Hi altenbach,
                       Please check the attachment
Download All
Message 32 of 42
(1,790 Views)
Your "present image.png" is again a 24 bit image.
Message 33 of 42
(1,775 Views)


altenbach wrote:
Your "present image.png" is again a 24 bit image.

Even if I use one of the 8 bit color planes, there is no pixel with 255. All lines end in 254.
Message 34 of 42
(1,762 Views)
Altenbach,
                  The starting pixel value is 255.U can zoom it and see.I am almost through with the project.there was an internal data handling problem in the sync of read/write FIFO (data transfer).Thanx a lot of all your help.


BCL i am indebted to you.Yup thanx
0 Kudos
Message 35 of 42
(1,728 Views)


muks wrote:
The starting pixel value is 255.U can zoom it and see.I am almost through with the project.there was an internal data handling problem in the sync of read/write FIFO (data transfer).Thanx a lot of all your help.

Which picture are you talking about? (You attached so many!)
 
Why don't you attach a small VI and show us how you read it to get a 255 out of it.
Message 36 of 42
(1,721 Views)
Anyway, here is a draft of two algorithms that would do what I understand to be the task at hand. The array version (top) is probably more efficient.
 
 
Message 37 of 42
(1,719 Views)
Altenbach,
                 Can you please post it for lv 8.0?
0 Kudos
Message 38 of 42
(1,707 Views)

Why don't you attach a small VI and show us how you read it to get a 255 out of it.


I am using BCL's vi for alignment
0 Kudos
Message 39 of 42
(1,706 Views)
Here's the 8.0 version to process the U8 2D array (downconverted from 8.5, I hope it worked). Of course you would adjust the "line lenght" to your needs.
 
Just use the same bookend code as BCL to translate between image and 2D array.
Also make sure to wire the color table between unflatten and flatten pixmap.
 
(BCL uses way too much code for the core algorithm and does it very inefficiently because the arrays are constantly resized.)
 
 
Message 40 of 42
(1,672 Views)