ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

RGB denoising

Solved!
Go to solution

 

I have an RGB image with some noise I want to filter.

I want to do that by using Daubechie's wavelet.

the idea is to decompose the image to the R,G,B fields, wavelet transform for each, pass through a threshold and then recompose.

my problem at the moment is that when I try to perform the built-in Daubechie wavelet transform to any of the field array ( R,G,or B) I get zeros as result (the array is not empty).

 

any insights on how it should be done?

0 Kudos
Message 1 of 12
(4,273 Views)

Hello, nihm,

 

could you send your vi?

 

@+

Tinnitus

 

CLAD / Labview 2011, Win Xp
------------------------------------------------------
Mission d'une semaine- à plusieurs mois laissez moi un MP...
RP et Midi-pyrénées .Km+++ si possibilité de télétravail

Kudos always accepted / Les petits clicks jaunes sont toujours appréciés
Don't forget to valid a good answer / pensez à valider une réponse correcte
0 Kudos
Message 2 of 12
(4,269 Views)

nothing really compilcated

 

first image I decompose the image (checked it, it's ok)

second - trying the wavelet transform

 

 

Download All
0 Kudos
Message 3 of 12
(4,265 Views)
I forgot to add, that as far as I can see the error is just after the wavelet transform. nothing comes out, therefor what follws doesn't work (is there an edit option to messages?? couldn't find it)
0 Kudos
Message 4 of 12
(4,258 Views)

Hello,

 

did you try to connect error terminal? to see if there is one

 

is your X entry a 2 power lenght ?

 

 ps : you can edityour message few minutes ( i don't know how 2-3) after posted : option-edit...

 

@+

 

Tinnitus

 

Message Edité par tinnitus le 01-28-2009 10:33 AM
CLAD / Labview 2011, Win Xp
------------------------------------------------------
Mission d'une semaine- à plusieurs mois laissez moi un MP...
RP et Midi-pyrénées .Km+++ si possibilité de télétravail

Kudos always accepted / Les petits clicks jaunes sont toujours appréciés
Don't forget to valid a good answer / pensez à valider une réponse correcte
0 Kudos
Message 5 of 12
(4,251 Views)

how do I check if it's a power of 2 length??

I didn't change anything in the image (except decomposing)

0 Kudos
Message 6 of 12
(4,240 Views)

by definition wavelet decomposes signal by 2 by 2by 2....

 

length tools could be find in array palette then enlarge indicator to see both dimension

 

@+

 

Tinnitus

 

CLAD / Labview 2011, Win Xp
------------------------------------------------------
Mission d'une semaine- à plusieurs mois laissez moi un MP...
RP et Midi-pyrénées .Km+++ si possibilité de télétravail

Kudos always accepted / Les petits clicks jaunes sont toujours appréciés
Don't forget to valid a good answer / pensez à valider une réponse correcte
0 Kudos
Message 7 of 12
(4,236 Views)
so, do I need the size of the 1-D array to be a power of 2, or just even??
0 Kudos
Message 8 of 12
(4,234 Views)

power of 2...

 

did you connect erreur terminal ?

 

 

CLAD / Labview 2011, Win Xp
------------------------------------------------------
Mission d'une semaine- à plusieurs mois laissez moi un MP...
RP et Midi-pyrénées .Km+++ si possibilité de télétravail

Kudos always accepted / Les petits clicks jaunes sont toujours appréciés
Don't forget to valid a good answer / pensez à valider une réponse correcte
0 Kudos
Message 9 of 12
(4,218 Views)

 

The error I'm getting is -23053, and the size of the array is not a power of 2.

 

I'm guessing I should create a ROI which is a power of 2 and then do the filtering, or something like that??

 

(and thank you for taking the time to help me)

0 Kudos
Message 10 of 12
(4,202 Views)